diff --git a/science/py-phono3py/Makefile b/science/py-phono3py/Makefile index af0d8d8670cb..28d23b4d0be4 100644 --- a/science/py-phono3py/Makefile +++ b/science/py-phono3py/Makefile @@ -1,28 +1,39 @@ PORTNAME= phono3py -DISTVERSION= 1.22.3 -PORTREVISION= 4 +DISTVERSION= 3.7.0 CATEGORIES= science python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Software to calculate phonon-phonon interaction and related properties -WWW= https://atztogo.github.io/phono3py/ +WWW= https://phonopy.github.io/phono3py/ \ + https://github.com/phonopy/phono3py LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE PY_DEPENDS= ${PYNUMPY} \ - ${PYTHON_PKGNAMEPREFIX}h5py>0:science/py-h5py@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}phonopy>=2.9.3:science/py-phonopy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}h5py>=3.0:science/py-h5py@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}matplotlib>=2.2.2:math/py-matplotlib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}phonopy>=2.30:science/py-phonopy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}spglib>0:science/py-spglib@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR} -BUILD_DEPENDS= ${PY_DEPENDS} + ${PYTHON_PKGNAMEPREFIX}spglib>=2.3:science/py-spglib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.3:devel/py-pyyaml@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scikit-build-core>0:devel/py-scikit-build-core@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}nanobind>0:devel/py-nanobind@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \ + cmake:devel/cmake-core \ + ${PY_DEPENDS} RUN_DEPENDS= ${PY_DEPENDS} +CFLAGS+= -fPIC + USES= blaslapack:openblas fortran localbase python -USE_PYTHON= distutils cython autoplist +USE_PYTHON= pep517 cython autoplist pytest + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +# tests as of 3.7.0: 141 failed, 12 passed, 5 skipped, 1 warning, 39 errors in 433.87s (0:07:13) +# - tests fail to find mubmodules that are installed and import fine when run standalone .include diff --git a/science/py-phono3py/distinfo b/science/py-phono3py/distinfo index eedd80ba1f86..978638e08932 100644 --- a/science/py-phono3py/distinfo +++ b/science/py-phono3py/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1616221351 -SHA256 (phono3py-1.22.3.tar.gz) = 0783904cbdc8816f5cebcfe878da869f662163f12c8ca986654c054fb9b9f2fa -SIZE (phono3py-1.22.3.tar.gz) = 4784995 +TIMESTAMP = 1731827430 +SHA256 (phono3py-3.7.0.tar.gz) = 0ba4816425795f59a9de986552e0ec797d47d0775946e4285febe9c0ef1fd387 +SIZE (phono3py-3.7.0.tar.gz) = 9348298