commit:     e9113127007ce9ee73df9bfc3a10032d30fc093b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 28 23:32:41 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Dec  1 10:31:51 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9113127

dev-python/hypothesis: Use dift --via-root API

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/hypothesis/hypothesis-5.41.4.ebuild | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/dev-python/hypothesis/hypothesis-5.41.4.ebuild 
b/dev-python/hypothesis/hypothesis-5.41.4.ebuild
index 30e83a21773..7cd8e4bcc52 100644
--- a/dev-python/hypothesis/hypothesis-5.41.4.ebuild
+++ b/dev-python/hypothesis/hypothesis-5.41.4.ebuild
@@ -48,11 +48,7 @@ python_prepare() {
 }
 
 python_test() {
-       local -x PYTHONPATH="${BUILD_DIR}/install/lib"
-       esetup.py install \
-               --root="${BUILD_DIR}/install" \
-               --install-lib=lib
-
+       distutils_install_for_testing --via-root
        pytest -vv tests/cover tests/pytest tests/quality \
                -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" ||
                die "Tests fail with ${EPYTHON}"

Reply via email to