git: 0a2f611a816a - main - devel/py-fastnumbers: Update 3.2.1 → 5.0.1

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 10 Mar 2023 09:06:11 UTC
The branch main has been updated by yuri:

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

commit 0a2f611a816ad02d72da1542b17104e2e46bd7d0
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-03-10 09:04:43 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-03-10 09:06:01 +0000

    devel/py-fastnumbers: Update 3.2.1 → 5.0.1
    
    Reported by:    portscout
---
 devel/py-fastnumbers/Makefile | 13 ++++++-------
 devel/py-fastnumbers/distinfo |  6 +++---
 2 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/devel/py-fastnumbers/Makefile b/devel/py-fastnumbers/Makefile
index 011844915fb0..16c4a201c294 100644
--- a/devel/py-fastnumbers/Makefile
+++ b/devel/py-fastnumbers/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	fastnumbers
-DISTVERSION=	3.2.1
+DISTVERSION=	5.0.1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,16 +11,15 @@ WWW=		https://github.com/SethMMorton/fastnumbers
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR}
 
 USES=		python:3.5+
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	pep517 autoplist pytest
+
+TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/fastnumbers/fastnumbers*.so
 
-do-test: install # requires pytest higher than 4.6.11, otherwise tests fail, see bug#259648
-	@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest
-
 .include <bsd.port.mk>
diff --git a/devel/py-fastnumbers/distinfo b/devel/py-fastnumbers/distinfo
index 8bf870f7e28c..89d136fa16f3 100644
--- a/devel/py-fastnumbers/distinfo
+++ b/devel/py-fastnumbers/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1636044598
-SHA256 (fastnumbers-3.2.1.tar.gz) = 44f92b42e7e9f2ed77ba5cb7d664f05c17e43d4586718ed6cd3b3fffa0e67f33
-SIZE (fastnumbers-3.2.1.tar.gz) = 100118
+TIMESTAMP = 1678438727
+SHA256 (fastnumbers-5.0.1.tar.gz) = 9e4fd92cdf263a8e0865af19c40ae9df45a9bc0eb5e22fefea871140e7e0262f
+SIZE (fastnumbers-5.0.1.tar.gz) = 179284