Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Nov 2024 00:13:32 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 19e0f62750a5 - main - science/py-phono3py: update 1.22.3 =?utf-8?Q?=E2=86=92?= 3.7.0
Message-ID:  <202411180013.4AI0DWFb067080@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

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

commit 19e0f62750a52ed7b859a7e88778144217a2edb9
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-11-17 18:23:51 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-11-18 00:13:27 +0000

    science/py-phono3py: update 1.22.3 → 3.7.0
---
 science/py-phono3py/Makefile | 31 +++++++++++++++++++++----------
 science/py-phono3py/distinfo |  6 +++---
 2 files changed, 24 insertions(+), 13 deletions(-)

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 <bsd.port.mk>
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411180013.4AI0DWFb067080>