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,24 +1,26 @@ PORTNAME= dateparser -PORTVERSION= 1.2.2 +PORTVERSION= 1.4.1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= grembo@FreeBSD.org COMMENT= Provides modules to easily parse localized dates 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 .include 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",