diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2026-02-27 18:12:40 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-03-02 19:25:51 -0800 |
| commit | eae503c92914bfed44ad9003dbf9c88cb067fc9e (patch) | |
| tree | 9ac0405e2b8b051c8d76951990e5a35ab183547a /meta-python/recipes-devtools/python/python3-dateparser_1.3.0.bb | |
| parent | 45e3541b9aa1b42901e1947fe067cb35f6787fd3 (diff) | |
| download | meta-openembedded-eae503c92914bfed44ad9003dbf9c88cb067fc9e.tar.gz | |
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>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-dateparser_1.3.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-dateparser_1.3.0.bb | 23 |
1 files changed, 23 insertions, 0 deletions
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 @@ | |||
| 1 | DESCRIPTION = "Provides modules to easily parse localized dates in almost any string formats commonly found on web pages" | ||
| 2 | HOMEPAGE = "https://github.com/scrapinghub/dateparser" | ||
| 3 | LICENSE = "BSD-3-Clause" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3d3ed25571191e7aa3f55d0a6efe0051" | ||
| 5 | |||
| 6 | SRC_URI[sha256sum] = "5bccf5d1ec6785e5be71cc7ec80f014575a09b4923e762f850e57443bddbf1a5" | ||
| 7 | |||
| 8 | PYPI_PACKAGE = "dateparser" | ||
| 9 | |||
| 10 | inherit pypi setuptools3 | ||
| 11 | |||
| 12 | CLEANBROKEN = "1" | ||
| 13 | |||
| 14 | RDEPENDS:${PN} += " \ | ||
| 15 | python3-dateutil \ | ||
| 16 | python3-logging \ | ||
| 17 | python3-pytz \ | ||
| 18 | python3-regex \ | ||
| 19 | python3-ruamel-yaml \ | ||
| 20 | python3-tzlocal \ | ||
| 21 | " | ||
| 22 | |||
| 23 | # Ommitted python3-convertdate, python3-jdatetime python3-umalqurra | ||
