git: b58dfa33fe11 - main - devel/py-ubelt: Fix tests

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 10 Aug 2022 05:14:32 UTC
The branch main has been updated by yuri:

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

commit b58dfa33fe113d78eb62c5da0046d77208828c72
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-08-10 05:09:49 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-08-10 05:09:49 +0000

    devel/py-ubelt: Fix tests
---
 devel/py-ubelt/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/devel/py-ubelt/Makefile b/devel/py-ubelt/Makefile
index 4824c16b2352..7e41c3fbdf5d 100644
--- a/devel/py-ubelt/Makefile
+++ b/devel/py-ubelt/Makefile
@@ -16,14 +16,17 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}codecov>=2.0.15:devel/py-codecov@${PY_FLAVO
 		${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>=2.25.1:www/py-requests@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}xdoctest>=0.14.0:devel/py-xdoctest@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}xdoctest>=0.14.0:devel/py-xdoctest@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}xxhash>0:devel/py-xxhash@${PY_FLAVOR}
 
 USES=		python:3.6+
-USE_PYTHON=	distutils autoplist pytest # 23 errors in tests, see https://github.com/Erotemic/ubelt/issues/127
+USE_PYTHON=	distutils autoplist pytest
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	Erotemic
 
 NO_ARCH=	yes
 
+BINARY_ALIAS=	python=${PYTHON_CMD}
+
 .include <bsd.port.mk>