git: 2c566da3b67f - main - security/py-tinyaes: Convert to USE_PYTHON=pep517

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

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

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

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

diff --git a/security/py-tinyaes/Makefile b/security/py-tinyaes/Makefile
index a83961b7f1e9..6f9d1bb56766 100644
--- a/security/py-tinyaes/Makefile
+++ b/security/py-tinyaes/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	tinyaes
 PORTVERSION=	1.1.0
+PORTREVISION=	1
 CATEGORIES=	security python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,8 +12,11 @@ WWW=		https://github.com/naufraghi/tinyaes-py
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
+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 cython distutils
+USE_PYTHON=	autoplist concurrent cython pep517
 
 post-install:
 	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +