From eae503c92914bfed44ad9003dbf9c88cb067fc9e Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Fri, 27 Feb 2026 18:12:40 +0800 Subject: python3-dateparser: upgrade 1.2.2 -> 1.3.0 New features: -------------- - search_dates() can now detect time spans from expressions like "past - month", "last week", etc. For details, see the "Time Span Detection" section - and the RETURN_TIME_SPAN, DEFAULT_START_OF_WEEK and - DEFAULT_DAYS_IN_MONTH settings in the documentation. Fixes: -------- - Assume the current year if not specified - Support expressions like "yesterday +1h" - English: Support most 2-letter day-of-the-week names - English: Support "in N weeks' time" - Finnish: Support dates with "klo" - Russian: Support compound ordinals Cleanups and internal improvements: ------------------------------------- - Fixed year expectation issues in tests. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-dateparser_1.2.2.bb | 23 ---------------------- .../python/python3-dateparser_1.3.0.bb | 23 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 23 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-dateparser_1.2.2.bb create mode 100644 meta-python/recipes-devtools/python/python3-dateparser_1.3.0.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-dateparser_1.2.2.bb b/meta-python/recipes-devtools/python/python3-dateparser_1.2.2.bb deleted file mode 100644 index b66900aebb..0000000000 --- a/meta-python/recipes-devtools/python/python3-dateparser_1.2.2.bb +++ /dev/null @@ -1,23 +0,0 @@ -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] = "986316f17cb8cdc23ea8ce563027c5ef12fc725b6fb1d137c14ca08777c5ecf7" - -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 diff --git a/meta-python/recipes-devtools/python/python3-dateparser_1.3.0.bb b/meta-python/recipes-devtools/python/python3-dateparser_1.3.0.bb new file mode 100644 index 0000000000..012c9654a4 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-dateparser_1.3.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] = "5bccf5d1ec6785e5be71cc7ec80f014575a09b4923e762f850e57443bddbf1a5" + +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