Date: Mon, 27 Apr 2026 13:10:32 +0000 From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: e53c201510f9 - main - graphics/py-h3: Update to 4.4.2 Message-ID: <69ef6048.31feb.503f540b@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=e53c201510f995f7c09d0cb4c02e00f4f12b9334 commit e53c201510f995f7c09d0cb4c02e00f4f12b9334 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2026-04-27 13:02:19 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2026-04-27 13:07:00 +0000 graphics/py-h3: Update to 4.4.2 Changes: https://github.com/uber/h3-py/releases --- graphics/py-h3/Makefile | 11 +++++------ graphics/py-h3/distinfo | 6 +++--- graphics/py-h3/files/patch-CMakeLists.txt | 15 +++++++++++---- graphics/py-h3/files/patch-pyproject.toml | 8 -------- 4 files changed, 19 insertions(+), 21 deletions(-) diff --git a/graphics/py-h3/Makefile b/graphics/py-h3/Makefile index 46ed36c36fbb..6b86f3885776 100644 --- a/graphics/py-h3/Makefile +++ b/graphics/py-h3/Makefile @@ -1,6 +1,5 @@ PORTNAME= h3 -PORTVERSION= 3.7.7 -PORTREVISION= 2 +PORTVERSION= 4.4.2 CATEGORIES= graphics python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,10 +12,10 @@ WWW= https://uber.github.io/h3-py/ \ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= h3>=3.7.2:graphics/h3 \ - ${PYTHON_PKGNAMEPREFIX}scikit-build>=0:devel/py-scikit-build@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +BUILD_DEPENDS= h3>=4.4.1:graphics/h3 \ + ${PYTHON_PKGNAMEPREFIX}scikit-build-core>=0:devel/py-scikit-build-core@${PY_FLAVOR} +# ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} +# ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} LIB_DEPENDS= libh3.so:graphics/h3 TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy1>=0:math/py-numpy1@${PY_FLAVOR} diff --git a/graphics/py-h3/distinfo b/graphics/py-h3/distinfo index 9d2271b731bb..145ead92a82e 100644 --- a/graphics/py-h3/distinfo +++ b/graphics/py-h3/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1710712506 -SHA256 (h3-3.7.7.tar.gz) = 33d141c3cef0725a881771fd8cb80c06a0db84a6e4ca5c647ce095ae07c61e94 -SIZE (h3-3.7.7.tar.gz) = 192246 +TIMESTAMP = 1777252544 +SHA256 (h3-4.4.2.tar.gz) = b25ab9f339e40b10dcb5e2e6988d07672e780a4950d79c25380d308cdf14f82f +SIZE (h3-4.4.2.tar.gz) = 171891 diff --git a/graphics/py-h3/files/patch-CMakeLists.txt b/graphics/py-h3/files/patch-CMakeLists.txt index 232444f5b742..33ecd460b966 100644 --- a/graphics/py-h3/files/patch-CMakeLists.txt +++ b/graphics/py-h3/files/patch-CMakeLists.txt @@ -1,8 +1,8 @@ ---- CMakeLists.txt.orig 2022-11-24 19:38:22 UTC +--- CMakeLists.txt.orig 2022-11-09 12:37:21 UTC +++ CMakeLists.txt -@@ -6,28 +6,6 @@ set(CMAKE_POSITION_INDEPENDENT_CODE ON) - # Always make a release build - set(CMAKE_BUILD_TYPE Release) +@@ -11,35 +11,6 @@ find_package( + COMPONENTS Interpreter Development.Module + REQUIRED) -# Avoid building tooling we won't need for release -# See all options with `cmake -LA` in an `h3/build` directory, @@ -29,3 +29,10 @@ # Build the rest (other than the core library dependency) as shared set(BUILD_SHARED_LIBS ON) add_subdirectory(src/h3) +- +-# Include built h3api.h for Cython API +-install( +- FILES +- "${CMAKE_CURRENT_BINARY_DIR}/src/h3lib/src/h3lib/include/h3api.h" +- DESTINATION +- ${SKBUILD_PROJECT_NAME}/_cy) diff --git a/graphics/py-h3/files/patch-pyproject.toml b/graphics/py-h3/files/patch-pyproject.toml deleted file mode 100644 index 52147e92455e..000000000000 --- a/graphics/py-h3/files/patch-pyproject.toml +++ /dev/null @@ -1,8 +0,0 @@ ---- pyproject.toml.orig 2024-03-09 18:55:18 UTC -+++ pyproject.toml -@@ -2,5 +2,4 @@ requires = [ - requires = [ - 'scikit-build', - 'cython', -- 'cmake', - ]home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69ef6048.31feb.503f540b>
