git: 321cf4222e47 - main - graphics/py-pandana: Update to 0.8

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 29 Sep 2026 19:30:36 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=321cf4222e475931b6b42129e79502b8a1b67216

commit 321cf4222e475931b6b42129e79502b8a1b67216
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-09-29 19:00:12 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-09-29 19:25:00 +0000

    graphics/py-pandana: Update to 0.8
    
    - Update LICENSE
    
    Changes:        https://github.com/UDST/pandana/releases
                    https://udst.github.io/pandana/changelog.html
---
 graphics/py-pandana/Makefile                   | 19 +++++++++----------
 graphics/py-pandana/distinfo                   |  6 +++---
 graphics/py-pandana/files/patch-pyproject.toml | 11 +++++++++++
 graphics/py-pandana/files/patch-setup.py       | 12 ------------
 4 files changed, 23 insertions(+), 25 deletions(-)

diff --git a/graphics/py-pandana/Makefile b/graphics/py-pandana/Makefile
index 3e1e033cfa5d..8bbff7b80010 100644
--- a/graphics/py-pandana/Makefile
+++ b/graphics/py-pandana/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	pandana
-PORTVERSION=	0.6.1
-PORTREVISION=	6
+PORTVERSION=	0.8
 CATEGORIES=	graphics python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,23 +9,23 @@ COMMENT=	Python library for network analysis
 WWW=		https://udst.github.io/pandana/ \
 		https://github.com/UDST/pandana
 
-LICENSE=	AGPLv3
+LICENSE=	AGPLv3+
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 .if !exists(/usr/include/omp.h)
 BROKEN=		requires OpenMP support that is missing on this architecture
 .endif
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.8,1:math/py-numpy@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=2.0,1:math/py-numpy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.8,1:math/py-numpy@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pandas>=0.17,1:math/py-pandas@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.26,1:math/py-numpy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pandas>=2.2,1:math/py-pandas@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>=2.0:www/py-requests@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}scikit-learn>=0.18:science/py-scikit-learn@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}tables>=3.1:devel/py-tables@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}scikit-learn>=1.5:science/py-scikit-learn@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tables>=3.10:devel/py-tables@${PY_FLAVOR}
 
-USES=		compiler:c++11-lang python
+USES=		compiler:c++17-lang python
 USE_PYTHON=	autoplist concurrent cython pep517
 
 post-install:
diff --git a/graphics/py-pandana/distinfo b/graphics/py-pandana/distinfo
index 0b672745b19b..b22da5f5ef75 100644
--- a/graphics/py-pandana/distinfo
+++ b/graphics/py-pandana/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1620405433
-SHA256 (pandana-0.6.1.tar.gz) = 7bcaf6e7bb3faccaf306846bf30838d8e94b3ebd58e971da8c3fe426f1f9288c
-SIZE (pandana-0.6.1.tar.gz) = 401439
+TIMESTAMP = 1790435880
+SHA256 (pandana-0.8.tar.gz) = 1a179b0e4cffa8287a0724f67c2f666891bdeb203288bd68181ca86189e3014d
+SIZE (pandana-0.8.tar.gz) = 216875
diff --git a/graphics/py-pandana/files/patch-pyproject.toml b/graphics/py-pandana/files/patch-pyproject.toml
new file mode 100644
index 000000000000..c231108035f4
--- /dev/null
+++ b/graphics/py-pandana/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig	2026-08-24 20:11:07 UTC
++++ pyproject.toml
+@@ -1,7 +1,7 @@ requires = [
+ [build-system]
+ # Requirements for building the compiled package
+ requires = [
+-        "setuptools >=64",
++        "setuptools >=61",
+         "wheel",
+         "cython >=3.0.10",
+         "numpy >=2.0"
diff --git a/graphics/py-pandana/files/patch-setup.py b/graphics/py-pandana/files/patch-setup.py
deleted file mode 100644
index 1c91738d9cff..000000000000
--- a/graphics/py-pandana/files/patch-setup.py
+++ /dev/null
@@ -1,12 +0,0 @@
---- setup.py.orig	2021-03-17 16:44:15 UTC
-+++ setup.py
-@@ -150,8 +150,7 @@ setup(
-         'pandas >=0.17',
-         'requests >=2.0',
-         'scikit-learn >=0.18',
--        'tables >=3.1, <3.6; python_version <"3.6"',
--        'tables >=3.1, <3.7; python_version >="3.6"'
-+        'tables >=3.1',
-     ],
-     cmdclass={
-         'test': PyTest,