Skip to content

Commit

Permalink
devel/py-fastnumbers: Update 3.2.1 → 5.0.1
Browse files Browse the repository at this point in the history
Reported by:	portscout
  • Loading branch information
yurivict committed Mar 10, 2023
1 parent 7fd1e8b commit 0a2f611
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
13 changes: 6 additions & 7 deletions 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}
Expand All @@ -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>
6 changes: 3 additions & 3 deletions 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

0 comments on commit 0a2f611

Please sign in to comment.