git: f6aad8310586 - main - www/py-aiohttp_cors: Convert to USE_PYTHON=pep517

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

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

commit f6aad831058605d417eedee79b8c1b432c3f4bc5
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-13 14:11:29 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-13 14:11:29 +0000

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

diff --git a/www/py-aiohttp_cors/Makefile b/www/py-aiohttp_cors/Makefile
index cb2777d4d79f..bcad74f7335c 100644
--- a/www/py-aiohttp_cors/Makefile
+++ b/www/py-aiohttp_cors/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	aiohttp_cors
 PORTVERSION=	0.7.0
+PORTREVISION=	1
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,10 +13,12 @@ WWW=		https://github.com/aio-libs/aiohttp-cors
 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}aiohttp>=1.1:www/py-aiohttp@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes