summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-dateparser_1.0.0.bb
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2020-10-30 15:08:39 +0200
committerKhem Raj <raj.khem@gmail.com>2020-11-04 11:09:47 -0800
commitc808f9086b2ef2dd13b3b3c3ed3a38d67a473ff7 (patch)
treebe480acfb482df399a6ea91c98fe392debf293b5 /meta-python/recipes-devtools/python/python3-dateparser_1.0.0.bb
parent2ee827ff1228e0798f6d177690d6a6e3d2f2b307 (diff)
downloadmeta-openembedded-c808f9086b2ef2dd13b3b3c3ed3a38d67a473ff7.tar.gz
python3-dateparser: Upgrade 0.7.6 -> 1.0.0
Upgrade to release 1.0.0: - Drop support for Python 2.7 and pypy - Now DateDataParser.get_date_data() returns a DateData object instead of a dict - From now wrong settings are not silenced and raise SettingValidationError - Now dateparser.parse() is deterministic and doesn't try previous locales. Also, DateDataParser.get_date_data() doesn't try the previous locales by default - Remove the 'base-formats' parser - Extract the 'no-spaces-time' parser from the 'absolute-time' parser and make it an optional parser - Remove numeral_translation_data - Remove the undocumented SKIP_TOKENS_PARSER and FUZZY settings - Remove support for using strings in date_formats - The undocumented ExactLanguageSearch class has been moved to the private scope and some internal methods have changed - Changes in dateparser.utils: normalize_unicode() doesn't accept bytes as input and convert_to_unicode has been deprecated - Add Python 3.9 support - Detect hours separated with a period/dot - Add support for "decade" - Add support for the hijri calendar in Python ≥ 3.6 - New logo! - Improve the README and docs - Fix the "calendars" extra - Fix leap years when PREFER_DATES_FROM is set - Fix STRICT_PARSING setting in no-spaces-time parser - Consider RETURN_AS_TIME_PERIOD setting for relative-time parser - Parse the 24hr time format with meridian info - Other small improvements Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-dateparser_1.0.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-dateparser_1.0.0.bb21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-dateparser_1.0.0.bb b/meta-python/recipes-devtools/python/python3-dateparser_1.0.0.bb
new file mode 100644
index 0000000000..e3691dd83a
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-dateparser_1.0.0.bb
@@ -0,0 +1,21 @@
1DESCRIPTION = "Provides modules to easily parse localized dates in almost any string formats commonly found on web pages"
2HOMEPAGE = "https://github.com/scrapinghub/dateparser"
3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=3d3ed25571191e7aa3f55d0a6efe0051"
5
6SRC_URI[md5sum] = "24a06a429597239004d47e6b93991aaf"
7SRC_URI[sha256sum] = "159cc4e01a593706a15cd4e269a0b3345edf3aef8bf9278a57dac8adf5bf1e4a"
8
9PYPI_PACKAGE = "dateparser"
10
11inherit pypi setuptools3
12
13CLEANBROKEN = "1"
14
15RDEPENDS_${PN} += " \
16 ${PYTHON_PN}-dateutil \
17 ${PYTHON_PN}-tzlocal \
18 ${PYTHON_PN}-ruamel-yaml \
19"
20
21# Ommitted ${PYTHON_PN}-convertdate, ${PYTHON_PN}-jdatetime ${PYTHON_PN}-umalqurra