diff options
Diffstat (limited to 'misc/py-fastscapelib')
-rw-r--r-- | misc/py-fastscapelib/Makefile | 8 | ||||
-rw-r--r-- | misc/py-fastscapelib/distinfo | 6 | ||||
-rw-r--r-- | misc/py-fastscapelib/files/patch-pyproject.toml | 14 |
3 files changed, 15 insertions, 13 deletions
diff --git a/misc/py-fastscapelib/Makefile b/misc/py-fastscapelib/Makefile index 42412318de85..9bbc7d6f603c 100644 --- a/misc/py-fastscapelib/Makefile +++ b/misc/py-fastscapelib/Makefile @@ -1,6 +1,6 @@ PORTNAME= fastscapelib DISTVERSIONPREFIX= v -DISTVERSION= 0.2.2 +DISTVERSION= 0.3.0 CATEGORIES= misc PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,9 +12,6 @@ WWW= https://fastscapelib.readthedocs.io/en/latest/ \ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_FreeBSD_13= compilation fails with clang-19, see https://github.com/fastscape-lem/fastscapelib/issues/168 -BROKEN_FreeBSD_15= compilation fails with clang-19, see https://github.com/fastscape-lem/fastscapelib/issues/168 - BUILD_DEPENDS= cmake:devel/cmake-core \ xtensor>0:math/xtensor \ xtensor-python>0:math/xtensor-python \ @@ -23,6 +20,7 @@ BUILD_DEPENDS= cmake:devel/cmake-core \ ${PYTHON_PKGNAMEPREFIX}pyproject-metadata>0:devel/py-pyproject-metadata@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-build>0:devel/py-scikit-build@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-build-core>0:devel/py-scikit-build-core@${PY_FLAVOR} +LIB_DEPENDS= libhealpix_cxx.so:science/healpix RUN_DEPENDS= ${PYNUMPY} USES= python @@ -33,4 +31,6 @@ GH_ACCOUNT= fastscape-lem TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} +# tests as of 0.3.0: 174 passed in 131.81s (0:02:11) + .include <bsd.port.mk> diff --git a/misc/py-fastscapelib/distinfo b/misc/py-fastscapelib/distinfo index 0acea30dc66f..18edab22ebca 100644 --- a/misc/py-fastscapelib/distinfo +++ b/misc/py-fastscapelib/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1717651075 -SHA256 (fastscape-lem-fastscapelib-v0.2.2_GH0.tar.gz) = 21cac72a0586d1ceb1080eadbb60a7b7e81a4d6a7b56edbc696f92ff87fc6566 -SIZE (fastscape-lem-fastscapelib-v0.2.2_GH0.tar.gz) = 537207 +TIMESTAMP = 1760416384 +SHA256 (fastscape-lem-fastscapelib-v0.3.0_GH0.tar.gz) = bfd3e8549a9bdd3ae3f0ba0ce4b1d8767d2bb8d163fd6be5d4beb35a9a36bcd0 +SIZE (fastscape-lem-fastscapelib-v0.3.0_GH0.tar.gz) = 733594 diff --git a/misc/py-fastscapelib/files/patch-pyproject.toml b/misc/py-fastscapelib/files/patch-pyproject.toml index 703b73ab414a..fb123612f4a7 100644 --- a/misc/py-fastscapelib/files/patch-pyproject.toml +++ b/misc/py-fastscapelib/files/patch-pyproject.toml @@ -1,10 +1,12 @@ ---- pyproject.toml.orig 2023-10-10 18:00:46 UTC +--- pyproject.toml.orig 2025-06-25 14:33:51 UTC +++ pyproject.toml -@@ -4,7 +4,7 @@ requires = [ - "pybind11", - # TODO: replace by "numpy>=1.25.0,<2" when dropping py3.8 support. - # https://github.com/scipy/oldest-supported-numpy/issues/76 -- "oldest-supported-numpy", +@@ -4,8 +4,8 @@ requires = [ + # pybind11 2.12 added support for numpy 2.0 + # pybind11 doesn't require numpy at build time, but xtensor-python does! + # packages built with numpy 2.x are compatible with numpy 1.xx +- "pybind11>=2.12,<3", +- "numpy>=2.0,<3", ++ "pybind11", + "numpy", ] build-backend = "scikit_build_core.build" |