git: aa49a3495418 - main - security/py-tls-parser: Convert to USE_PYTHON=pep517

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

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

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

    security/py-tls-parser: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 security/py-tls-parser/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/security/py-tls-parser/Makefile b/security/py-tls-parser/Makefile
index 9da6889e4abf..3760be09fc5b 100644
--- a/security/py-tls-parser/Makefile
+++ b/security/py-tls-parser/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	tls-parser
 PORTVERSION=	2.0.1
+PORTREVISION=	1
 CATEGORIES=	security python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,8 +13,11 @@ WWW=		https://github.com/nabla-c0d3/tls_parser
 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}
+
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes