aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-03-31 03:08:04 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-03-31 03:08:04 +0000
commited9ba92465e806528caba13db8b065cd8486ab12 (patch)
tree8217a55bb0564f52f7e7a7a2f0fb22d498ebf77d
parentcc2e917f80cf653b61aa5d68de4469a1f79369a8 (diff)
downloadports-ed9ba92465e806528caba13db8b065cd8486ab12.tar.gz
ports-ed9ba92465e806528caba13db8b065cd8486ab12.zip
www/py-htmldate: Update to 1.8.0
- Update LICENSE - Convert to USE_PYTHON=pep517 Changes: https://github.com/adbar/htmldate/releases
-rw-r--r--www/py-htmldate/Makefile8
-rw-r--r--www/py-htmldate/distinfo6
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