git: 2232ebdb6702 - main - security/py-oscrypto: Convert to USE_PYTHON=pep517

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

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

commit 2232ebdb6702001bfb2a11fabee70dc129e043d2
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-13 14:07:48 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-13 14:07:48 +0000

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

diff --git a/security/py-oscrypto/Makefile b/security/py-oscrypto/Makefile
index fde2ef28ade9..476a384a70c3 100644
--- a/security/py-oscrypto/Makefile
+++ b/security/py-oscrypto/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	oscrypto
 PORTVERSION=	1.3.0
+PORTREVISION=	1
 CATEGORIES=	security python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,10 +12,12 @@ WWW=		https://github.com/wbond/oscrypto
 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}asn1crypto>=1.5.1:devel/py-asn1crypto@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes