summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-01-18 22:08:48 +0000
committerSam James <sam@gentoo.org>2021-01-18 22:57:46 +0000
commit9fb27243e8e46551d3590edaf6f33e4d55f1fce2 (patch)
tree51349efdce46ce8b4f69c55e1bdda308f1619710 /dev-util/colm
parentsci-libs/eccodes: bump to newer upstream release (diff)
downloadgentoo-9fb27243e8e46551d3590edaf6f33e4d55f1fce2.tar.gz
gentoo-9fb27243e8e46551d3590edaf6f33e4d55f1fce2.tar.bz2
gentoo-9fb27243e8e46551d3590edaf6f33e4d55f1fce2.zip
dev-util/colm: bump to 0.14.6
* Bump to 0.14.6 for critical big endian fix * Add needed dev-python/pygments doc * Allow dev-ruby/asciidoctor too * Restores static libs and .la files: * needed at build time by colm * needed at runtime by ragel Thanks-to: Ingo Brunberg <ingo_brunberg@web.de> Bug: https://bugs.gentoo.org/766039 Closes: https://bugs.gentoo.org/733426 Closes: https://bugs.gentoo.org/677070 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/colm')
-rw-r--r--dev-util/colm/Manifest1
-rw-r--r--dev-util/colm/colm-0.14.6.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-util/colm/Manifest b/dev-util/colm/Manifest
index 32271f5380c1..3f1b2604b2d3 100644
--- a/dev-util/colm/Manifest
+++ b/dev-util/colm/Manifest
@@ -2,3 +2,4 @@ DIST colm-0.13.0.4.tar.gz 707983 BLAKE2B a6b03f24ebe8bf44dbb17b6bd3f545a33b58883
DIST colm-0.13.0.5.tar.gz 736026 BLAKE2B 75fb1748495ead2ac5527ce040efb76de264e10b6562c4af734735f5aa25f53fc12260cbe52f019ff04c5117155aeb96358771f20b3e02012639a08527a54d98 SHA512 c5a1228260327d65c2cb5821fbc583608e2a308927b04cb0e7dbc84bced60d0d62892b4e30aa2228fee0d08f6828dc58d88788340433bc5bba9d503977883fc9
DIST colm-0.13.0.6.tar.gz 739981 BLAKE2B e5b00bc276fa3414cc9ec557a6e4ca93194f86cd6b3b1ad11611352962da1ef68aa1acd4aa62d47495ba04313dcc52e2a17588fefabf51572d19826c7bb70fe8 SHA512 5bcf2d7ff78e523385294f338a8c057807b416b2922e002311fcd8027132504f1aa99bc4dde2c4ea7ddbbc8806fddefda57f8a16f6d5c91a9c47566f86339c81
DIST colm-0.13.0.7.tar.gz 746841 BLAKE2B 7f816bafc0d1a7ea826b6cc2f5bd5fa2bffcd0eca88d5eaab757201481804dc5fa6c80fa19a550ebd9ee50a00a621690c4eed1788e0d0d3dd600db95ed8240d3 SHA512 d15cc6afeeacc4f34171261e75a7daa285529b98940272566ca6d6661d0778b18930ca72e0bce8d0a56c36c3482adfe4375c32ec66d6e77ee32544bddf35024d
+DIST colm-0.14.6.tar.gz 3110298 BLAKE2B 430c508ff9db27821baca12a458024cb2caecf2879ac3780fa6ebbc37bed30d3faf68515f21c9b31bd5f1504ab03b5ea63a24812f7117515c63261b8d1683e27 SHA512 a783817f9d348a79e93cac54c042e8366a73df287c14221b9e4a7b963385c1e32eb54d6918d0822b271dc2a0420abce84a3e1a3c9ada84968d1c20178d0310ad
diff --git a/dev-util/colm/colm-0.14.6.ebuild b/dev-util/colm/colm-0.14.6.ebuild
new file mode 100644
index 000000000000..7ff5eff90c44
--- /dev/null
+++ b/dev-util/colm/colm-0.14.6.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="COmputer Language Manipulation"
+HOMEPAGE="https://www.colm.net/open-source/colm/"
+SRC_URI="https://www.colm.net/files/${PN}/${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-python/pygments
+ )
+"
+
+src_prepare() {
+ default
+
+ # bug #733426
+ sed -i -e 's/(\[ASCIIDOC\], \[asciidoc\], \[asciidoc\]/S([ASCIIDOC], [asciidoc asciidoctor]/' configure.ac || die
+
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable doc manual)
+}
+
+src_test() {
+ # Build tests
+ default
+
+ # Run them
+ cd test || die
+ ./runtests || die
+}
+
+src_install() {
+ default
+
+ # NOTE: dev-util/ragel needs the static libraries
+ # and .la files, unfortunately.
+}