1
0
mirror of https://git.freebsd.org/ports.git synced 2026-06-02 11:08:52 +00:00

misc/{,py-}fastscapelib: update 0.2.2 → 0.3.0

This commit is contained in:
Yuri Victorovich
2025-10-14 23:56:31 -07:00
parent 808a0865a3
commit eb4ad8cc67
6 changed files with 32 additions and 20 deletions
+7 -3
View File
@@ -1,6 +1,6 @@
PORTNAME= fastscapelib
DISTVERSIONPREFIX= v
DISTVERSION= 0.2.2
DISTVERSION= 0.3.0
CATEGORIES= misc
MAINTAINER= yuri@FreeBSD.org
@@ -10,8 +10,10 @@ WWW= https://fastscapelib.readthedocs.io/en/latest/
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= xtensor>0:math/xtensor
RUN_DEPENDS= xtensor>0:math/xtensor
BUILD_DEPENDS= healpix>0:science/healpix \
xtensor>0:math/xtensor
RUN_DEPENDS= healpix>0:science/healpix \
xtensor>0:math/xtensor
USES= cmake:testing
@@ -22,4 +24,6 @@ CMAKE_TESTING_ON= FS_BUILD_TESTS
NO_ARCH= yes
# tests as of 0.3.0: 100% tests passed, 0 tests failed out of 162
.include <bsd.port.mk>
+3 -3
View File
@@ -1,3 +1,3 @@
TIMESTAMP = 1717650943
SHA256 (fastscape-lem-fastscapelib-v0.2.2_GH0.tar.gz) = 21cac72a0586d1ceb1080eadbb60a7b7e81a4d6a7b56edbc696f92ff87fc6566
SIZE (fastscape-lem-fastscapelib-v0.2.2_GH0.tar.gz) = 537207
TIMESTAMP = 1760501532
SHA256 (fastscape-lem-fastscapelib-v0.3.0_GH0.tar.gz) = bfd3e8549a9bdd3ae3f0ba0ce4b1d8767d2bb8d163fd6be5d4beb35a9a36bcd0
SIZE (fastscape-lem-fastscapelib-v0.3.0_GH0.tar.gz) = 733594
+7 -1
View File
@@ -4,20 +4,26 @@ include/fastscapelib/eroders/spl.hpp
include/fastscapelib/flow/basin_graph.hpp
include/fastscapelib/flow/flow_graph.hpp
include/fastscapelib/flow/flow_graph_impl.hpp
include/fastscapelib/flow/flow_kernel.hpp
include/fastscapelib/flow/flow_operator.hpp
include/fastscapelib/flow/flow_router.hpp
include/fastscapelib/flow/flow_snapshot.hpp
include/fastscapelib/flow/sink_resolver.hpp
include/fastscapelib/grid/base.hpp
include/fastscapelib/grid/healpix_grid.hpp
include/fastscapelib/grid/profile_grid.hpp
include/fastscapelib/grid/raster_grid.hpp
include/fastscapelib/grid/structured_grid.hpp
include/fastscapelib/grid/trimesh.hpp
include/fastscapelib/utils/consts.hpp
include/fastscapelib/utils/containers.hpp
include/fastscapelib/utils/eigen_containers.hpp
include/fastscapelib/utils/impl/thread_pool_inl.hpp
include/fastscapelib/utils/iterators.hpp
include/fastscapelib/utils/thread_pool.hpp
include/fastscapelib/utils/union_find.hpp
include/fastscapelib/utils/utils.hpp
include/fastscapelib/utils/xtensor_utils.hpp
include/fastscapelib/utils/xtensor_containers.hpp
include/fastscapelib/version.hpp
lib/cmake/fastscapelib/fastscapelibConfig.cmake
lib/cmake/fastscapelib/fastscapelibConfigVersion.cmake
+4 -4
View File
@@ -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>
+3 -3
View File
@@ -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
@@ -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"