From 0b5ad2264dab12cb69b6e2f54f02b7568016e8ed Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Mon, 6 Apr 2020 10:16:11 +0200 Subject: app-text/rnc2rng: move from dev-python to app-text Signed-off-by: Dirkjan Ochtman --- app-text/rnc2rng/Manifest | 1 + app-text/rnc2rng/metadata.xml | 12 ++++++++++++ app-text/rnc2rng/rnc2rng-2.6.1.ebuild | 25 +++++++++++++++++++++++++ 3 files changed, 38 insertions(+) create mode 100644 app-text/rnc2rng/Manifest create mode 100644 app-text/rnc2rng/metadata.xml create mode 100644 app-text/rnc2rng/rnc2rng-2.6.1.ebuild (limited to 'app-text/rnc2rng') 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 @@ + + + + + djc@gentoo.org + Dirkjan Ochtman + + + djc/rnc2rng + rnc2rng + + 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 +} -- cgit v1.2.3-65-gdbad