Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Nov 2021 18:25:41 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e437beeb3214 - main - devel/py-fastnumbers: Update 3.1.0 -> 3.2.1
Message-ID:  <202111041825.1A4IPfgE091081@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

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

commit e437beeb32146b0b1c79ec8bd0e0621c61d69f72
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-11-04 17:25:09 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-11-04 18:25:39 +0000

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

diff --git a/devel/py-fastnumbers/Makefile b/devel/py-fastnumbers/Makefile
index 2d5ef3b34526..9ada50d1ceda 100644
--- a/devel/py-fastnumbers/Makefile
+++ b/devel/py-fastnumbers/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	fastnumbers
-DISTVERSION=	3.1.0
+DISTVERSION=	3.2.1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,10 +10,15 @@ COMMENT=	Super-fast and clean conversions to numbers
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
+
 USES=		python:3.5+
 USE_PYTHON=	autoplist distutils
 
 post-install:
-	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/fastnumbers*.so
+	@${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 05c8600bd425..8bf870f7e28c 100644
--- a/devel/py-fastnumbers/distinfo
+++ b/devel/py-fastnumbers/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1606300467
-SHA256 (fastnumbers-3.1.0.tar.gz) = 7cc4f96981ccd3cf212b6ea7b84ef621620b62da8b454f420aa2e81c8529e68f
-SIZE (fastnumbers-3.1.0.tar.gz) = 96221
+TIMESTAMP = 1636044598
+SHA256 (fastnumbers-3.2.1.tar.gz) = 44f92b42e7e9f2ed77ba5cb7d664f05c17e43d4586718ed6cd3b3fffa0e67f33
+SIZE (fastnumbers-3.2.1.tar.gz) = 100118



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111041825.1A4IPfgE091081>