summaryrefslogtreecommitdiff
path: root/science/py-periodictable/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'science/py-periodictable/Makefile')
-rw-r--r--science/py-periodictable/Makefile16
1 files changed, 11 insertions, 5 deletions
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,22 +1,28 @@
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