From: Michał Górny Date: Thu, 18 Jul 2019 09:14:03 +0000 (+0200) Subject: distutils-r1.eclass: Block installing '.pytest_cache' X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=717c7a4eb42c23cc28f1e6b954c76baf40b36e0c;p=gentoo.git distutils-r1.eclass: Block installing '.pytest_cache' Signed-off-by: Michał Górny --- diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 66920d1f7553..7c56a0c8a136 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