diff options
Diffstat (limited to '')
-rw-r--r-- | science/py-spglib/Makefile | 11 | ||||
-rw-r--r-- | science/py-spglib/distinfo | 6 | ||||
-rw-r--r-- | science/py-spglib/files/patch-pyproject.toml | 12 |
3 files changed, 16 insertions, 13 deletions
diff --git a/science/py-spglib/Makefile b/science/py-spglib/Makefile index 14ad98f6aa4a..01e37fba4057 100644 --- a/science/py-spglib/Makefile +++ b/science/py-spglib/Makefile @@ -1,7 +1,6 @@ PORTNAME= spglib DISTVERSIONPREFIX= v -DISTVERSION= 2.5.0 -PORTREVISION= 1 +DISTVERSION= 2.6.0 CATEGORIES= science python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -19,10 +18,12 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@$ ${PYNUMPY} \ ${PY_SETUPTOOLS} LIB_DEPENDS= libsymspg.so:science/spglib -RUN_DEPENDS= ${PYNUMPY} +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 # tests fail to run, see https://github.com/spglib/spglib/issues/192 +USE_PYTHON= pep517 autoplist pytest USE_GITHUB= yes CMAKE_ARGS= -DPython3_EXECUTABLE=${PYTHON_CMD} @@ -32,4 +33,6 @@ 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) + .include <bsd.port.mk> diff --git a/science/py-spglib/distinfo b/science/py-spglib/distinfo index 48711790a26d..b88216427863 100644 --- a/science/py-spglib/distinfo +++ b/science/py-spglib/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1720768210 -SHA256 (spglib-spglib-v2.5.0_GH0.tar.gz) = b6026f5e85106c0c9ee57e54b9399890d0f29982e20e96ede0428b3efbe6b914 -SIZE (spglib-spglib-v2.5.0_GH0.tar.gz) = 2926427 +TIMESTAMP = 1753137266 +SHA256 (spglib-spglib-v2.6.0_GH0.tar.gz) = c65af71136c915352eb82444b165ec83289877eb8e46593033f199801b43dbf7 +SIZE (spglib-spglib-v2.6.0_GH0.tar.gz) = 2438640 diff --git a/science/py-spglib/files/patch-pyproject.toml b/science/py-spglib/files/patch-pyproject.toml index 38d350736f4d..d7417075f4d6 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 2024-07-11 08:36:56 UTC +--- pyproject.toml.orig 2025-03-06 12:33:46 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", "numpy~=2.0"] -+requires = ["scikit-build-core", "numpy"] +-requires = ["scikit-build-core>=0.11", "numpy~=2.0"] ++requires = ["scikit-build-core>=0.11", "numpy"] build-backend = "scikit_build_core.build" [project] -@@ -9,7 +9,6 @@ license = { text = "BSD-3-Clause" } +@@ -9,7 +9,6 @@ license = "BSD-3-Clause" requires-python = ">=3.9" description = "This is the spglib module." - license = { text = "BSD-3-Clause" } --license-files = { paths = ["COPYING"] } + license = "BSD-3-Clause" +-license-files = ["COPYING"] readme = "python/README.rst" dynamic = ["version"] dependencies = [ |