summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Sautier <sbraz@gentoo.org>2020-12-03 20:35:08 +0100
committerLouis Sautier <sbraz@gentoo.org>2020-12-03 20:36:58 +0100
commite6309918de869c25cab8db1c8b131293ecacd3c9 (patch)
treed65e8f43712525a9fc9cef54879ae80b32269ccd /dev-python/wheel
parentwww-client/chromium: stable channel bump to 87.0.4280.88 (diff)
downloadgentoo-e6309918de869c25cab8db1c8b131293ecacd3c9.tar.gz
gentoo-e6309918de869c25cab8db1c8b131293ecacd3c9.tar.bz2
gentoo-e6309918de869c25cab8db1c8b131293ecacd3c9.zip
dev-python/wheel: fix tests when not installed
--via-root is required with setuptools>49, see https://dev.gentoo.org/~mgorny/python-guide/distutils.html#installing-the-package-before-testing Closes: https://bugs.gentoo.org/715244 Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Louis Sautier <sbraz@gentoo.org>
Diffstat (limited to 'dev-python/wheel')
-rw-r--r--dev-python/wheel/wheel-0.36.0.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-python/wheel/wheel-0.36.0.ebuild b/dev-python/wheel/wheel-0.36.0.ebuild
index 3878e8e58efe..22ddbb0304ee 100644
--- a/dev-python/wheel/wheel-0.36.0.ebuild
+++ b/dev-python/wheel/wheel-0.36.0.ebuild
@@ -33,6 +33,6 @@ python_test() {
return
fi
- distutils_install_for_testing
+ distutils_install_for_testing --via-root
pytest -vv || die "Tests failed with ${EPYTHON}"
}