diff --git a/science/py-spglib/Makefile b/science/py-spglib/Makefile index 01e37fba4057..c2111d696cb6 100644 --- a/science/py-spglib/Makefile +++ b/science/py-spglib/Makefile @@ -1,38 +1,39 @@ PORTNAME= spglib DISTVERSIONPREFIX= v -DISTVERSION= 2.6.0 +DISTVERSION= 2.7.0 CATEGORIES= science python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Library for finding and handling crystal symmetries (python binding) WWW= https://spglib.readthedocs.io/en/stable/ \ https://github.com/spglib/spglib LICENSE= BSD3CLAUSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-build-core>0:devel/py-scikit-build-core@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyproject-metadata>0:devel/py-pyproject-metadata@${PY_FLAVOR} \ cmake:devel/cmake-core \ ${PYNUMPY} \ ${PY_SETUPTOOLS} LIB_DEPENDS= libsymspg.so:science/spglib RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.9.0:devel/py-typing-extensions@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-benchmark>0:devel/py-pytest-benchmark@${PY_FLAVOR} USES= python USE_PYTHON= pep517 autoplist pytest USE_GITHUB= yes CMAKE_ARGS= -DPython3_EXECUTABLE=${PYTHON_CMD} MAKE_ENV= SETUPTOOLS_SCM_PRETEND_VERSION=${DISTVERSION} TEST_WRKSRC= ${WRKSRC} TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -# tests as of 2.6.0: 3024 passed in 149.52s (0:02:29) +# tests as of 2.7.0: 3034 passed in 21.77s .include diff --git a/science/py-spglib/distinfo b/science/py-spglib/distinfo index b88216427863..555811d156b9 100644 --- a/science/py-spglib/distinfo +++ b/science/py-spglib/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1753137266 -SHA256 (spglib-spglib-v2.6.0_GH0.tar.gz) = c65af71136c915352eb82444b165ec83289877eb8e46593033f199801b43dbf7 -SIZE (spglib-spglib-v2.6.0_GH0.tar.gz) = 2438640 +TIMESTAMP = 1771224175 +SHA256 (spglib-spglib-v2.7.0_GH0.tar.gz) = b22fc9abae9716c574fbc6d55cfc53ed654a714fccc5657a26ff5d18114bd8bd +SIZE (spglib-spglib-v2.7.0_GH0.tar.gz) = 2442495 diff --git a/science/py-spglib/files/patch-pyproject.toml b/science/py-spglib/files/patch-pyproject.toml index d7417075f4d6..6682b0a3ab6e 100644 --- a/science/py-spglib/files/patch-pyproject.toml +++ b/science/py-spglib/files/patch-pyproject.toml @@ -1,21 +1,21 @@ - removal of license-files is a workaround for https://github.com/spglib/spglib/issues/560 ---- pyproject.toml.orig 2025-03-06 12:33:46 UTC +--- pyproject.toml.orig 2025-12-28 09:39:05 UTC +++ pyproject.toml @@ -1,7 +1,7 @@ [build-system] # Numpy build and runtime dependencies are linked to ABI compatibility # A new wheel rebuild is needed when changing these --requires = ["scikit-build-core>=0.11", "numpy~=2.0"] -+requires = ["scikit-build-core>=0.11", "numpy"] +-requires = ["scikit-build-core>=0.11", "numpy~=2.0", "pybind11"] ++requires = ["scikit-build-core>=0.11", "numpy", "pybind11"] build-backend = "scikit_build_core.build" [project] @@ -9,7 +9,6 @@ license = "BSD-3-Clause" requires-python = ">=3.9" description = "This is the spglib module." license = "BSD-3-Clause" -license-files = ["COPYING"] readme = "python/README.rst" dynamic = ["version"] dependencies = [ diff --git a/science/spglib/Makefile b/science/spglib/Makefile index d12f56544466..24b1f59a2acc 100644 --- a/science/spglib/Makefile +++ b/science/spglib/Makefile @@ -1,37 +1,37 @@ PORTNAME= spglib DISTVERSIONPREFIX= v -DISTVERSION= 2.6.0 +DISTVERSION= 2.7.0 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= C library for finding and handling crystal symmetries WWW= https://spglib.github.io/spglib/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING USES= cmake:testing USE_GITHUB= yes USE_LDCONFIG= yes TEST_DEPENDS= googletest>0:devel/googletest CMAKE_OFF= SPGLIB_WITH_TESTS CMAKE_TESTING_ON= SPGLIB_WITH_TESTS .if !exists(/usr/include/omp.h) CMAKE_OFF+= SPGLIB_USE_OMP .else FORTRAN_LDFLAGS= -lomp # workaround for: undefined reference to `__kmpc_fork_call' .endif OPTIONS_DEFINE= FORTRAN OPTIONS_DEFAULT= FORTRAN OPTIONS_SUB= yes FORTRAN_USES= fortran FORTRAN_CMAKE_BOOL= SPGLIB_WITH_Fortran -# tests as of 2.6.0: 100% tests passed, 0 tests failed out of 59 +# tests as of 2.7.0: 100% tests passed, 0 tests failed out of 61 .include diff --git a/science/spglib/distinfo b/science/spglib/distinfo index 85fbb27635db..f5d9a67aa21a 100644 --- a/science/spglib/distinfo +++ b/science/spglib/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1753138641 -SHA256 (spglib-spglib-v2.6.0_GH0.tar.gz) = c65af71136c915352eb82444b165ec83289877eb8e46593033f199801b43dbf7 -SIZE (spglib-spglib-v2.6.0_GH0.tar.gz) = 2438640 +TIMESTAMP = 1771224071 +SHA256 (spglib-spglib-v2.7.0_GH0.tar.gz) = b22fc9abae9716c574fbc6d55cfc53ed654a714fccc5657a26ff5d18114bd8bd +SIZE (spglib-spglib-v2.7.0_GH0.tar.gz) = 2442495 diff --git a/science/spglib/pkg-plist b/science/spglib/pkg-plist index 5315006f0e5c..f43284ad125e 100644 --- a/science/spglib/pkg-plist +++ b/science/spglib/pkg-plist @@ -1,19 +1,19 @@ include/spglib.h %%FORTRAN%%include/spglib_f08.F90 %%FORTRAN%%include/spglib_f08.mod lib/cmake/Spglib/PackageCompsHelper.cmake lib/cmake/Spglib/SpglibConfig.cmake lib/cmake/Spglib/SpglibConfigVersion.cmake %%FORTRAN%%lib/cmake/Spglib/SpglibTargets_fortran_shared-%%CMAKE_BUILD_TYPE%%.cmake %%FORTRAN%%lib/cmake/Spglib/SpglibTargets_fortran_shared.cmake lib/cmake/Spglib/SpglibTargets_shared-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/Spglib/SpglibTargets_shared.cmake %%FORTRAN%%lib/cmake/Spglib/try_compile.f90 %%FORTRAN%%lib/libspglib_f08.so %%FORTRAN%%lib/libspglib_f08.so.2 -%%FORTRAN%%lib/libspglib_f08.so.2.6.0 +%%FORTRAN%%lib/libspglib_f08.so.2.7.0 lib/libsymspg.so lib/libsymspg.so.2 -lib/libsymspg.so.2.6.0 +lib/libsymspg.so.2.7.0 libdata/pkgconfig/spglib.pc %%FORTRAN%%libdata/pkgconfig/spglib_f08.pc