aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2023-07-18 15:47:24 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2023-07-18 15:48:26 +0000
commit76f11726058d5acaa9a8b792bd13123cba99161d (patch)
treecbf13926b2f66e44a7d7709e6c92c935cd13e893
parentbfeea2dc37999418c39ce384f73461741e68c7a3 (diff)
devel/py-distlib: Add env var for tests; Change comment
-rw-r--r--devel/py-distlib/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/py-distlib/Makefile b/devel/py-distlib/Makefile
index 5a05d9dcdc89..dab407a763e4 100644
--- a/devel/py-distlib/Makefile
+++ b/devel/py-distlib/Makefile
@@ -15,8 +15,10 @@ BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
USES= python
-USE_PYTHON= pep517 autoplist pytest # 3 tests fail, see https://github.com/pypa/distlib/issues/205
+USE_PYTHON= pep517 autoplist pytest # few tests fail intermittently, see https://github.com/pypa/distlib/issues/205
NO_ARCH= yes
+TEST_ENV= PYTHONHASHSEED=0 # needed for tests to succeed
+
.include <bsd.port.mk>