diff --git a/math/py-fastcluster/Makefile b/math/py-fastcluster/Makefile index 859e76602684..e19eaa145ae9 100644 --- a/math/py-fastcluster/Makefile +++ b/math/py-fastcluster/Makefile @@ -1,6 +1,6 @@ PORTNAME= fastcluster PORTVERSION= 1.2.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,11 +13,13 @@ WWW= http://danifold.net/fastcluster.html \ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING.txt -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} +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} USES= compiler python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 .include diff --git a/math/py-fastcluster/files/patch-pyproject.toml b/math/py-fastcluster/files/patch-pyproject.toml new file mode 100644 index 000000000000..a733d01745f2 --- /dev/null +++ b/math/py-fastcluster/files/patch-pyproject.toml @@ -0,0 +1,8 @@ +--- pyproject.toml.orig 2022-02-27 10:25:41 UTC ++++ pyproject.toml +@@ -10,4 +10,4 @@ requires = ["setuptools", + # Scipy's "oldest_supported_numpy" package does this work for us. + requires = ["setuptools", + "wheel", +- "oldest_supported_numpy"] ++ "numpy"]