git: a976366ad1b9 - main - science/py-hiphive: Move to py-hiPhive; update 1.2 → 1.5
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 29 Oct 2025 03:42:30 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a976366ad1b9110181ccec887427a39f16acdaec
commit a976366ad1b9110181ccec887427a39f16acdaec
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-10-29 03:38:21 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-10-29 03:42:25 +0000
science/py-hiphive: Move to py-hiPhive; update 1.2 → 1.5
---
MOVED | 1 +
science/Makefile | 2 +-
science/{py-hiphive => py-hiPhive}/Makefile | 24 ++++++++++++++++++------
science/py-hiPhive/distinfo | 3 +++
science/{py-hiphive => py-hiPhive}/pkg-descr | 0
science/py-hiphive/distinfo | 3 ---
science/py-phonopy/Makefile | 4 ++--
7 files changed, 25 insertions(+), 12 deletions(-)
diff --git a/MOVED b/MOVED
index ac63da329010..01f504037ce9 100644
--- a/MOVED
+++ b/MOVED
@@ -4833,3 +4833,4 @@ devel/rubygem-vite_ruby33|devel/rubygem-vite_ruby-gitlab|2025-10-25|Use devel/ru
devel/rubygem-multi_json114|devel/rubygem-multi_json-gitlab|2025-10-25|Use devel/rubygem-multi_json-gitlab instead
devel/pycomposefile|devel/py-pycomposefile|2025-10-27|Rename to add py- prefix. Move devel/pycomposefile to devel/py-pycomposefile
devel/rubygem-fugit111|devel/rubygem-fugit|2025-10-27|Remove obsoleted port. Use devel/rubygem-fugit instead
+science/py-hiphive|science/py-hiPhive|2025-10-28|Spelling changed into camel case on PYPI and GH
diff --git a/science/Makefile b/science/Makefile
index 9141575c630d..49e7fd5df0dc 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -351,7 +351,7 @@
SUBDIR += py-h5netcdf
SUBDIR += py-h5py
SUBDIR += py-h5pyd
- SUBDIR += py-hiphive
+ SUBDIR += py-hiPhive
SUBDIR += py-hoomd-blue
SUBDIR += py-icet
SUBDIR += py-inequality
diff --git a/science/py-hiphive/Makefile b/science/py-hiPhive/Makefile
similarity index 55%
rename from science/py-hiphive/Makefile
rename to science/py-hiPhive/Makefile
index f81c2e5085a0..32e729c27d4c 100644
--- a/science/py-hiphive/Makefile
+++ b/science/py-hiPhive/Makefile
@@ -1,17 +1,20 @@
-PORTNAME= hiphive
-DISTVERSION= 1.2
-PORTREVISION= 2
+PORTNAME= hiPhive
+DISTVERSION= 1.5
CATEGORIES= science python
-MASTER_SITES= PYPI
+#MASTER_SITES= PYPI # no tests
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+#DISTNAME= ${PORTNAME:tl}-${DISTVERSION}
MAINTAINER= yuri@FreeBSD.org
COMMENT= High-order force constants for the masses
-WWW= https://hiphive.materialsmodeling.org/
+WWW= https://hiphive.materialsmodeling.org/ \
+ https://gitlab.com/materials-modeling/hiphive/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ase>0:science/py-ase@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}h5py>0:science/py-h5py@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}numba>=0.55:devel/py-numba@${PY_FLAVOR} \
@@ -24,8 +27,17 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ase>0:science/py-ase@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}trainstation>=0.2:science/py-trainstation@${PY_FLAVOR}
USES= python
-USE_PYTHON= distutils autoplist pytest # tests fail due to the numba bug: https://github.com/numba/numba/issues/9130
+USE_PYTHON= pep517 autoplist pytest # tests fail due to the numba bug: https://github.com/numba/numba/issues/9130
+
+USE_GITLAB= yes
+GL_ACCOUNT= materials-modeling
+GL_PROJECT= ${PORTNAME:tl}
+
+TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+TEST_WRKSRC= ${WRKSRC}/tests
NO_ARCH= yes
+# tests as of 1.5: 102 passed, 4 warnings, 1 error in 90.96s (0:01:30), see https://gitlab.com/materials-modeling/hiphive/-/issues/578
+
.include <bsd.port.mk>
diff --git a/science/py-hiPhive/distinfo b/science/py-hiPhive/distinfo
new file mode 100644
index 000000000000..94bbbd25b014
--- /dev/null
+++ b/science/py-hiPhive/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1761708372
+SHA256 (hiphive-1.5.tar.bz2) = d621600f453f0172db938bb22124ed9128d8bce6ebcfff24345928371e72e466
+SIZE (hiphive-1.5.tar.bz2) = 1892547
diff --git a/science/py-hiphive/pkg-descr b/science/py-hiPhive/pkg-descr
similarity index 100%
rename from science/py-hiphive/pkg-descr
rename to science/py-hiPhive/pkg-descr
diff --git a/science/py-hiphive/distinfo b/science/py-hiphive/distinfo
deleted file mode 100644
index 70ba8046568e..000000000000
--- a/science/py-hiphive/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1691814711
-SHA256 (hiphive-1.2.tar.gz) = af1be045131e0d2ccfae58d513d2b6c7f3369dbe56c916e31c36d15c7c9394eb
-SIZE (hiphive-1.2.tar.gz) = 1472541
diff --git a/science/py-phonopy/Makefile b/science/py-phonopy/Makefile
index 3ec6ed90d710..79dbf1631966 100644
--- a/science/py-phonopy/Makefile
+++ b/science/py-phonopy/Makefile
@@ -1,6 +1,6 @@
PORTNAME= phonopy
DISTVERSION= 2.42.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= science python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -26,7 +26,7 @@ RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}symfc>=1.1.6:science/py-symfc@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyyaml>=5.3:devel/py-pyyaml@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}hiphive>0:science/py-hiphive@${PY_FLAVOR}
+ ${PYTHON_PKGNAMEPREFIX}hiPhive>0:science/py-hiPive@${PY_FLAVOR}
USES= python
USE_PYTHON= pep517 cython autoplist pytest