diff options
author | Sam James <sam@gentoo.org> | 2021-01-18 22:56:04 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-01-18 22:57:46 +0000 |
commit | ebce5ce15ff3205035359cece6d9b547affe4af1 (patch) | |
tree | 98fe20cf5d3d43c1e1324309ba0444d21b4cb176 /dev-util/ragel | |
parent | dev-util/colm: bump to 0.14.6 (diff) | |
download | gentoo-ebce5ce15ff3205035359cece6d9b547affe4af1.tar.gz gentoo-ebce5ce15ff3205035359cece6d9b547affe4af1.tar.bz2 gentoo-ebce5ce15ff3205035359cece6d9b547affe4af1.zip |
dev-util/ragel: bump to 7.0.3
* Bump to 7.0.3 for critical big endian fix
* Similar doc dependency changes as with colm
Bug: https://bugs.gentoo.org/677070
Bug: https://bugs.gentoo.org/733426
Closes: https://bugs.gentoo.org/766039
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/ragel')
-rw-r--r-- | dev-util/ragel/Manifest | 1 | ||||
-rw-r--r-- | dev-util/ragel/ragel-7.0.3.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-util/ragel/Manifest b/dev-util/ragel/Manifest index 6cce5686285d..07b02ebcb951 100644 --- a/dev-util/ragel/Manifest +++ b/dev-util/ragel/Manifest @@ -2,3 +2,4 @@ DIST ragel-6.10.tar.gz 1232993 BLAKE2B 401e7a53b062ecd7ec98337866eb2dc0af0ac90e5 DIST ragel-7.0.0.10.tar.gz 779503 BLAKE2B 2f7b8bb858555719b0c7afa8209be76fd07f9d06a8f75df723211c48d59f50c21f09a1f1fa031d53e434db933d1bc12299c75d8932485e5a43eccef7506667ad SHA512 2d1d4c469d8581239ec21f128e94ab452b398903302f82ef59ce03d6fb89bc89de6441dbe53ea99d7689866f7aec485ab1ec9c537908f21eb1394650b55413ba DIST ragel-7.0.0.12.tar.gz 1543127 BLAKE2B c3024c55eb5397f78159da83e318923529d3c1f10cc802564ac13c39b18c261166e27e4f315bbaa49e7eb9afa6840ca72aa62d7ae14d46f20865db64e3ab6759 SHA512 32ec90eddfd209e50995f21b9a5fcddd2b94279828227d367d990d7bfa8e4412682631d4e6ae5081871bac23d96153b96fb4494b991c70bf38df8cc0ddc8866d DIST ragel-7.0.0.9.tar.gz 850078 BLAKE2B 0e7d458e9f78fc7e0fb2e9a0c6fdd3f3789a9104f4441bc878ac64d077dee716e27d3a54c3898fcf1e4ba56b8d46d956a36b92258750f2541fd96f951038d852 SHA512 87de7d41af4a08f09d422a0e58820f9b5b1218acc4733c58690feea4f872790813b5f2d7505ce147a2a6e1bcd341926c35fed7c6b55f543bdf864b119868bcde +DIST ragel-7.0.3.tar.gz 1656577 BLAKE2B 3a9ce560894714a3801039fb944d3c914f2647a0b76bba4a7b790f8d569eb2e9eb807ab4d8af067560b274692be2d98c5dc28632e11c853893971585e847d48e SHA512 16bcb4b44a3ca94918d6c3e4bce468620cc691bf74cb69f0a264c41cbcffd595f897aa18e300952b60a68e680e1223532bbf9e500168d35d92a6559c190f6e78 diff --git a/dev-util/ragel/ragel-7.0.3.ebuild b/dev-util/ragel/ragel-7.0.3.ebuild new file mode 100644 index 000000000000..7620cc9956c6 --- /dev/null +++ b/dev-util/ragel/ragel-7.0.3.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="Compiles finite state machines from regular languages into executable code" +HOMEPAGE="https://www.colm.net/open-source/ragel/" +SRC_URI="https://www.colm.net/files/ragel/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="doc" + +BDEPEND=" + doc? ( + || ( app-text/asciidoc dev-ruby/asciidoctor ) + dev-texlive/texlive-latex + dev-python/pygments + media-gfx/transfig + ) +" +DEPEND="~dev-util/colm-0.14.6" +RDEPEND="${DEPEND}" + +src_prepare() { + default + + # Fix hardcoded search dir + sed -i -e "s:\$withval/lib:\$withval/$(get_libdir):" configure.ac || die + + # Allow either asciidoctor or asciidoc + # bug #733426 + sed -i -e 's/(\[ASCIIDOC\], \[asciidoc\], \[asciidoc\]/S([ASCIIDOC], [asciidoc asciidoctor]/' configure.ac || die + + eautoreconf +} + +src_configure() { + econf \ + --with-colm="${EPREFIX}/usr" \ + $(use_enable doc manual) +} + +src_install() { + default + + insinto /usr/share/vim/vimfiles/syntax + doins ragel.vim + + find "${ED}" -name '*.la' -delete || die +} |