git: bd8c88434d91 - main - devel/py-py-ubjson: Convert to USE_PYTHON=pep517

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 13 May 2024 14:17:27 UTC
The branch main has been updated by sunpoet:

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

commit bd8c88434d9182c366c0f3a502d99e9d784f79f3
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-13 13:59:26 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-13 13:59:26 +0000

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

diff --git a/devel/py-py-ubjson/Makefile b/devel/py-py-ubjson/Makefile
index 706f7d8f3884..2016a2895591 100644
--- a/devel/py-py-ubjson/Makefile
+++ b/devel/py-py-ubjson/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	py-ubjson
 PORTVERSION=	0.16.1
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,8 +12,11 @@ WWW=		https://github.com/Iotic-Labs/py-ubjson
 LICENSE=	APACHE20
 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
 
 post-install:
 	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +