Files
meta-openembedded/meta-python/recipes-devtools/python/python3-dateutil_4.0.0.bb
T
Khem Raj 5e67c4ea96 python3-dateutil: upgrade 2.9.0 -> 4.0.0
Upstream dropped six and builds with hatchling; drop the six patch,
inherit python_hatchling and add the new tzdata runtime dependency.

Changes:
- 3.0.0: new runtime dependency on tzdata; the bundled zoneinfo
  database is no longer shipped and dateutil.zoneinfo is deprecated.
- 3.0.0: tz.tzfile rewritten (v2/v3 tzfile and slim binaries, times
  past 2038); nonexistent times now follow PEP 495, so offsets differ.
- 4.0.0: requires Python 3.11+; six dependency removed; build backend
  switched to Hatchling.
- 4.0.0: isoparse now rejects non-exact digit fields (breaking for
  sloppy input); fix cached rrule/rruleset hang, relativedelta
  yearday=366, tzutc/tzoffset unpickling; rrulestr ignores X- params.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-17 12:58:58 -08:00

26 lines
832 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 = "Apache-2.0 AND BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e3155c7bdc71f66e02678411d2abf996"
SRC_URI[sha256sum] = "d7295ff14fdc0f92f662100bfb6c551d160ca090f2939f1ec5b9794265c03f06"
PYPI_PACKAGE = "python-dateutil"
inherit pypi python_hatchling
DEPENDS += "python3-hatch-fancy-pypi-readme-native python3-hatch-vcs-native"
PACKAGES =+ "${PN}-zoneinfo"
FILES:${PN}-zoneinfo = "${PYTHON_SITEPACKAGES_DIR}/dateutil/zoneinfo"
RDEPENDS:${PN} = "\
python3-datetime \
python3-numbers \
python3-stringold \
python3-tzdata \
"
BBCLASSEXTEND = "native nativesdk"