1 |
commit: 7d56ff3ae75ad74adcefd5288c5f5fe4a5d6b5a1 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 4 13:19:24 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 4 13:58:50 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d56ff3a |
7 |
|
8 |
distutils-r1.eclass: Forbid .hypothesis in site-packages too |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
eclass/distutils-r1.eclass | 5 ++++- |
13 |
1 file changed, 4 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass |
16 |
index 2994993e63e..a02b6d059bd 100644 |
17 |
--- a/eclass/distutils-r1.eclass |
18 |
+++ b/eclass/distutils-r1.eclass |
19 |
@@ -861,7 +861,10 @@ distutils-r1_python_install() { |
20 |
|
21 |
esetup.py install --skip-build --root="${root}" "${args[@]}" |
22 |
|
23 |
- local forbidden_package_names=( examples test tests .pytest_cache ) |
24 |
+ local forbidden_package_names=( |
25 |
+ examples test tests |
26 |
+ .pytest_cache .hypothesis |
27 |
+ ) |
28 |
local p |
29 |
for p in "${forbidden_package_names[@]}"; do |
30 |
if [[ -d ${root}$(python_get_sitedir)/${p} ]]; then |