diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2021-10-22 19:42:37 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2021-10-22 20:20:45 +0300 |
commit | 28dbd9c6bbbf78405b29f8a2ea4730b756ea043b (patch) | |
tree | cfeb5404d7af161a72aaababa71c3300c85c3917 /app-text | |
parent | dev-util/ydiff: enable py3.10 (diff) | |
download | gentoo-28dbd9c6bbbf78405b29f8a2ea4730b756ea043b.tar.gz gentoo-28dbd9c6bbbf78405b29f8a2ea4730b756ea043b.tar.bz2 gentoo-28dbd9c6bbbf78405b29f8a2ea4730b756ea043b.zip |
app-text/rnc2rng: enable py3.10, verbose test run
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/rnc2rng/rnc2rng-2.6.6-r1.ebuild | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/app-text/rnc2rng/rnc2rng-2.6.6-r1.ebuild b/app-text/rnc2rng/rnc2rng-2.6.6-r1.ebuild index 2c7a835ba983..a5e2a0f22c49 100644 --- a/app-text/rnc2rng/rnc2rng-2.6.6-r1.ebuild +++ b/app-text/rnc2rng/rnc2rng-2.6.6-r1.ebuild @@ -3,8 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7..9} ) - +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 DESCRIPTION="RELAX NG Compact to regular syntax conversion library" @@ -15,12 +14,11 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="test" - -DEPEND="dev-python/rply[${PYTHON_USEDEP}]" -RDEPEND="${DEPEND}" - RESTRICT="!test? ( test )" +RDEPEND="dev-python/rply[${PYTHON_USEDEP}]" +BDEPEND="test? ( ${RDEPEND} )" + python_test() { - "${PYTHON}" test.py + "${EPYTHON}" test.py -v || die "Tests failed with ${EPYTHON}" } |