Files
meta-openembedded/meta-python/recipes-devtools/python/python3-dateparser_1.3.0.bb
Wang Mingyu 2609c67382 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 <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-02-27 10:29:33 -08:00

24 lines
664 B
BlitzBasic

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