git: d2ac0e7521f4 - main - science/{,py-}phonopy: update 2.24.3 → 2.26.3

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 09 Jul 2024 09:12:16 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d2ac0e7521f400bd03be8d78b54d8fdd09202887

commit d2ac0e7521f400bd03be8d78b54d8fdd09202887
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-07-09 09:02:48 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-07-09 09:12:12 +0000

    science/{,py-}phonopy: update 2.24.3 → 2.26.3
    
    Reported by:    portscout
---
 science/phonopy/Makefile    | 11 +++++------
 science/phonopy/distinfo    |  6 +++---
 science/py-phonopy/Makefile | 16 +++++++++-------
 science/py-phonopy/distinfo |  6 +++---
 4 files changed, 20 insertions(+), 19 deletions(-)

diff --git a/science/phonopy/Makefile b/science/phonopy/Makefile
index 762a6a8543ab..31e838e303f3 100644
--- a/science/phonopy/Makefile
+++ b/science/phonopy/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	phonopy
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.24.3
+DISTVERSION=	2.26.3
 CATEGORIES=	science python
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -15,12 +15,11 @@ USE_LDCONFIG=	yes
 
 USE_GITHUB=	yes
 
-CMAKE_ON=	PHONOPY BUILD_SHARED_LIBRARIES
+CMAKE_ON=	PHONOPY PHONOPY_LIBS BUILD_SHARED_LIBS
 
 PLIST_FILES=	include/phonopy.h \
-		lib/libphpy.a \
-		lib/libphpy.so \
-		lib/libphpy.so.1 \
-		lib/libphpy.so.${DISTVERSION}
+		lib/libphonopy_libs.so \
+		lib/libphonopy_libs.so.1 \
+		lib/libphonopy_libs.so.${DISTVERSION}
 
 .include <bsd.port.mk>
diff --git a/science/phonopy/distinfo b/science/phonopy/distinfo
index da6c19feaf88..3041bf545885 100644
--- a/science/phonopy/distinfo
+++ b/science/phonopy/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1718790170
-SHA256 (phonopy-phonopy-v2.24.3_GH0.tar.gz) = bc406a872634ddc3cdbfd2af32da9c25cc7e5bd731755b71cc99076593b8c33b
-SIZE (phonopy-phonopy-v2.24.3_GH0.tar.gz) = 7003824
+TIMESTAMP = 1720511777
+SHA256 (phonopy-phonopy-v2.26.3_GH0.tar.gz) = 3d7ba40239b37dd0396eb69541bf2f2328d0164f1f54ec792d1be52797f12ed1
+SIZE (phonopy-phonopy-v2.26.3_GH0.tar.gz) = 7020364
diff --git a/science/py-phonopy/Makefile b/science/py-phonopy/Makefile
index d084defe8d3b..1ce9740994bd 100644
--- a/science/py-phonopy/Makefile
+++ b/science/py-phonopy/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	phonopy
-DISTVERSION=	2.24.3
-PORTREVISION=	1
+DISTVERSION=	2.26.3
 CATEGORIES=	science python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,18 +11,21 @@ WWW=		https://phonopy.github.io/phonopy/
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-PY_DEPENDS=	${PYNUMPY} \
+BUILD_DEPENDS=	cmake:devel/cmake-core \
+		${PYTHON_PKGNAMEPREFIX}nanobind>0:devel/py-nanobind@${PY_FLAVOR} \
+		${PYNUMPY} \
+		${PYTHON_PKGNAMEPREFIX}scikit-build-core>0:devel/py-scikit-build-core@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR}
+RUN_DEPENDS=	${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}h5py>0:science/py-h5py@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}matplotlib>=2.2.2:math/py-matplotlib@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}spglib>=2.3:science/py-spglib@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR}
-BUILD_DEPENDS=	${PY_DEPENDS}
-RUN_DEPENDS=	${PY_DEPENDS}
+		${PYTHON_PKGNAMEPREFIX}pyyaml>0: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}
 
 USES=		python
-USE_PYTHON=	distutils cython autoplist pytest
+USE_PYTHON=	pep517 cython autoplist pytest
 
 TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 TEST_WRKSRC=	${WRKSRC}/test
diff --git a/science/py-phonopy/distinfo b/science/py-phonopy/distinfo
index 52c544c62409..61c3fc96e14d 100644
--- a/science/py-phonopy/distinfo
+++ b/science/py-phonopy/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1718790221
-SHA256 (phonopy-2.24.3.tar.gz) = 547b627c20b6f0628813ed28cf5c0c82667d1bafab4fc9c5d0f1bab589218c6f
-SIZE (phonopy-2.24.3.tar.gz) = 4049261
+TIMESTAMP = 1720512685
+SHA256 (phonopy-2.26.3.tar.gz) = c3677c7e382c60763fea74e1de531ebe7b3d99065b7df91ad2e3034c8b908be7
+SIZE (phonopy-2.26.3.tar.gz) = 4032166