From b4a70a93730dbe2dfdb072dddc468550745b17b9 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Thu, 2 Apr 2026 10:13:35 +0800 Subject: python3-dateparser: upgrade 1.3.0 -> 1.4.0 Security fixes: ================= - Remove import-time loading of timezone offset data from pickle to prevent unsafe deserialization from packaged data - Replace eval() use when parsing no_word_spacing with strict boolean parsing to prevent code execution from locale metadata (#1056) New features: ============= - Add support for expressions like "N {interval} from now" in English (#1271) - Add support for the en-US locale (#1222) Fixes: ======== - Honor REQUIRE_PARTS for ambiguous month-number inputs by retrying with a year-biased DATE_ORDER (#1298) - Fix parsing word-number relative phrases such as "two days later" (#1316) - Allow md5hash to work in FIPS environments (#1267) Improvements: ============= - Add Bosnian Cyrillic (ijekavica) date translations (#1293) - Add a new browser-based demo to the project documentation (#1306) - Update installation documentation to replace setup.py install guidance - Add a project security policy Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-dateparser_1.4.0.bb | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-dateparser_1.4.0.bb (limited to 'meta-python/recipes-devtools/python/python3-dateparser_1.4.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-dateparser_1.4.0.bb b/meta-python/recipes-devtools/python/python3-dateparser_1.4.0.bb new file mode 100644 index 0000000000..27f9da83b6 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-dateparser_1.4.0.bb @@ -0,0 +1,23 @@ +DESCRIPTION = "Provides modules to easily parse localized dates in almost any string formats commonly found on web pages" +HOMEPAGE = "https://github.com/scrapinghub/dateparser" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3d3ed25571191e7aa3f55d0a6efe0051" + +SRC_URI[sha256sum] = "97a21840d5ecdf7630c584f673338a5afac5dfe84f647baf4d7e8df98f9354a4" + +PYPI_PACKAGE = "dateparser" + +inherit pypi setuptools3 + +CLEANBROKEN = "1" + +RDEPENDS:${PN} += " \ + python3-dateutil \ + python3-logging \ + python3-pytz \ + python3-regex \ + python3-ruamel-yaml \ + python3-tzlocal \ +" + +# Ommitted python3-convertdate, python3-jdatetime python3-umalqurra -- cgit v1.2.3-54-g00ecf