diff options
Diffstat (limited to 'math/py-fastcluster')
-rw-r--r-- | math/py-fastcluster/Makefile | 5 | ||||
-rw-r--r-- | math/py-fastcluster/distinfo | 6 | ||||
-rw-r--r-- | math/py-fastcluster/files/patch-pyproject.toml | 8 | ||||
-rw-r--r-- | math/py-fastcluster/files/patch-setup.py | 11 |
4 files changed, 20 insertions, 10 deletions
diff --git a/math/py-fastcluster/Makefile b/math/py-fastcluster/Makefile index f22686d913b8..8f95e54f63e5 100644 --- a/math/py-fastcluster/Makefile +++ b/math/py-fastcluster/Makefile @@ -1,6 +1,5 @@ PORTNAME= fastcluster -PORTVERSION= 1.2.6 -PORTREVISION= 2 +PORTVERSION= 1.3.0 CATEGORIES= math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -16,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,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.9,1:math/py-numpy@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} USES= compiler python USE_PYTHON= autoplist concurrent pep517 diff --git a/math/py-fastcluster/distinfo b/math/py-fastcluster/distinfo index 04df5124a3c2..45f5d1423e2d 100644 --- a/math/py-fastcluster/distinfo +++ b/math/py-fastcluster/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1647264604 -SHA256 (fastcluster-1.2.6.tar.gz) = aab886efa7b6bba7ac124f4498153d053e5a08b822d2254926b7206cdf5a8aa6 -SIZE (fastcluster-1.2.6.tar.gz) = 173773 +TIMESTAMP = 1759816698 +SHA256 (fastcluster-1.3.0.tar.gz) = d5233aeba5c3faa949c7fa6a39345a09f716ccebbd748541e5735c866696df02 +SIZE (fastcluster-1.3.0.tar.gz) = 173065 diff --git a/math/py-fastcluster/files/patch-pyproject.toml b/math/py-fastcluster/files/patch-pyproject.toml index a733d01745f2..1b5181373b1a 100644 --- a/math/py-fastcluster/files/patch-pyproject.toml +++ b/math/py-fastcluster/files/patch-pyproject.toml @@ -1,8 +1,8 @@ ---- pyproject.toml.orig 2022-02-27 10:25:41 UTC +--- pyproject.toml.orig 2025-05-06 15:48:45 UTC +++ pyproject.toml -@@ -10,4 +10,4 @@ requires = ["setuptools", - # Scipy's "oldest_supported_numpy" package does this work for us. +@@ -1,4 +1,4 @@ requires = ["setuptools", + [build-system] requires = ["setuptools", "wheel", -- "oldest_supported_numpy"] +- "numpy >= 2"] + "numpy"] diff --git a/math/py-fastcluster/files/patch-setup.py b/math/py-fastcluster/files/patch-setup.py new file mode 100644 index 000000000000..3c5c064a6fcc --- /dev/null +++ b/math/py-fastcluster/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2025-05-06 15:48:45 UTC ++++ setup.py +@@ -92,7 +92,7 @@ Clustering Routines for R and Python*, Journal of Stat + long_description_content_type='text/markdown', + python_requires='>=3', + requires=['numpy'], +- install_requires=["numpy>=2"], ++ install_requires=["numpy"], + provides=['fastcluster'], + ext_modules=[Extension('_fastcluster', + ['src/fastcluster_python.cpp'], |