git: 534a4a3db7c8 - main - www/py-pygsheets: Convert to USE_PYTHON=pep517

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

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

commit 534a4a3db7c88b0240d100507cde149e816d1919
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-13 14:13:25 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-13 14:13:25 +0000

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

diff --git a/www/py-pygsheets/Makefile b/www/py-pygsheets/Makefile
index db75fa6dda03..e88c726f457a 100644
--- a/www/py-pygsheets/Makefile
+++ b/www/py-pygsheets/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	pygsheets
 PORTVERSION=	2.0.6
+PORTREVISION=	1
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,11 +11,13 @@ WWW=		https://github.com/nithinmurali/pygsheets
 
 LICENSE=	MIT
 
+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-python-client>=2.50.0:www/py-google-api-python-client@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}google-auth-oauthlib>=0.7.1:security/py-google-auth-oauthlib@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes