From 717c7a4eb42c23cc28f1e6b954c76baf40b36e0c Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Thu, 18 Jul 2019 11:14:03 +0200 Subject: distutils-r1.eclass: Block installing '.pytest_cache' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- 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 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 -- cgit v1.2.3-65-gdbad