From ae13e056d16c79c129d45cf95816f61ac181cdab Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Thu, 18 Jun 2020 19:58:53 +0200 Subject: dev-python/rdflib: Port to py3.9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/rdflib/rdflib-4.2.2-r1.ebuild | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'dev-python/rdflib') diff --git a/dev-python/rdflib/rdflib-4.2.2-r1.ebuild b/dev-python/rdflib/rdflib-4.2.2-r1.ebuild index 448f91e6dd70..a6eb50c7d38a 100644 --- a/dev-python/rdflib/rdflib-4.2.2-r1.ebuild +++ b/dev-python/rdflib/rdflib-4.2.2-r1.ebuild @@ -4,7 +4,7 @@ EAPI=7 DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_COMPAT=( python3_{6..9} ) PYTHON_REQ_USE="sqlite?,threads(+)" # The usual required for tests @@ -78,14 +78,9 @@ python_compile_all() { } python_test() { - # the default; nose with: --where=./ does not work for python3 - if python_is_python3; then - pushd "${BUILD_DIR}/src/" >/dev/null || die - "${EPYTHON}" ./run_tests.py || die "Tests failed under ${EPYTHON}" - popd >/dev/null || die - else - "${EPYTHON}" ./run_tests.py || die "Tests failed under ${EPYTHON}" - fi + pushd "${BUILD_DIR}/src/" >/dev/null || die + "${EPYTHON}" ./run_tests.py -v || die "Tests failed under ${EPYTHON}" + popd >/dev/null || die } python_install_all() { -- cgit v1.2.3-65-gdbad