From cdc49346ea32bb02c27f53ddd945f4cd49bab6cb Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Fri, 2 May 2025 14:40:42 +0200 Subject: [PATCH] graphics/py-pandana: Remove port Niche use case, not aligned with broad server application needs --- .portsignore | 1 + graphics/Makefile | 1 - graphics/py-pandana/Makefile | 35 ------------------------ graphics/py-pandana/distinfo | 3 -- graphics/py-pandana/files/patch-setup.py | 12 -------- graphics/py-pandana/pkg-descr | 3 -- 6 files changed, 1 insertion(+), 54 deletions(-) delete mode 100644 graphics/py-pandana/Makefile delete mode 100644 graphics/py-pandana/distinfo delete mode 100644 graphics/py-pandana/files/patch-setup.py delete mode 100644 graphics/py-pandana/pkg-descr diff --git a/.portsignore b/.portsignore index 676f6b8cdce0..197d21774301 100644 --- a/.portsignore +++ b/.portsignore @@ -3602,6 +3602,7 @@ graphics/py-napari-console graphics/py-napari-plugin-engine graphics/py-openimageio graphics/py-openshadinglanguage +graphics/py-pandana graphics/py-pivy graphics/py-pointpats graphics/py-pyqtgraph diff --git a/graphics/Makefile b/graphics/Makefile index 193d245736b1..0a265767c427 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -691,7 +691,6 @@ SUBDIR += py-openslide-python SUBDIR += py-optimize-images SUBDIR += py-osmnet - SUBDIR += py-pandana SUBDIR += py-pdf2image SUBDIR += py-photocollage SUBDIR += py-piexif diff --git a/graphics/py-pandana/Makefile b/graphics/py-pandana/Makefile deleted file mode 100644 index 5e67af375233..000000000000 --- a/graphics/py-pandana/Makefile +++ /dev/null @@ -1,35 +0,0 @@ -PORTNAME= pandana -PORTVERSION= 0.6.1 -PORTREVISION= 4 -CATEGORIES= graphics python -MASTER_SITES= PYPI -PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} - -MAINTAINER= sunpoet@FreeBSD.org -COMMENT= Python library for network analysis -WWW= https://udst.github.io/pandana/ \ - https://github.com/UDST/pandana - -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} \ - ${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} \ - ${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} - -USES= compiler:c++11-lang python -USE_PYTHON= autoplist concurrent cython3 pep517 - -post-install: - ${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + - -.include diff --git a/graphics/py-pandana/distinfo b/graphics/py-pandana/distinfo deleted file mode 100644 index 0b672745b19b..000000000000 --- a/graphics/py-pandana/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1620405433 -SHA256 (pandana-0.6.1.tar.gz) = 7bcaf6e7bb3faccaf306846bf30838d8e94b3ebd58e971da8c3fe426f1f9288c -SIZE (pandana-0.6.1.tar.gz) = 401439 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, diff --git a/graphics/py-pandana/pkg-descr b/graphics/py-pandana/pkg-descr deleted file mode 100644 index 8ba628ba79be..000000000000 --- a/graphics/py-pandana/pkg-descr +++ /dev/null @@ -1,3 +0,0 @@ -Pandana is a Python library for network analysis that uses contraction -hierarchies to calculate super-fast travel accessibility metrics and shortest -paths. The numerical code is in C++.