git: 4564ec8780e9 - main - www/py-htmldate: Update to 1.9.4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 29 Nov 2025 23:56:48 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4564ec8780e966f2026887b969cc2355893f5a35
commit 4564ec8780e966f2026887b969cc2355893f5a35
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-11-29 23:27:53 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-11-29 23:27:53 +0000
www/py-htmldate: Update to 1.9.4
Changes: https://github.com/adbar/htmldate/releases
---
www/py-htmldate/Makefile | 3 +--
www/py-htmldate/distinfo | 6 +++---
www/py-htmldate/files/patch-lxml | 35 -----------------------------------
3 files changed, 4 insertions(+), 40 deletions(-)
diff --git a/www/py-htmldate/Makefile b/www/py-htmldate/Makefile
index 3e36d1d0f88d..d27e0cec847f 100644
--- a/www/py-htmldate/Makefile
+++ b/www/py-htmldate/Makefile
@@ -1,6 +1,5 @@
PORTNAME= htmldate
-PORTVERSION= 1.9.3
-PORTREVISION= 2
+PORTVERSION= 1.9.4
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/www/py-htmldate/distinfo b/www/py-htmldate/distinfo
index fc90c5935bdc..a20ef6cee32a 100644
--- a/www/py-htmldate/distinfo
+++ b/www/py-htmldate/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1735705211
-SHA256 (htmldate-1.9.3.tar.gz) = ac0caf4628c3ded4042011e2d60dc68dfb314c77b106587dd307a80d77e708e9
-SIZE (htmldate-1.9.3.tar.gz) = 44913
+TIMESTAMP = 1763853478
+SHA256 (htmldate-1.9.4.tar.gz) = 1129063e02dd0354b74264de71e950c0c3fcee191178321418ccad2074cc8ed0
+SIZE (htmldate-1.9.4.tar.gz) = 44690
diff --git a/www/py-htmldate/files/patch-lxml b/www/py-htmldate/files/patch-lxml
deleted file mode 100644
index 8669ef1d35dc..000000000000
--- a/www/py-htmldate/files/patch-lxml
+++ /dev/null
@@ -1,35 +0,0 @@
-Obtained from: https://github.com/adbar/htmldate/commit/b32422541cbc1f610838784f010a2e8cfc36fa05
-
---- htmldate/extractors.py.orig 2024-11-28 17:24:58 UTC
-+++ htmldate/extractors.py
-@@ -12,7 +12,6 @@ from dateparser import DateDataParser # type: ignore
-
- # coverage for date parsing
- from dateparser import DateDataParser # type: ignore # third-party, slow
--from dateparser_data.settings import default_parsers
-
- from dateutil.parser import parse as dateutil_parse
-
-@@ -34,9 +33,8 @@ EXTERNAL_PARSER = DateDataParser(
- settings={
- "NORMALIZE": True, # False may be faster
- "PARSERS": [
-- p
-- for p in default_parsers
-- if p not in ("no-spaces-time", "relative-time", "timestamp")
-+ "custom-formats",
-+ "absolute-time",
- ],
- "PREFER_DATES_FROM": "past",
- "PREFER_LOCALE_DATE_ORDER": True,
---- pyproject.toml.orig 2024-11-27 17:50:43 UTC
-+++ pyproject.toml
-@@ -53,7 +53,7 @@ dependencies = [
- "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 >= 5.3.0, < 6 ; platform_system != 'Darwin' or python_version > '3.8'",
-+ "lxml >= 5.3.0 ; platform_system != 'Darwin' or python_version > '3.8'",
- "python-dateutil >= 2.9.0.post0",
- "urllib3 >= 1.26, < 3",
- ]