git: cca19e3de0f3 - main - devel/py-cbor: Convert to USE_PYTHON=pep517

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 08 Apr 2024 06:50:39 UTC
The branch main has been updated by sunpoet:

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

commit cca19e3de0f357165de0af9a508bb78ca9ac6002
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-04-08 06:46:03 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-04-08 06:46:03 +0000

    devel/py-cbor: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 devel/py-cbor/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/devel/py-cbor/Makefile b/devel/py-cbor/Makefile
index 03fb40f4687e..5e0946374053 100644
--- a/devel/py-cbor/Makefile
+++ b/devel/py-cbor/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	cbor
 PORTVERSION=	1.0.0
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,8 +11,11 @@ WWW=		https://bitbucket.org/bodhisnarkva/cbor
 
 LICENSE=	APACHE20
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
 USES=		compiler python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 post-install:
 	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +