mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
math/py-fastcluster: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
This commit is contained in:
parent
2e7ccb31d6
commit
5a910ffd72
2 changed files with 13 additions and 3 deletions
|
@ -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>
|
||||
|
||||
|
|
8
math/py-fastcluster/files/patch-pyproject.toml
Normal file
8
math/py-fastcluster/files/patch-pyproject.toml
Normal 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"]
|
Loading…
Add table
Reference in a new issue