summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-08-22 10:19:54 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-08-22 10:20:36 +0100
commitb31b3d9879b4839bd2fa7acda26c8813b54b27ce (patch)
tree2b51cbdb407492703b238c6de7e7a65cfc8cb06d /dev-util/re2c
parentdev-python/docutils: Remove old (py2) (diff)
downloadgentoo-b31b3d9879b4839bd2fa7acda26c8813b54b27ce.tar.gz
gentoo-b31b3d9879b4839bd2fa7acda26c8813b54b27ce.tar.bz2
gentoo-b31b3d9879b4839bd2fa7acda26c8813b54b27ce.zip
dev-util/re2c: bump up to 2.0.3
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-util/re2c')
-rw-r--r--dev-util/re2c/Manifest1
-rw-r--r--dev-util/re2c/re2c-2.0.3.ebuild27
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-util/re2c/Manifest b/dev-util/re2c/Manifest
index 203a4dfe2e2b..9970e894070c 100644
--- a/dev-util/re2c/Manifest
+++ b/dev-util/re2c/Manifest
@@ -1,2 +1,3 @@
DIST re2c-1.3.tar.xz 1239280 BLAKE2B ae2a8fc323408dd31d39c352bd622d89d19178b7993618ea043bbfd32509fb7573d2b5b50663e100d24fc275fa479982cb1f66ed49638edca61f551fb653176d SHA512 c7084ab2399fb6b96cef74c1393715d90830f43b82b96af46feb71ef008c0215381c3dbea0b003ff810d869db6021e28001b9d588ad55c616642244b2da09c0e
DIST re2c-2.0.2.tar.xz 1292972 BLAKE2B 65780a6039fda0adb5daed1020ed1b58467cf4f45c87fac8feb0ed1d6747a7a4136d307960279f3963dd3b2d4b3f67bd1040fb1bd5e09f4a5f8ac55335f9f28e SHA512 7db5bea3f3d536dfc9483edf02b6dfdc75565841d54c57795505c5a587b9b50bb588731aaebf52b08cc6e853848052869e4aa1d4b0cbf6ca7e020eae3d391e74
+DIST re2c-2.0.3.tar.xz 1288996 BLAKE2B 76913a79ad9c237843ccbe86dd05db755da19fc89351b64d6ece6a9a8d53860f1cc12493748fca5b7391cddff4f4668295fb2613c257c128870ea2e7163811ed SHA512 893c533e9847a6236d55ae65e413ddc48b7531b89f5552a3ad79beeac079317ceca4c35710f3c2d88a6de5a3c0a5070a24a8cffb1b4277578a41697ea0e3bf8c
diff --git a/dev-util/re2c/re2c-2.0.3.ebuild b/dev-util/re2c/re2c-2.0.3.ebuild
new file mode 100644
index 000000000000..74c16e8376ec
--- /dev/null
+++ b/dev-util/re2c/re2c-2.0.3.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="tool for generating C-based recognizers from regular expressions"
+HOMEPAGE="http://re2c.org/"
+SRC_URI="https://github.com/skvadrik/re2c/releases/download/${PV}/${P}.tar.xz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="debug"
+
+src_configure() {
+ econf \
+ --enable-golang \
+ ac_cv_path_BISON="no" \
+ $(use_enable debug)
+}
+
+src_install() {
+ default
+
+ docompress -x /usr/share/doc/${PF}/examples
+ dodoc -r README.md CHANGELOG examples
+}