diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-06-18 19:58:53 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-06-18 20:09:29 +0200 |
commit | ae13e056d16c79c129d45cf95816f61ac181cdab (patch) | |
tree | 777ea7657f768cb3841fff0a12f774222041227a /dev-python/rdflib | |
parent | dev-python/sparql-wrapper: Bump to 1.8.5 (diff) | |
download | gentoo-ae13e056d16c79c129d45cf95816f61ac181cdab.tar.gz gentoo-ae13e056d16c79c129d45cf95816f61ac181cdab.tar.bz2 gentoo-ae13e056d16c79c129d45cf95816f61ac181cdab.zip |
dev-python/rdflib: Port to py3.9
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/rdflib')
-rw-r--r-- | dev-python/rdflib/rdflib-4.2.2-r1.ebuild | 13 |
1 files changed, 4 insertions, 9 deletions
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() { |