git: 578b3b501680 - main - science/py-phonopy: Add missing dependency
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 25 Jul 2026 04:24:50 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=578b3b501680a20de25c275c8c67cc7e1259a240
commit 578b3b501680a20de25c275c8c67cc7e1259a240
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-07-22 18:34:11 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-07-25 04:24:22 +0000
science/py-phonopy: Add missing dependency
---
science/py-phonopy/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/science/py-phonopy/Makefile b/science/py-phonopy/Makefile
index a571bb957df8..d91503740fac 100644
--- a/science/py-phonopy/Makefile
+++ b/science/py-phonopy/Makefile
@@ -1,5 +1,6 @@
PORTNAME= phonopy
DISTVERSION= 4.4.0
+PORTREVISION= 1
CATEGORIES= science python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -24,6 +25,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}h5py>=3.0:science/py-h5py@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyyaml>=5.3:devel/py-pyyaml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}spglib>=2.5:science/py-spglib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}symfc>=1.7:science/py-symfc@${PY_FLAVOR}
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}phonors>0:science/py-phonors@${PY_FLAVOR} # undeclared dependency of phonopy, but required for run and tests
USES= python
USE_PYTHON= pep517 autoplist pytest
@@ -35,4 +37,6 @@ post-install:
@${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/phonopy -maxdepth 1 -name '_phonopy*.so' -exec ${STRIP_CMD} {} +
@${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/phonopy -maxdepth 1 -name '_recgrid*.so' -exec ${STRIP_CMD} {} +
+# tests as of 4.4.0: 1332 passed, 25 skipped, 81 warnings in 108.92s (0:01:48)
+
.include <bsd.port.mk>