Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2024 14:21:03 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5a910ffd7240 - main - math/py-fastcluster: Convert to USE_PYTHON=pep517
Message-ID:  <202405131421.44DEL34m004290@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5a910ffd7240e84f53b09a438e73faba3567c424

commit 5a910ffd7240e84f53b09a438e73faba3567c424
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-13 14:02:29 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-13 14:02:29 +0000

    math/py-fastcluster: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 math/py-fastcluster/Makefile                   | 8 +++++---
 math/py-fastcluster/files/patch-pyproject.toml | 8 ++++++++
 2 files changed, 13 insertions(+), 3 deletions(-)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405131421.44DEL34m004290>