git: ed9ba92465e8 - main - www/py-htmldate: Update to 1.8.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 31 Mar 2024 03:41:08 UTC
The branch main has been updated by sunpoet:

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

commit ed9ba92465e806528caba13db8b065cd8486ab12
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-31 03:08:04 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-31 03:08:04 +0000

    www/py-htmldate: Update to 1.8.0
    
    - Update LICENSE
    - Convert to USE_PYTHON=pep517
    
    Changes:        https://github.com/adbar/htmldate/releases
---
 www/py-htmldate/Makefile | 8 +++++---
 www/py-htmldate/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/www/py-htmldate/Makefile b/www/py-htmldate/Makefile
index 2e44731e6ea0..bdb1d0949806 100644
--- a/www/py-htmldate/Makefile
+++ b/www/py-htmldate/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	htmldate
-PORTVERSION=	1.7.0
+PORTVERSION=	1.8.0
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -9,9 +9,11 @@ COMMENT=	Fast and robust extraction of publication dates from URLs and web pages
 WWW=		https://htmldate.readthedocs.io/en/latest/ \
 		https://github.com/adbar/htmldate
 
-LICENSE=	GPLv3+
+LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=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} \
@@ -19,7 +21,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}charset-normalizer>=3.3.2:textproc/py-charse
 		${PYTHON_PKGNAMEPREFIX}urllib3>=1.26,1<3,1:net/py-urllib3@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
diff --git a/www/py-htmldate/distinfo b/www/py-htmldate/distinfo
index 010b81ad6da7..7e754c56d10a 100644
--- a/www/py-htmldate/distinfo
+++ b/www/py-htmldate/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1708448862
-SHA256 (htmldate-1.7.0.tar.gz) = 02a800dd224cbf74bf483b042f64e14f57ba0e40c6b4404b284e98bc6c30b68d
-SIZE (htmldate-1.7.0.tar.gz) = 53992
+TIMESTAMP = 1711466234
+SHA256 (htmldate-1.8.0.tar.gz) = f94c7d017f42a1cf422e5a7c5ef10cacbae276886314f27a986464627f30bb15
+SIZE (htmldate-1.8.0.tar.gz) = 44812