git: bd0b38e9c1cc - main - www/py-htmldate: Update to 1.9.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 08 Sep 2024 18:45:52 UTC
The branch main has been updated by sunpoet:

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

commit bd0b38e9c1cc28e562d6840095e710a597d7bb84
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-08 18:21:52 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-08 18:37:50 +0000

    www/py-htmldate: Update to 1.9.0
    
    Changes:        https://github.com/adbar/htmldate/releases
---
 www/py-htmldate/Makefile             |  7 +++----
 www/py-htmldate/distinfo             |  6 +++---
 www/py-htmldate/files/patch-setup.py | 11 -----------
 3 files changed, 6 insertions(+), 18 deletions(-)

diff --git a/www/py-htmldate/Makefile b/www/py-htmldate/Makefile
index dad6de4bf4b6..5f1a182c938d 100644
--- a/www/py-htmldate/Makefile
+++ b/www/py-htmldate/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	htmldate
-PORTVERSION=	1.8.1
-PORTREVISION=	1
+PORTVERSION=	1.9.0
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,11 +12,11 @@ WWW=		https://htmldate.readthedocs.io/en/latest/ \
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61.0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}charset-normalizer>=3.3.2:textproc/py-charset-normalizer@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dateparser>=1.1.2:devel/py-dateparser@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}lxml>=4.9.3<6:devel/py-lxml@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}lxml5>=5.2.2<6:devel/py-lxml5@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.8.2:devel/py-python-dateutil@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}urllib3>=1.26,1<3,1:net/py-urllib3@${PY_FLAVOR}
 
diff --git a/www/py-htmldate/distinfo b/www/py-htmldate/distinfo
index 9d13f700ede6..2175ba6241b5 100644
--- a/www/py-htmldate/distinfo
+++ b/www/py-htmldate/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1713001154
-SHA256 (htmldate-1.8.1.tar.gz) = caf1686cf75c61dd1f061ede5d7a46e759b15d5f9987cd8e13c8c4237511263d
-SIZE (htmldate-1.8.1.tar.gz) = 45080
+TIMESTAMP = 1725559907
+SHA256 (htmldate-1.9.0.tar.gz) = 90bc3c66cbb49be21888f54b9a20c0b6739497399a87789e64247fc4e04c292f
+SIZE (htmldate-1.9.0.tar.gz) = 44721
diff --git a/www/py-htmldate/files/patch-setup.py b/www/py-htmldate/files/patch-setup.py
deleted file mode 100644
index 1a2e3831b98c..000000000000
--- a/www/py-htmldate/files/patch-setup.py
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.py.orig	2024-01-17 16:57:16 UTC
-+++ setup.py
-@@ -120,7 +120,7 @@ setup(
-         "dateparser >= 1.1.2",  # 1.1.3+ slower
-         # see tests on Github Actions
-         "lxml == 4.9.2; platform_system == 'Darwin' and python_version <= '3.8'",
--        "lxml >= 4.9.4, < 6; platform_system != 'Darwin' or python_version > '3.8'",
-+        "lxml >= 4.9.3, < 6; platform_system != 'Darwin' or python_version > '3.8'",
-         "python-dateutil >= 2.8.2",
-         "urllib3 >= 1.26, < 2; python_version < '3.7'",
-         "urllib3 >= 1.26, < 3; python_version >= '3.7'",