1 |
commit: e9113127007ce9ee73df9bfc3a10032d30fc093b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 28 23:32:41 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 1 10:31:51 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9113127 |
7 |
|
8 |
dev-python/hypothesis: Use dift --via-root API |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/hypothesis/hypothesis-5.41.4.ebuild | 6 +----- |
13 |
1 file changed, 1 insertion(+), 5 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/hypothesis/hypothesis-5.41.4.ebuild b/dev-python/hypothesis/hypothesis-5.41.4.ebuild |
16 |
index 30e83a21773..7cd8e4bcc52 100644 |
17 |
--- a/dev-python/hypothesis/hypothesis-5.41.4.ebuild |
18 |
+++ b/dev-python/hypothesis/hypothesis-5.41.4.ebuild |
19 |
@@ -48,11 +48,7 @@ python_prepare() { |
20 |
} |
21 |
|
22 |
python_test() { |
23 |
- local -x PYTHONPATH="${BUILD_DIR}/install/lib" |
24 |
- esetup.py install \ |
25 |
- --root="${BUILD_DIR}/install" \ |
26 |
- --install-lib=lib |
27 |
- |
28 |
+ distutils_install_for_testing --via-root |
29 |
pytest -vv tests/cover tests/pytest tests/quality \ |
30 |
-n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" || |
31 |
die "Tests fail with ${EPYTHON}" |