summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2024-04-13 11:06:49 +0200
committerUlrich Müller <ulm@gentoo.org>2024-04-13 11:08:40 +0200
commit6689e5c7a92baad8c2de4c80b5b7181886f54f12 (patch)
tree1d1a858cc5fe54d55acac9dc6aec152266eead80 /app-text
parentapp-text/rnc2rng: enable py3.12 (diff)
downloadgentoo-6689e5c7a92baad8c2de4c80b5b7181886f54f12.tar.gz
gentoo-6689e5c7a92baad8c2de4c80b5b7181886f54f12.tar.bz2
gentoo-6689e5c7a92baad8c2de4c80b5b7181886f54f12.zip
app-text/rnc2rng: add 2.7.0
Bug: https://bugs.gentoo.org/929367 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/rnc2rng/Manifest1
-rw-r--r--app-text/rnc2rng/rnc2rng-2.7.0.ebuild24
2 files changed, 25 insertions, 0 deletions
diff --git a/app-text/rnc2rng/Manifest b/app-text/rnc2rng/Manifest
index efd19aa84b7a..86ed0c9de3fc 100644
--- a/app-text/rnc2rng/Manifest
+++ b/app-text/rnc2rng/Manifest
@@ -1 +1,2 @@
DIST rnc2rng-2.6.6.tar.gz 18089 BLAKE2B be9b2a22770bed034b4ad93bba23dba7e1f58c553cef4e1a507a00ffb62c6f6e937df22e4d5f2fd3c542acebd72adb82320cddf34f873d35f442be0d457b3cba SHA512 a0f108383ad927c2d9e1cc11960ddaab99a8cb4bf0417cd8e7ccdbc7925746b2fa8c1cbd96a74e89f7166eb8e330c224a49d97aa2ef5d83d7a0c4254240fb308
+DIST rnc2rng-2.7.0.tar.gz 19000 BLAKE2B 37375d2608c2fc5ffb87521de8d83f0d4a70449d399ea6d181b40c7e6f561c27e0e2ac6d4df5b0086890b626366cd6b8ceca60580f05a3bbd152d7315808fb1f SHA512 29507e49d29f7da23dcf24fd1328dd4ee0aa37192817d6d2c9ec76ede56a1c6b041ffdb6b755e2e9b0c155f4f68616cb7f9a49e711e4e389097c97840b5e3e66
diff --git a/app-text/rnc2rng/rnc2rng-2.7.0.ebuild b/app-text/rnc2rng/rnc2rng-2.7.0.ebuild
new file mode 100644
index 000000000000..6128abda57bf
--- /dev/null
+++ b/app-text/rnc2rng/rnc2rng-2.7.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9,10,11,12} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1 pypi
+
+DESCRIPTION="RELAX NG Compact to regular syntax conversion library"
+HOMEPAGE="https://github.com/djc/rnc2rng"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-python/rply[${PYTHON_USEDEP}]"
+BDEPEND="test? ( ${RDEPEND} )"
+
+python_test() {
+ "${EPYTHON}" test.py -v || die "Tests failed with ${EPYTHON}"
+}