From 40f3372df3972f71da0a28f276ac318ae671bdc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 15 May 2021 23:36:10 +0200 Subject: [PATCH] dev-python/werkzeug: Force /tmp as tmpdir to fix AF_UNIX name limit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- 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 b846c49b53958..d9a91a7036a52 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 }