From 34ddd26b37022a40fe709c8eaecbc2dc7449d0ed Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 10 Feb 2025 17:00:59 +0800 Subject: python3-dateparser: upgrade 1.2.0 -> 1.2.1 Changelog: ========== - Fix PytzUsageWarning - Fix date_parser with prefer_month_of_year wrong results - Fix skipped day when UTC and tz are different days - Avoid repeated loop over timezones - Proofread README.rst - Check for derived types for configuration - Parse some abbreviated strings as relative dates - Migrate from hijri-converter to hijridate - Fixed ClusterFuzz build error by adding dateparser.data as a binary - Fix an issue detected by OSSFuzz - Support two-digit years in non-Gregorian calendars - Refactored CI to run extras separately and test minimum versions of dependencies, replaced flake8 with ruff, fixed tests - Set minimum versions for dependencies - Limited numpy to 1.x when installing dateparser[fasttext] Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-dateparser_1.2.0.bb | 23 ---------------------- .../python/python3-dateparser_1.2.1.bb | 23 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 23 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-dateparser_1.2.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-dateparser_1.2.1.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-dateparser_1.2.0.bb b/meta-python/recipes-devtools/python/python3-dateparser_1.2.0.bb deleted file mode 100644 index a08564b3f5..0000000000 --- a/meta-python/recipes-devtools/python/python3-dateparser_1.2.0.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] = "7975b43a4222283e0ae15be7b4999d08c9a70e2d378ac87385b1ccf2cffbbb30" - -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.2.1.bb b/meta-python/recipes-devtools/python/python3-dateparser_1.2.1.bb new file mode 100644 index 0000000000..d3541c89c7 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-dateparser_1.2.1.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] = "7e4919aeb48481dbfc01ac9683c8e20bfe95bb715a38c1e9f6af889f4f30ccc3" + +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