git: 50061b8c3157 - main - www/py-utidylib: Update to 0.10

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 23 Mar 2024 15:02:19 UTC
The branch main has been updated by sunpoet:

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

commit 50061b8c3157339e89961d0b4f1bd5182202a924
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-23 14:23:41 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-23 14:49:38 +0000

    www/py-utidylib: Update to 0.10
    
    - Convert to USE_PYTHON=pep517
    
    Changes:        https://github.com/nijel/utidylib/blob/master/CHANGES.rst
---
 www/py-utidylib/Makefile              | 9 ++++++---
 www/py-utidylib/distinfo              | 6 +++---
 www/py-utidylib/files/patch-setup.cfg | 9 +++++++++
 3 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/www/py-utidylib/Makefile b/www/py-utidylib/Makefile
index 42659f60d253..7026083ce978 100644
--- a/www/py-utidylib/Makefile
+++ b/www/py-utidylib/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	utidylib
-PORTVERSION=	0.9
+PORTVERSION=	0.10
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -7,15 +7,18 @@ DISTNAME=	uTidylib-${PORTVERSION}
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Wrapper for HTML Tidy
-WWW=		https://github.com/nijel/utidylib
+WWW=		https://utidylib.readthedocs.io/en/latest/ \
+		https://github.com/nijel/utidylib
 
 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}
 LIB_DEPENDS=	libtidy5.so:www/tidy-html5
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
diff --git a/www/py-utidylib/distinfo b/www/py-utidylib/distinfo
index 77fc73f8ab46..15f5b0ebccd6 100644
--- a/www/py-utidylib/distinfo
+++ b/www/py-utidylib/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1674590074
-SHA256 (uTidylib-0.9.tar.gz) = f505f0437bdb2fa66227ed0de57462898d817a6c1523383f29dc7bfc13203a21
-SIZE (uTidylib-0.9.tar.gz) = 15723
+TIMESTAMP = 1710712568
+SHA256 (uTidylib-0.10.tar.gz) = 95fe538c6cd1ea08d7df99d56a5816cb0571a06038189c03518024064edee60f
+SIZE (uTidylib-0.10.tar.gz) = 16959
diff --git a/www/py-utidylib/files/patch-setup.cfg b/www/py-utidylib/files/patch-setup.cfg
new file mode 100644
index 000000000000..f8c76a5aa64b
--- /dev/null
+++ b/www/py-utidylib/files/patch-setup.cfg
@@ -0,0 +1,9 @@
+--- setup.cfg.orig	2024-03-05 11:41:58 UTC
++++ setup.cfg
+@@ -1,5 +1,5 @@
+ [metadata]
+-name = uTidylib
++name = utidylib
+ version = attr: tidy.__version__
+ author = Michal Čihař
+ author_email = michal@cihar.com