git: 8af7fde0a563 - main - news/py-pynzb: Switch to PEP517

From: Norikatsu Shigemura <nork_at_FreeBSD.org>
Date: Thu, 20 Feb 2025 15:39:32 UTC
The branch main has been updated by nork:

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

commit 8af7fde0a563653f62d0299869bac18c3ba25a2b
Author:     Norikatsu Shigemura <nork@FreeBSD.org>
AuthorDate: 2025-02-20 15:39:20 +0000
Commit:     Norikatsu Shigemura <nork@FreeBSD.org>
CommitDate: 2025-02-20 15:39:20 +0000

    news/py-pynzb: Switch to PEP517
    
    Approved by:    hrs (mentor, blanket)
---
 news/py-pynzb/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/news/py-pynzb/Makefile b/news/py-pynzb/Makefile
index 7c7899827a78..613775378600 100644
--- a/news/py-pynzb/Makefile
+++ b/news/py-pynzb/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	pynzb
 PORTVERSION=	0.1.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	news python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,8 +11,11 @@ WWW=		https://pypi.org/project/pynzb/
 
 LICENSE=	BSD3CLAUSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+
 USES=		python
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	pep517 autoplist
 
 NO_ARCH=	yes