git: 666b5a61ebad - main - devel/py-array-api-compat: Update to 1.5

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 23 Mar 2024 15:00:30 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=666b5a61ebad9a82c0d239622151b0ae4f3a2561

commit 666b5a61ebad9a82c0d239622151b0ae4f3a2561
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-23 14:21:00 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-23 14:31:12 +0000

    devel/py-array-api-compat: Update to 1.5
    
    - Add GitHub to MASTER_SITES
    - Convert to USE_PYTHON=pep517
    
    Changes:        https://github.com/data-apis/array-api-compat/releases
                    https://github.com/data-apis/array-api-compat/blob/main/CHANGELOG.md
---
 devel/py-array-api-compat/Makefile | 10 +++++++---
 devel/py-array-api-compat/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/devel/py-array-api-compat/Makefile b/devel/py-array-api-compat/Makefile
index 0373a788ba3b..1c0e42230cae 100644
--- a/devel/py-array-api-compat/Makefile
+++ b/devel/py-array-api-compat/Makefile
@@ -1,7 +1,8 @@
 PORTNAME=	array-api-compat
-PORTVERSION=	1.4
+PORTVERSION=	1.5
 CATEGORIES=	devel python
-MASTER_SITES=	PYPI
+MASTER_SITES=	PYPI \
+		https://github.com/data-apis/array-api-compat/releases/download/${PORTVERSION}/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 DISTNAME=	array_api_compat-${PORTVERSION}
 
@@ -13,8 +14,11 @@ WWW=		https://data-apis.org/array-api-compat/ \
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
diff --git a/devel/py-array-api-compat/distinfo b/devel/py-array-api-compat/distinfo
index fec2d702c35f..e39d72e4b314 100644
--- a/devel/py-array-api-compat/distinfo
+++ b/devel/py-array-api-compat/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1696753602
-SHA256 (array_api_compat-1.4.tar.gz) = d49f00eb66b436cf3a6026d6f43c115d3e058a3a9936536b0bac33dd470e8b4d
-SIZE (array_api_compat-1.4.tar.gz) = 29461
+TIMESTAMP = 1710712412
+SHA256 (array_api_compat-1.5.tar.gz) = c3ee5c9980f5288a19dafce950e5301bd7b0752e96e25989ff78471a968348a5
+SIZE (array_api_compat-1.5.tar.gz) = 38987