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