summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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
+}