git: f52af2a58e9c - main - net-im/py-slackeventsapi: Convert to USE_PYTHON=pep517

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

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

commit f52af2a58e9c5e6aa6785f1952407d7399616034
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-13 14:06:16 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-13 14:06:16 +0000

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

diff --git a/net-im/py-slackeventsapi/Makefile b/net-im/py-slackeventsapi/Makefile
index e61b39812fd5..417160ed9351 100644
--- a/net-im/py-slackeventsapi/Makefile
+++ b/net-im/py-slackeventsapi/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	slackeventsapi
 PORTVERSION=	3.0.1
+PORTREVISION=	1
 CATEGORIES=	net-im python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,11 +12,13 @@ WWW=		https://github.com/slackapi/python-slack-events-api
 LICENSE=	MIT
 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}flask>=2:www/py-flask@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pyee>=8:devel/py-pyee@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes