git: 8690f93510f3 - main - devel/py-pytest-flake8: Convert to USE_PYTHON=pep517

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

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

commit 8690f93510f378906a643182a0944676e44a081f
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-13 13:59:45 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-13 13:59:45 +0000

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

diff --git a/devel/py-pytest-flake8/Makefile b/devel/py-pytest-flake8/Makefile
index 0e3c7343219b..ef9465b1c045 100644
--- a/devel/py-pytest-flake8/Makefile
+++ b/devel/py-pytest-flake8/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	pytest-flake8
 PORTVERSION=	1.1.1
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,11 +12,13 @@ WWW=		https://github.com/tholo/pytest-flake8
 LICENSE=	BSD2CLAUSE
 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}flake8>=4.0:devel/py-flake8@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest>=7.0,1:devel/py-pytest@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes