1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

math/py-fastcluster: Convert to USE_PYTHON=pep517

- Bump PORTREVISION for package change
This commit is contained in:
Po-Chuan Hsieh 2024-05-13 22:02:29 +08:00
parent 2e7ccb31d6
commit 5a910ffd72
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
2 changed files with 13 additions and 3 deletions

View File

@ -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 <bsd.port.pre.mk>

View File

@ -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"]