summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2020-04-06 10:16:11 +0200
committerDirkjan Ochtman <djc@gentoo.org>2020-04-06 10:21:16 +0200
commit0b5ad2264dab12cb69b6e2f54f02b7568016e8ed (patch)
treef9198c0492cd51cb49b6613c84c2e38101a9a6a4 /app-text/rnc2rng
parentapp-antivirus/fangfrisch: Enhance post-install message (diff)
downloadgentoo-0b5ad2264dab12cb69b6e2f54f02b7568016e8ed.tar.gz
gentoo-0b5ad2264dab12cb69b6e2f54f02b7568016e8ed.tar.bz2
gentoo-0b5ad2264dab12cb69b6e2f54f02b7568016e8ed.zip
app-text/rnc2rng: move from dev-python to app-text
Signed-off-by: Dirkjan Ochtman <djc@gentoo.org>
Diffstat (limited to 'app-text/rnc2rng')
-rw-r--r--app-text/rnc2rng/Manifest1
-rw-r--r--app-text/rnc2rng/metadata.xml12
-rw-r--r--app-text/rnc2rng/rnc2rng-2.6.1.ebuild25
3 files changed, 38 insertions, 0 deletions
diff --git a/app-text/rnc2rng/Manifest b/app-text/rnc2rng/Manifest
new file mode 100644
index 000000000000..89c026dcad16
--- /dev/null
+++ b/app-text/rnc2rng/Manifest
@@ -0,0 +1 @@
+DIST rnc2rng-2.6.1.tar.gz 14330 BLAKE2B 04d316f03da1e936603ca69cf5c8e087dd3a45f457d2b245452544e2a74a730d4c20a655a3eea5856f7f91e9154a7196bee89e8cc052cae887c6188da89b0574 SHA512 ab18b713d8756153fe03c76901dac7b090c7eab12042a251f2e97d7ae4e1ebfdf969a826305704f073c9df5a0980a6d8cd5d4e7a12a8caed018cab46a9196159
diff --git a/app-text/rnc2rng/metadata.xml b/app-text/rnc2rng/metadata.xml
new file mode 100644
index 000000000000..3c8118378ab5
--- /dev/null
+++ b/app-text/rnc2rng/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>djc@gentoo.org</email>
+ <name>Dirkjan Ochtman</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">djc/rnc2rng</remote-id>
+ <remote-id type="pypi">rnc2rng</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-text/rnc2rng/rnc2rng-2.6.1.ebuild b/app-text/rnc2rng/rnc2rng-2.6.1.ebuild
new file mode 100644
index 000000000000..30df505f088a
--- /dev/null
+++ b/app-text/rnc2rng/rnc2rng-2.6.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6,7} )
+
+inherit distutils-r1
+
+DESCRIPTION="RELAX NG Compact to regular syntax conversion library"
+HOMEPAGE="https://github.com/djc/rnc2rng"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+DEPEND="dev-python/rply[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}"
+
+RESTRICT="!test? ( test )"
+
+python_test() {
+ "${PYTHON}" test.py
+}