summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-02-09 09:47:23 +0100
committerMichał Górny <mgorny@gentoo.org>2022-02-09 10:07:57 +0100
commit29ef288901d85827c2c6fe45a41056d62c0b1fb5 (patch)
treef4c3bcc496f50d6be7ec501eeca05bd9677abab2
parentpython-utils-r1.eclass: Silence missing locale(1) error (diff)
downloadgentoo-29ef288901d85827c2c6fe45a41056d62c0b1fb5.tar.gz
gentoo-29ef288901d85827c2c6fe45a41056d62c0b1fb5.tar.bz2
gentoo-29ef288901d85827c2c6fe45a41056d62c0b1fb5.zip
dev-python/statsmodels: Do not install .pytest_cache w/ USE=test
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/statsmodels/statsmodels-0.13.2.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/dev-python/statsmodels/statsmodels-0.13.2.ebuild b/dev-python/statsmodels/statsmodels-0.13.2.ebuild
index 295ea833d346..d017496f5c26 100644
--- a/dev-python/statsmodels/statsmodels-0.13.2.ebuild
+++ b/dev-python/statsmodels/statsmodels-0.13.2.ebuild
@@ -68,6 +68,7 @@ python_test() {
import statsmodels
statsmodels.test(extra_args=['-vv', '-n', '${jobs}'], exit=True)" \
|| die "tests fail with ${EPYTHON}"
+ rm -rf statsmodels/.pytest_cache || die
popd >/dev/null || die
}