meta-openembedded/meta-python/recipes-devtools/python/python3-dateutil_2.9.0.bb
alperak f1a49372b3
python3-dateutil: upgrade 2.8.2 -> 2.9.0
Changelog:

Data updates

    Updated tzdata version to 2024a.

Features

    Made all dateutil submodules lazily imported using PEP 562. On Python 3.7+, things like import dateutil; dateutil.tz.gettz("America/New_York") will now work without explicitly importing dateutil.
	tz, with the import occurring behind the scenes on first use. The old behavior remains on Python 3.6 and earlier.

Bugfixes

    Removed a call to datetime.utcfromtimestamp, which is deprecated as of Python 3.12.

Documentation changes

    Added note into docs and tests where relativedelta would return last day of the month only if the same day on a different month resolves to a date that doesn't exist.

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-05 11:02:04 -08:00

26 lines
855 B
BlitzBasic

SUMMARY = "Extensions to the standard Python datetime module"
DESCRIPTION = "The dateutil module provides powerful extensions to the datetime module available in the Python standard library."
HOMEPAGE = "https://dateutil.readthedocs.org"
LICENSE = "BSD-3-Clause & Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e3155c7bdc71f66e02678411d2abf996"
SRC_URI[sha256sum] = "78e73e19c63f5b20ffa567001531680d939dc042bf7850431877645523c66709"
PYPI_PACKAGE = "python-dateutil"
PIP_INSTALL_PACKAGE = "python_dateutil"
inherit pypi python_setuptools_build_meta
PACKAGES =+ "${PN}-zoneinfo"
FILES:${PN}-zoneinfo = "${libdir}/${PYTHON_DIR}/site-packages/dateutil/zoneinfo"
DEPENDS += "python3-setuptools-scm-native"
RDEPENDS:${PN} = "\
python3-datetime \
python3-numbers \
python3-six \
python3-stringold \
"
BBCLASSEXTEND = "native nativesdk"