diff --git a/math/py-permutation/Makefile b/math/py-permutation/Makefile index bf763b7dd972..e14833db0ad9 100644 --- a/math/py-permutation/Makefile +++ b/math/py-permutation/Makefile @@ -1,36 +1,37 @@ PORTNAME= permutation -DISTVERSION= 0.3.1 +DISTVERSION= 0.4.0 CATEGORIES= math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Permutations of finitely many positive integers WWW= https://github.com/jwodder/permutation LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} USES= python:3.6+ -USE_PYTHON= distutils autoplist +USE_PYTHON= pep517 autoplist pytest NO_ARCH= yes pre-configure: # permutation is officially built with "build" (https://github.com/pypa/build), but this is easily circumvented with this simple setup.py @( \ ${ECHO} "from setuptools import setup" && \ ${ECHO} "setup()" \ ) > ${WRKSRC}/setup.py do-test: install # instructions from tox.ini @cd ${WRKSRC} && \ coverage erase && \ coverage run -m pytest --doctest-modules --pyargs permutation && \ coverage run -m pytest test README.rst docs/index.rst && \ coverage combine && \ coverage report .include diff --git a/math/py-permutation/distinfo b/math/py-permutation/distinfo index b2504a4808b1..7d538957ac4c 100644 --- a/math/py-permutation/distinfo +++ b/math/py-permutation/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1633535476 -SHA256 (permutation-0.3.1.tar.gz) = fb0f87097546d4ad222169601a5c2663485ed8cac2b244e7c81c27604c1a62b7 -SIZE (permutation-0.3.1.tar.gz) = 16930 +TIMESTAMP = 1679896268 +SHA256 (permutation-0.4.0.tar.gz) = 1d33e2c90ea26c6d6dc85be14dfd78900bcce5d4c1b43363660a0b7f3bc05d32 +SIZE (permutation-0.4.0.tar.gz) = 17502