From 28dbd9c6bbbf78405b29f8a2ea4730b756ea043b Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Fri, 22 Oct 2021 19:42:37 +0300 Subject: app-text/rnc2rng: enable py3.10, verbose test run Signed-off-by: Arthur Zamarin --- app-text/rnc2rng/rnc2rng-2.6.6-r1.ebuild | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'app-text') 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}" } -- cgit v1.2.3-65-gdbad