git: b31f2f42b763 - main - security/py-krb5: Convert to USE_PYTHON=pep517

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 20 Apr 2024 14:27:26 UTC
The branch main has been updated by sunpoet:

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

commit b31f2f42b763497cf3dc054387bd4000c1bcde6a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-04-20 14:22:54 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-04-20 14:25:44 +0000

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

diff --git a/security/py-krb5/Makefile b/security/py-krb5/Makefile
index b7cbd6fc2a48..cbd5d6329b86 100644
--- a/security/py-krb5/Makefile
+++ b/security/py-krb5/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	krb5
 PORTVERSION=	0.5.1
+PORTREVISION=	1
 CATEGORIES=	security python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,8 +12,11 @@ WWW=		https://github.com/jborean93/pykrb5
 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 cython distutils
+USE_PYTHON=	autoplist concurrent cython pep517
 
 MAKE_ENV=	KRB5_KRB5CONFIG=${KRB5CONFIG}