summaryrefslogtreecommitdiff
path: root/dev-util/re2c
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/re2c')
-rw-r--r--dev-util/re2c/Manifest7
-rw-r--r--dev-util/re2c/files/re2c-2.1.1-sh.patch48
-rw-r--r--dev-util/re2c/re2c-2.1.1-r1.ebuild41
-rw-r--r--dev-util/re2c/re2c-2.2.ebuild6
-rw-r--r--dev-util/re2c/re2c-3.1.ebuild4
5 files changed, 7 insertions, 99 deletions
diff --git a/dev-util/re2c/Manifest b/dev-util/re2c/Manifest
index e9c3d04b74eb..5aa016fe4416 100644
--- a/dev-util/re2c/Manifest
+++ b/dev-util/re2c/Manifest
@@ -1,8 +1,5 @@
-AUX re2c-2.1.1-sh.patch 1688 BLAKE2B 1143d1d5867c07aaa48e3c1795b1c4867eba665315a583d4991872b457a7ba222dac1c699917cf02b6d55306e6de3a5e0c65cf2f0505ec4283b7833522b5bb39 SHA512 33b48ee8f4ab871958eff901596c1282823eb597c7679ad8e11e72a84e4da1d72b01d2732f0d251c5f1dcb8656c86c60fc31f795cdd679f0d66a4053cb49529a
-DIST re2c-2.1.1.tar.xz 1340740 BLAKE2B e0e3cdb7ea78324467a8fe3161fe9b0cc1eb44baf9a554b892e1f7f8b8d089e8dca58da347527c595881e1119344858694c133ba0f1676424914f6518adbf4f4 SHA512 13edbe961e0482677aff52ada93129500c10e134b579365f1d0cd180a898251f3060f1fe0597fc6c900c0ea29b1eb28fc2519b0ebfa2ed496a777bf7e138feae
DIST re2c-2.2.tar.xz 1460740 BLAKE2B f9e5920cb31c7ae8fa9f880be30513eee33ad23bcc7d44b24bbcb93376e13b092f6d0bee3304e49f87430be54b868c43115592a2accfdd94cda0d789b234f43b SHA512 8c4f18fa9a2ef6b0b5c03b73b8b7deafcbd7b17baf72e0008c9344296fcb0abeee6024d4a78ccb15b090e37ae67ddd6f2a68b4932331096328530612112ee37a
DIST re2c-3.1.tar.xz 1448624 BLAKE2B ecf9e750aa94d9754d703ad65df50786e800ed8ad40f4cce39a24ae4154d7b73db60cacb4e77e371d175c2d16393a812d38fb8af780bc1fb9d1f64c7964bd4f7 SHA512 649c5e103f8012e2717a0c36af135601dfa0a090c3e400bbf466537e7038ad73bc9e0ed36c3717b7c3c785c24ad024d40c7c31998325a14caf4984c4f19cd998
-EBUILD re2c-2.1.1-r1.ebuild 987 BLAKE2B 88f463f433850bf1cd45991e2e45f3886701ee923ee8301c3e808ec21af2a17cf33d556c0714ba59c859dda173aae1fbd2675c9d5d46a38db00e3c6ea49bbbde SHA512 9f126a2469d9f466ca93c3c926e6986335a97f5766d0ad7da612c3423393e4e109d7429a1b04a68e63d08a243aeb7480322aa272ec15a738cd06a9528a289c50
-EBUILD re2c-2.2.ebuild 947 BLAKE2B 61645020692f34cf48485538b7a5c9282cd3fffcc9424e59bd31c4c47748ba0d0b91b68b5ad9ef7728f62424a5de6e6caf7d246a902dde0ff3dd4bbb129110da SHA512 21fbb01516ae79d2e7798a20da41df670fabb504274a324ec98f142d1f39e4a1eb723da4a215657c88eb0459f9e3cb5e70ee925feb462d03af36af21b9e0449a
-EBUILD re2c-3.1.ebuild 973 BLAKE2B 183fcf26356dcc57079921cfaf6ca0b0f2207c6c727a9db8b1195776ad4c693e4732aab1dc5a4256aaaa4f02389067e716c85b8b02707958c1805112d575c802 SHA512 1503040f5420b388288ac947f3b2cab40d1b0919f7446bdaf4f645c3105024e6f5b5bd96bb41f93c0507c75987af9c350a996f5ecc3a0f56db2a5dff41be146a
+EBUILD re2c-2.2.ebuild 942 BLAKE2B cda15037b50402c97ee3848218645e623b8a228799003632a64d56c30402dbf6afd157755919d825621febd305c8e389c827c5b53f147d3962b404ee21d86416 SHA512 329e96691f9d3519ebae24efa132f7c7a414f18ca446131921eee800860d79bd2cdc1235cf33f3c6b808eeeb2aed389ee06e6e38dd87eca383cdbe2bb0cb99a2
+EBUILD re2c-3.1.ebuild 961 BLAKE2B ebf5c322f715f3bafaf947a67693a2136a0e9ec6d7bf0901ec88cb2e22396758992e7453f2b7b2f5ce2f0be3cc24e31e43fb675787af0fb94c626da49c2abd34 SHA512 f09740dfba601d346a44f79988145b0e4a781250237a5e47858881631ff8eba4e19d2188c170f795c80291f75a95ba8bc7944c47ca9c1f32b8d98284fee42d5a
MISC metadata.xml 399 BLAKE2B 808d2a6288aabce5ab52a390340da95cc85d463c7418db091a1129d8f1f3617e501c30a5ab35915470ed3926ae7ed532183a82278c6328eeb780319303f1b90d SHA512 b7232e0a8cb71647ac378149386d207d1f960a4bf6c1821cc87a4c4b09bc6836a6dfbc56d4a84cf97e8a0e6ac8726528c294018706c07ca7d785102c4261b974
diff --git a/dev-util/re2c/files/re2c-2.1.1-sh.patch b/dev-util/re2c/files/re2c-2.1.1-sh.patch
deleted file mode 100644
index 7caa5d7d1a00..000000000000
--- a/dev-util/re2c/files/re2c-2.1.1-sh.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-Matt noticed errors when running ./configure on dash:
- ./configure: 5339: test: x: unexpected operator
- ./configure: 5386: test: x: unexpected operator
-
-The change is to use POSIX '=' comparison instead of bash-specific ==.
-
-Patch-by: Matt Whitlock
-https://bugs.gentoo.org/779187
---- a/configure.ac 2021-03-27 18:25:24.000000000 +0000
-+++ b/configure.ac 2021-03-30 01:34:01.993467424 +0000
-@@ -65,7 +65,7 @@
- # --enable-benchmarks
- AC_ARG_ENABLE([benchmarks], [AS_HELP_STRING([--enable-benchmarks],
- [build benchmarks])])
--AM_CONDITIONAL([WITH_BENCHMARKS], [test "x$enable_benchmarks" == "xyes"])
-+AM_CONDITIONAL([WITH_BENCHMARKS], [test "x$enable_benchmarks" = "xyes"])
- AM_COND_IF([WITH_BENCHMARKS], [
- AC_LANG_PUSH([C++])
- AC_CHECK_HEADERS([benchmark/benchmark.h], [],
-@@ -79,7 +79,7 @@
- [AS_HELP_STRING([--enable-benchmarks-regenerate],
- [regenerate C code for benchmarks])])
- AM_CONDITIONAL([REGEN_BENCHMARKS],
-- [test "x$enable_benchmarks_regenerate" == "xyes"])
-+ [test "x$enable_benchmarks_regenerate" = "xyes"])
-
-
- # checks for programs
---- a/configure
-+++ b/configure
-@@ -5336,7 +5336,7 @@ if test "${enable_benchmarks+set}" = set; then :
- enableval=$enable_benchmarks;
- fi
-
-- if test "x$enable_benchmarks" == "xyes"; then
-+ if test "x$enable_benchmarks" = "xyes"; then
- WITH_BENCHMARKS_TRUE=
- WITH_BENCHMARKS_FALSE='#'
- else
-@@ -5383,7 +5383,7 @@ if test "${enable_benchmarks_regenerate+set}" = set; then :
- enableval=$enable_benchmarks_regenerate;
- fi
-
-- if test "x$enable_benchmarks_regenerate" == "xyes"; then
-+ if test "x$enable_benchmarks_regenerate" = "xyes"; then
- REGEN_BENCHMARKS_TRUE=
- REGEN_BENCHMARKS_FALSE='#'
- else
diff --git a/dev-util/re2c/re2c-2.1.1-r1.ebuild b/dev-util/re2c/re2c-2.1.1-r1.ebuild
deleted file mode 100644
index a6a57cbd4023..000000000000
--- a/dev-util/re2c/re2c-2.1.1-r1.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools
-
-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 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
-IUSE="debug"
-
-PATCHES=("${FILESDIR}"/${P}-sh.patch)
-
-src_prepare() {
- default
-
- # Only needed for the sh patch
- # Despite the patch modifying the configure directly,
- # this is sometimes fragile and triggers maintainer mode anyway.
- # bug #779187
- eautoreconf
-}
-
-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
-}
diff --git a/dev-util/re2c/re2c-2.2.ebuild b/dev-util/re2c/re2c-2.2.ebuild
index b7a6f451fa53..fa2d76607bdf 100644
--- a/dev-util/re2c/re2c-2.2.ebuild
+++ b/dev-util/re2c/re2c-2.2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..13} )
inherit python-any-r1
@@ -13,7 +13,7 @@ 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 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="debug test"
RESTRICT="!test? ( test )"
diff --git a/dev-util/re2c/re2c-3.1.ebuild b/dev-util/re2c/re2c-3.1.ebuild
index d285e9d937e8..d9f822703a49 100644
--- a/dev-util/re2c/re2c-3.1.ebuild
+++ b/dev-util/re2c/re2c-3.1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..13} )
inherit python-any-r1
@@ -13,7 +13,7 @@ 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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="debug test"
RESTRICT="!test? ( test )"