commit:     9fb27243e8e46551d3590edaf6f33e4d55f1fce2
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 18 22:08:48 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jan 18 22:57:46 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fb27243

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 <AT> 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 <AT> gentoo.org>

 dev-util/colm/Manifest           |  1 +
 dev-util/colm/colm-0.14.6.ebuild | 51 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/dev-util/colm/Manifest b/dev-util/colm/Manifest
index 32271f5380c..3f1b2604b2d 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 00000000000..7ff5eff90c4
--- /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.
+}

Reply via email to