git: 2a43d4143235 - main - devel/py-proto-plus: Convert to USE_PYTHON=pep517

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

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

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

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

diff --git a/devel/py-proto-plus/Makefile b/devel/py-proto-plus/Makefile
index b502d2c287fc..be7d6bf7721b 100644
--- a/devel/py-proto-plus/Makefile
+++ b/devel/py-proto-plus/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	proto-plus
 PORTVERSION=	1.23.0
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,10 +11,12 @@ WWW=		https://github.com/googleapis/proto-plus-python
 
 LICENSE=	APACHE20
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}protobuf>=3.19.0,1<5.0.0,1:devel/py-protobuf@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes