diff --git a/astro/py-jplephem/Makefile b/astro/py-jplephem/Makefile index 1793a559a74c..1ecfc593a17b 100644 --- a/astro/py-jplephem/Makefile +++ b/astro/py-jplephem/Makefile @@ -1,31 +1,32 @@ # Created by: thierry@pompo.net PORTNAME= jplephem PORTVERSION= 2.15 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= astro python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= thierry@FreeBSD.org COMMENT= Python version of NASA DE4xx ephemerides LICENSE= MIT -BUILD_DEPENDS= ${NUMPY} -RUN_DEPENDS= ${NUMPY} +BUILD_DEPENDS= ${PYNUMPY} +RUN_DEPENDS= ${PYNUMPY} TEST_DEPENDS= bash:shells/bash \ ${PYTHON_PKGNAMEPREFIX}unittest2>0:devel/py-unittest2@${PY_FLAVOR} USE_GITHUB= yes GH_ACCOUNT= brandon-rhodes GH_PROJECT= python-jplephem USES= python:3.7+ shebangfix USE_PYTHON= distutils SHEBANG_FILES= test.sh bin/doctest.sh bin/parse_zzidmap.sh bin/benchmark.py NO_ARCH= yes do-test: install (cd ${WRKSRC} && ./test.sh) .include diff --git a/astro/py-spktype01/Makefile b/astro/py-spktype01/Makefile index 37242cfca00f..da47c3ddd62d 100644 --- a/astro/py-spktype01/Makefile +++ b/astro/py-spktype01/Makefile @@ -1,32 +1,33 @@ # Created by: thierry@pompo.net PORTNAME= spktype01 PORTVERSION= 1.0.0 +PORTREVISION= 1 CATEGORIES= astro python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= thierry@FreeBSD.org COMMENT= Supporting module for jplephem to handle data type 1 LICENSE= MIT -BUILD_DEPENDS= ${NUMPY} -RUN_DEPENDS= ${NUMPY} \ +BUILD_DEPENDS= ${PYNUMPY} +RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}jplephem>0:astro/py-jplephem@${PY_FLAVOR} USE_GITHUB= yes GH_ACCOUNT= whiskie14142 GH_TAGNAME= 964cc70 USES= python:3.7+ USE_PYTHON= distutils WRKSRC_SUBDIR= package/${PORTNAME} TEST_WRKSRC= ${WRKSRC}/../../test NO_ARCH= yes PLIST_FILES= ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}/__pycache__/spktype01.cpython-${PYTHON_SUFFIX}.opt-1.pyc \ ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}/__pycache__/spktype01.cpython-${PYTHON_SUFFIX}.pyc \ ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}/spktype01.py .include diff --git a/astro/py-spktype21/Makefile b/astro/py-spktype21/Makefile index 5a9174ded8c1..0d7d729f5ea9 100644 --- a/astro/py-spktype21/Makefile +++ b/astro/py-spktype21/Makefile @@ -1,34 +1,35 @@ # Created by: thierry@pompo.net PORTNAME= spktype21 PORTVERSION= 0.1.0 +PORTREVISION= 1 CATEGORIES= astro python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= thierry@FreeBSD.org COMMENT= Supporting module for jplephem to handle data type 21 LICENSE= MIT -BUILD_DEPENDS= ${NUMPY} -RUN_DEPENDS= ${NUMPY} \ +BUILD_DEPENDS= ${PYNUMPY} +RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}jplephem>0:astro/py-jplephem@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}spktype01>0:astro/py-spktype01@${PY_FLAVOR} \ py.test:devel/py-pytest@${PY_FLAVOR} USE_GITHUB= yes GH_ACCOUNT= whiskie14142 GH_TAGNAME= 7ed2236 USES= python:3.7+ USE_PYTHON= distutils WRKSRC_SUBDIR= package/${PORTNAME} TEST_WRKSRC= ${WRKSRC}/../../test NO_ARCH= yes PLIST_FILES= ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}/__pycache__/spktype21.cpython-${PYTHON_SUFFIX}.opt-1.pyc \ ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}/__pycache__/spktype21.cpython-${PYTHON_SUFFIX}.pyc \ ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}/spktype21.py .include diff --git a/math/py-seaborn/Makefile b/math/py-seaborn/Makefile index e6e9e4abad1c..f2a7398cc2cc 100644 --- a/math/py-seaborn/Makefile +++ b/math/py-seaborn/Makefile @@ -1,24 +1,25 @@ PORTNAME= seaborn PORTVERSION= 0.11.0 +PORTREVISION= 1 CATEGORIES= math python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= FreeBSD@Shaneware.biz COMMENT= Statistical data visualization LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \ - ${NUMPY} \ + ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}patsy>0:math/py-patsy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}statsmodels>0:math/py-statsmodels@${PY_FLAVOR} USES= python:3.7+ USE_PYTHON= autoplist distutils NO_ARCH= yes .include diff --git a/science/py-PyFR/Makefile b/science/py-PyFR/Makefile index 6c3951d78399..de7928e34d91 100644 --- a/science/py-PyFR/Makefile +++ b/science/py-PyFR/Makefile @@ -1,42 +1,43 @@ PORTNAME= PyFR DISTVERSION= 1.10.0 +PORTREVISION= 1 CATEGORIES= science python MASTER_SITES= http://www.pyfr.org/download/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Framework for solving advection-diffusion type problems LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}appdirs>=1.4.0:devel/py-appdirs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}gimmik>=2.0:math/py-gimmik@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}h5py>=2.6:science/py-h5py@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mako>=1.0.0:textproc/py-mako@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mpi4py>=2.0:net/py-mpi4py@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytools>=2016.2.1:devel/py-pytools@${PY_FLAVOR} \ - ${NUMPY} + ${PYNUMPY} USES= python:3.3+ shebangfix zip SHEBANG_FILES= setup.py pyfr/__main__.py USE_PYTHON= distutils concurrent autoplist NO_ARCH= yes OPTIONS_MULTI= PARALLEL OPTIONS_MULTI_PARALLEL= OPENCL OPENMP # CUDA isn't supported on FreeBSD OPTIONS_DEFAULT= ${OPTIONS_MULTI_PARALLEL} PARALLEL_DESC= Parallelization backends to install OPENCL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyopencl>0:devel/py-pyopencl@${PY_FLAVOR} \ clblas>0:math/clblas OPENMP_RUN_DEPENDS= libxsmm>0:math/libxsmm pre-build: # patch in pre-build to make the patch less error-prone (it has %%LOCALBASE%%) @${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/pyfr/backends/openmp/compiler.py post-install: # workaround: https://groups.google.com/forum/#!topic/pyfrmailinglist/RNi_LcizGBo @${RM} ${STAGEDIR}${PREFIX}/__main__.py @${REINPLACE_CMD} 's|^${PREFIX}/__main__\.py||' ${_PYTHONPKGLIST} .include diff --git a/science/py-chempy/Makefile b/science/py-chempy/Makefile index 38283f3c028f..34befbaa797c 100644 --- a/science/py-chempy/Makefile +++ b/science/py-chempy/Makefile @@ -1,51 +1,52 @@ PORTNAME= chempy DISTVERSION= 0.8.1 +PORTREVISION= 1 CATEGORIES= science python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Package useful for solving problems in chemistry LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE PY_DEPENDS= \ ${PYTHON_PKGNAMEPREFIX}dot2tex>=2.11.3:print/dot2tex@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}PuLP>=1.6.8:math/py-PuLP@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyneqsys>=0.5.5:math/py-pyneqsys@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyodesys>=0.13.1:math/py-pyodesys@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyparsing>=2.0.3:devel/py-pyparsing@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}quantities>=0.12.1:science/py-quantities@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>=1.0.1:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sym>=0.3.4:math/py-sym@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sympy>=1.1.1:math/py-sympy@${PY_FLAVOR} \ - ${NUMPY} + ${PYNUMPY} BUILD_DEPENDS= ${PY_DEPENDS} RUN_DEPENDS= ${PY_DEPENDS} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-flakes>0:devel/py-pytest-flakes@${PY_FLAVOR} USES= python:3.5+ USE_PYTHON= distutils autoplist NO_ARCH= yes CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}pymol # https://github.com/schrodinger/pymol-open-source/issues/100 OPTIONS_DEFINE= EXTRAS OPTIONS_DEFAULT= EXTRAS EXTRAS_DESC= Install optional dependencies for additional functionality EXTRAS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}appdirs>0:devel/py-appdirs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}bokeh>=0.11.1:www/py-bokeh@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycodeexport>=0.1.2:devel/py-pycodeexport@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycompilation>=0.4.3:devel/py-pycompilation@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygslodeiv2>=0.9.1:math/py-pygslodeiv2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyodeint>=0.10.1:math/py-pyodeint@${PY_FLAVOR} do-test: @cd ${WRKSRC} && pytest -rs --pyargs chempy .include