git: d8634f6ed161 - main - archivers/py-warctools: Convert to USE_PYTHON=pep517

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 06 Jul 2024 16:28:25 UTC
The branch main has been updated by sunpoet:

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

commit d8634f6ed161454087a31529a898f67e5097e48e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-07-06 16:11:46 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-07-06 16:11:46 +0000

    archivers/py-warctools: Convert to USE_PYTHON=pep517
    
    - Update WWW
    - Bump PORTREVISION for package change
---
 archivers/py-warctools/Makefile | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/archivers/py-warctools/Makefile b/archivers/py-warctools/Makefile
index 0966a1a05e92..db3038d2cde4 100644
--- a/archivers/py-warctools/Makefile
+++ b/archivers/py-warctools/Makefile
@@ -1,17 +1,22 @@
 PORTNAME=	warctools
 PORTVERSION=	4.10.0
+PORTREVISION=	1
 CATEGORIES=	archivers python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	python@FreeBSD.org
 COMMENT=	Tools for debugging ISO28500/WARC files
-WWW=		https://pypi.org/project/warctools/
+WWW=		https://github.com/internetarchive/warctools
 
 LICENSE=	MIT
 
-NO_ARCH=	yes
-USE_PYTHON=	autoplist distutils
+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 pep517
+
+NO_ARCH=	yes
 
 .include <bsd.port.mk>