git: b5b8cb50ca11 - main - www/py-google-cloud-core: Convert to USE_PYTHON=pep517

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

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

commit b5b8cb50ca11dc7748028897ec811b8bd2131ef4
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-23 14:23:13 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-23 14:49:35 +0000

    www/py-google-cloud-core: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 www/py-google-cloud-core/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/www/py-google-cloud-core/Makefile b/www/py-google-cloud-core/Makefile
index aab1eb8795c2..d705652f5063 100644
--- a/www/py-google-cloud-core/Makefile
+++ b/www/py-google-cloud-core/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	google-cloud-core
 PORTVERSION=	2.4.1
+PORTREVISION=	1
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,11 +12,13 @@ WWW=		https://github.com/googleapis/python-cloud-core
 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}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}google-api-core>=2.3.1<3.0:www/py-google-api-core@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}google-auth>=1.25.0<3.0.0:security/py-google-auth@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes