git: 8fafe937fd08 - main - www/py-google-resumable-media: Convert to USE_PYTHON=pep517

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

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

commit 8fafe937fd0848887fdc2898cef83904f4937d1a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-23 14:23:33 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-23 14:49:37 +0000

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

diff --git a/www/py-google-resumable-media/Makefile b/www/py-google-resumable-media/Makefile
index 2223bf8977ea..db71b38fec0b 100644
--- a/www/py-google-resumable-media/Makefile
+++ b/www/py-google-resumable-media/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	google-resumable-media
 PORTVERSION=	2.7.0
+PORTREVISION=	1
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,10 +12,12 @@ WWW=		https://github.com/googleapis/google-resumable-media-python
 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-crc32c>=1.0<2.0:devel/py-google-crc32c@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes