git: 2530dc50df4b - main - devel/py-dateparser: Update to 1.4.1

From: Michael Gmelin <grembo_at_FreeBSD.org>
Date: Sat, 20 Jun 2026 12:30:32 UTC
The branch main has been updated by grembo:

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

commit 2530dc50df4b84abdd2de5f2a38080a10acdc605
Author:     Michael Gmelin <grembo@FreeBSD.org>
AuthorDate: 2026-06-20 12:27:20 +0000
Commit:     Michael Gmelin <grembo@FreeBSD.org>
CommitDate: 2026-06-20 12:30:15 +0000

    devel/py-dateparser: Update to 1.4.1
---
 devel/py-dateparser/Makefile                   |  6 ++++--
 devel/py-dateparser/distinfo                   |  6 +++---
 devel/py-dateparser/files/patch-pyproject.toml | 20 ++++++++++++++++++++
 3 files changed, 27 insertions(+), 5 deletions(-)

diff --git a/devel/py-dateparser/Makefile b/devel/py-dateparser/Makefile
index e6fbe254b0a7..1362ef7d19f2 100644
--- a/devel/py-dateparser/Makefile
+++ b/devel/py-dateparser/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	dateparser
-PORTVERSION=	1.2.2
+PORTVERSION=	1.4.1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,13 +11,15 @@ WWW=		https://github.com/scrapinghub/dateparser
 LICENSE=	BSD3CLAUSE
 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}python-dateutil>=2.0:devel/py-python-dateutil@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytz>=0:devel/py-pytz@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}regex>0:textproc/py-regex@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tzlocal>=1.2:devel/py-tzlocal@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist pep517
 
 NO_ARCH=	yes
 
diff --git a/devel/py-dateparser/distinfo b/devel/py-dateparser/distinfo
index d21aca29c715..239c288eba28 100644
--- a/devel/py-dateparser/distinfo
+++ b/devel/py-dateparser/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1753975825
-SHA256 (dateparser-1.2.2.tar.gz) = 986316f17cb8cdc23ea8ce563027c5ef12fc725b6fb1d137c14ca08777c5ecf7
-SIZE (dateparser-1.2.2.tar.gz) = 329840
+TIMESTAMP = 1781884866
+SHA256 (dateparser-1.4.1.tar.gz) = f265df13c0380e2e07543ba74b67c0681aaa1096981ffcd35227e1aa0cb81c7c
+SIZE (dateparser-1.4.1.tar.gz) = 314734
diff --git a/devel/py-dateparser/files/patch-pyproject.toml b/devel/py-dateparser/files/patch-pyproject.toml
new file mode 100644
index 000000000000..3d2157699444
--- /dev/null
+++ b/devel/py-dateparser/files/patch-pyproject.toml
@@ -0,0 +1,20 @@
+--- pyproject.toml.orig	2026-06-15 08:45:00 UTC
++++ pyproject.toml
+@@ -1,7 +1,7 @@ requires = [
+ [build-system]
+ build-backend = "setuptools.build_meta"
+ requires = [
+-    "setuptools >= 77.0",
++    "setuptools >= 63.1",
+ ]
+ 
+ [project]
+@@ -11,7 +11,7 @@ authors = [
+ authors = [
+     { name = "Scrapinghub", email = "opensource@zyte.com" },
+ ]
+-license = "BSD-3-Clause"
++#license = "BSD-3-Clause"
+ keywords = ["dateparser"]
+ classifiers = [
+     "Development Status :: 5 - Production/Stable",