diff --git a/graphics/py-pandarm/Makefile b/graphics/py-pandarm/Makefile index df9eba642344..10178e91f69f 100644 --- a/graphics/py-pandarm/Makefile +++ b/graphics/py-pandarm/Makefile @@ -1,30 +1,30 @@ PORTNAME= pandarm -PORTVERSION= 0.0.4 +PORTVERSION= 0.0.3 CATEGORIES= graphics python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Pandas routing machine WWW= https://github.com/oturns/pandarm LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=40.8:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}geopandas>=1.1:graphics/py-geopandas@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}numpy>=1.26,1:math/py-numpy@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pandas>=2.2,1:math/py-pandas@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}scikit-learn>=1.4:science/py-scikit-learn@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}tables>=3.10:devel/py-tables@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}geopandas>=0:graphics/py-geopandas@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pandas>=2,1:math/py-pandas@${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 cython pep517 +USE_PYTHON= autoplist concurrent cython3 pep517 post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/graphics/py-pandarm/distinfo b/graphics/py-pandarm/distinfo index 943b4637da3b..e257b0ff11e8 100644 --- a/graphics/py-pandarm/distinfo +++ b/graphics/py-pandarm/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1767216164 -SHA256 (pandarm-0.0.4.tar.gz) = 97af7ddebe3457abf4d593b8272ba212adfa1b0d6dbe68117b4a816ada01c1b4 -SIZE (pandarm-0.0.4.tar.gz) = 12783695 +TIMESTAMP = 1765032802 +SHA256 (pandarm-0.0.3.tar.gz) = 2aa4d069326480a189b5ce7c8d2b43005c6abf861f3f67b880ac8e13fbf34f8f +SIZE (pandarm-0.0.3.tar.gz) = 12783812 diff --git a/graphics/py-pandarm/files/patch-pyproject.toml b/graphics/py-pandarm/files/patch-pyproject.toml index 972abdd756d5..5a9669386ce9 100644 --- a/graphics/py-pandarm/files/patch-pyproject.toml +++ b/graphics/py-pandarm/files/patch-pyproject.toml @@ -1,27 +1,36 @@ ---- pyproject.toml.orig 2025-12-29 20:33:13 UTC +--- pyproject.toml.orig 2025-11-28 23:32:04 UTC +++ pyproject.toml @@ -1,7 +1,7 @@ build-backend = "setuptools.build_meta" [build-system] # Requirements for building the compiled package build-backend = "setuptools.build_meta" -requires = ["wheel", "setuptools >=40.8", "setuptools_scm[toml]>=6.2", "cython >=3", "numpy >=2.0"] +requires = ["wheel", "setuptools >=40.8", "setuptools_scm[toml]>=6.2", "cython >=3", "numpy"] [tool.setuptools_scm] -@@ -22,7 +22,7 @@ classifiers = [ - "Programming Language :: Python :: 3", - "License :: OSI Approved :: GNU Affero General Public License v3" +@@ -9,7 +9,7 @@ dependencies = [ + name = "pandarm" + dynamic = ["version"] + dependencies = [ +- "numpy >=2", ++ "numpy", + "pandas >=2", + "geopandas", + "scikit-learn >=0.18", +@@ -19,7 +19,7 @@ classifiers = [ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: GNU Affero General Public License v3" ] -license-files = ["LICENSE"] +license = {file = "LICENSE"} requires-python = ">=3.10" - [project.urls] -@@ -71,4 +71,4 @@ exclude_lines = [ + [tool.setuptools.packages.find] +@@ -74,4 +74,4 @@ exclude_lines = [ "raise NotImplementedError", "except ModuleNotFoundError:", "except ImportError", -] \ No newline at end of file +]