mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-02-28 19:00:28 +00:00
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>
24 lines
664 B
BlitzBasic
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
|