diff --git a/science/py-periodictable/Makefile b/science/py-periodictable/Makefile index 420e86cadd21..20aaeeb60dc4 100644 --- a/science/py-periodictable/Makefile +++ b/science/py-periodictable/Makefile @@ -1,23 +1,29 @@ PORTNAME= periodictable -DISTVERSION= 1.7.1 -PORTREVISION= 1 +DISTVERSIONPREFIX= v +DISTVERSION= 2.0.2 CATEGORIES= science python -MASTER_SITES= PYPI +#MASTER_SITES= PYPI # no tarball available PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Extensible periodic table of the elements pre-populated with data -WWW= https://periodictable.readthedocs.io/en/latest/ +WWW= https://periodictable.readthedocs.io/en/latest/ \ + https://github.com/python-periodictable/periodictable LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}pyparsing>0:devel/py-pyparsing@${PY_FLAVOR} USES= python -USE_PYTHON= distutils autoplist pytest # 3 tests fail, see https://github.com/pkienzle/periodictable/issues/84 +USE_PYTHON= pep517 autoplist pytest # tests fail to run, see https://github.com/python-periodictable/periodictable/issues/106 + +USE_GITHUB= yes +GH_ACCOUNT= python-periodictable NO_ARCH= yes .include diff --git a/science/py-periodictable/distinfo b/science/py-periodictable/distinfo index 31b87009f74b..883867657320 100644 --- a/science/py-periodictable/distinfo +++ b/science/py-periodictable/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1720515377 -SHA256 (periodictable-1.7.1.tar.gz) = 43d7db7233d6b33962f83d79ea54f47c3b923d3e83403cbc03f58f353af4b52c -SIZE (periodictable-1.7.1.tar.gz) = 1003709 +TIMESTAMP = 1761805268 +SHA256 (python-periodictable-periodictable-v2.0.2_GH0.tar.gz) = 5a8aed4759e74dabb38fda0ecbe59b6f7fef42b0babf83f25d8dfaee3c6798f8 +SIZE (python-periodictable-periodictable-v2.0.2_GH0.tar.gz) = 934995