commit: 40f3372df3972f71da0a28f276ac318ae671bdc3
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat May 15 21:36:10 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat May 15 21:36:10 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40f3372d
dev-python/werkzeug: Force /tmp as tmpdir to fix AF_UNIX name limit
Force using /tmp for tests rather than ${T}, as the latter can easily
cause AF_UNIX socket paths to exceed the limit.
Closes: https://bugs.gentoo.org/790416
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/werkzeug/werkzeug-2.0.0.ebuild | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dev-python/werkzeug/werkzeug-2.0.0.ebuild
b/dev-python/werkzeug/werkzeug-2.0.0.ebuild
index b846c49b539..d9a91a7036a 100644
--- a/dev-python/werkzeug/werkzeug-2.0.0.ebuild
+++ b/dev-python/werkzeug/werkzeug-2.0.0.ebuild
@@ -36,5 +36,7 @@ DEPEND="
distutils_enable_tests pytest
python_test() {
+ # the default portage tempdir is too long for AF_UNIX sockets
+ local -x TMPDIR=/tmp
epytest -p no:httpbin tests
}