From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1253509-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8FE1D13835A for <garchives@archives.gentoo.org>; Sun, 21 Feb 2021 08:02:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 98559E083B; Sun, 21 Feb 2021 08:02:50 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 82FB2E083B for <gentoo-commits@lists.gentoo.org>; Sun, 21 Feb 2021 08:02:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 245B733BE5A for <gentoo-commits@lists.gentoo.org>; Sun, 21 Feb 2021 08:02:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 492C153 for <gentoo-commits@lists.gentoo.org>; Sun, 21 Feb 2021 08:02:47 +0000 (UTC) From: "Sam James" <sam@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org> Message-ID: <1613894562.9bf8fa214188de701ecab444a08baa360e3c1f34.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/colm/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/colm/Manifest dev-util/colm/colm-0.14.7.ebuild X-VCS-Directories: dev-util/colm/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 9bf8fa214188de701ecab444a08baa360e3c1f34 X-VCS-Branch: master Date: Sun, 21 Feb 2021 08:02:47 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 77b9485d-8600-4294-98af-5bdef6113b42 X-Archives-Hash: a62954db5d72e130431d3a30993e0682 commit: 9bf8fa214188de701ecab444a08baa360e3c1f34 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Feb 21 07:54:20 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Feb 21 08:02:42 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bf8fa21 dev-util/colm: bump to 0.14.7 See: https://github.com/adrian-thurston/ragel/issues/63 Closes: https://bugs.gentoo.org/766327 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-util/colm/Manifest | 1 + dev-util/colm/colm-0.14.7.ebuild | 58 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/dev-util/colm/Manifest b/dev-util/colm/Manifest index 54fc8a2c206..f64fc201bd3 100644 --- a/dev-util/colm/Manifest +++ b/dev-util/colm/Manifest @@ -1,2 +1,3 @@ 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 +DIST colm-0.14.7.tar.gz 3110831 BLAKE2B c8be14001e8dc3340f5c55fbf8140b86237ec9462699e417f618cf44c759307eda0ede9f7a9ef897f5b8bc51d1fdf8b7360872a30b4cf07ba8191e405940030c SHA512 a5702cb8202599c75f4f4c1975d02e398f1394826f01b86039bd53a34f3ca250a7250d043a430ce6a383e6ca854fe4c72305891ab98c5f3d0ce54192423b7627 diff --git a/dev-util/colm/colm-0.14.7.ebuild b/dev-util/colm/colm-0.14.7.ebuild new file mode 100644 index 00000000000..827e3f051e7 --- /dev/null +++ b/dev-util/colm/colm-0.14.7.ebuild @@ -0,0 +1,58 @@ +# 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 + ) +" +# libfsm moved from ragel -> colm, bug #766108 +RDEPEND="!<dev-util/ragel-7.0.3" + +src_prepare() { + default + + # bug #733426 + sed -i -e 's/(\[ASCIIDOC\], \[asciidoc\], \[asciidoc\]/S([ASCIIDOC], [asciidoc asciidoctor]/' configure.ac || die + + # bug #766069 + sed -i -e "s:gcc:$(tc-getCC):" test/colm.d/gentests.sh || die + sed -i -e "s:g++:$(tc-getCXX):" test/colm.d/gentests.sh || 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. + # (May have better luck if we use the CMake port?) +}