commit:     717c7a4eb42c23cc28f1e6b954c76baf40b36e0c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 18 09:14:03 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jul 18 09:16:52 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=717c7a4e

distutils-r1.eclass: Block installing '.pytest_cache'

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

 eclass/distutils-r1.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 66920d1f755..7c56a0c8a13 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -590,7 +590,7 @@ distutils-r1_python_install() {
 
        esetup.py install --root="${root}" "${args[@]}"
 
-       local forbidden_package_names=( examples test tests )
+       local forbidden_package_names=( examples test tests .pytest_cache )
        local p
        for p in "${forbidden_package_names[@]}"; do
                if [[ -d ${root}$(python_get_sitedir)/${p} ]]; then

Reply via email to