git: 76f11726058d - main - devel/py-distlib: Add env var for tests; Change comment

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 18 Jul 2023 15:48:28 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=76f11726058d5acaa9a8b792bd13123cba99161d

commit 76f11726058d5acaa9a8b792bd13123cba99161d
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-07-18 15:47:24 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-07-18 15:48:26 +0000

    devel/py-distlib: Add env var for tests; Change comment
---
 devel/py-distlib/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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>