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