diff --git a/science/py-symfc/Makefile b/science/py-symfc/Makefile index 29a0b8a9f93a..452bc303c020 100644 --- a/science/py-symfc/Makefile +++ b/science/py-symfc/Makefile @@ -1,31 +1,33 @@ PORTNAME= symfc -DISTVERSION= 1.3.1 +DISTVERSION= 1.6.1 CATEGORIES= science python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Generate symmetrized force constants WWW= https://github.com/symfc/symfc LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}spglib>0:science/py-spglib@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}phono3py>0:science/py-phono3py@${PY_FLAVOR} USES= python USE_PYTHON= pep517 cython autoplist pytest TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} TEST_WRKSRC= ${WRKSRC}/tests NO_ARCH= yes # tests as of 1.1.5: 21 failed, 36 passed, 22 warnings in 26.89s, see https://github.com/symfc/symfc/issues/133 # tests as of 1.3.1: 26 failed, 41 passed, 27 warnings in 45.46s +# tests as of 1.6.1: Tests fail: No such file or directory: 'phono3py_params_Si-111-222-rd.yaml.xz', see https://github.com/symfc/symfc/issues/273 .include diff --git a/science/py-symfc/distinfo b/science/py-symfc/distinfo index 5a90cabc9b78..c7ffb9632ab9 100644 --- a/science/py-symfc/distinfo +++ b/science/py-symfc/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1738861057 -SHA256 (symfc-1.3.1.tar.gz) = 6cbbf5fb041ed34dea5b5c04b201aa0fd89880d4ebaee616398bb3a6a37476e0 -SIZE (symfc-1.3.1.tar.gz) = 839329 +TIMESTAMP = 1771223742 +SHA256 (symfc-1.6.1.tar.gz) = c9a5e727aea35701585c40ec9bbfb06b3e7a1ca2ee6e2fa5a1fe6dfd0c9a805a +SIZE (symfc-1.6.1.tar.gz) = 850174 diff --git a/science/py-symfc/files/patch-pyproject.toml b/science/py-symfc/files/patch-pyproject.toml new file mode 100644 index 000000000000..6d4f99121c78 --- /dev/null +++ b/science/py-symfc/files/patch-pyproject.toml @@ -0,0 +1,10 @@ +--- pyproject.toml.orig 2026-02-16 06:35:56 UTC ++++ pyproject.toml +@@ -19,7 +19,6 @@ dependencies = [ + "scipy != 1.11.0, != 1.11.1, != 1.11.2, !=1.17.0", + "spglib>=2.5", + ] +-license-files = ["LICENSE"] + + [project.urls] + "Homepage" = "https://github.com/symfc/symfc"