python3-dateutil: drop the six dependency

Patch dateutil to use the standard library instead of the six metaclass
decorators, type aliases, raise_from and six.moves imports, and drop the
runtime dependency.

Built for intel-corei7-64.

AI-Generated: Uses Claude Code (Claude Opus 5)
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Markus Volk authored and Khem Raj committed 2026-09-21 16:21:40 -07:00
1 parent 6242d7a215
commit 78dabd2280
2 files changed
+752 -1

No files matched your search

@@ -4,6 +4,7 @@ HOMEPAGE = "https://dateutil.readthedocs.org"
LICENSE = "Apache-2.0 AND BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e3155c7bdc71f66e02678411d2abf996"
SRC_URI += "file://0001-drop-the-six-dependency.patch"
SRC_URI[sha256sum] = "78e73e19c63f5b20ffa567001531680d939dc042bf7850431877645523c66709"
PYPI_PACKAGE = "python-dateutil"
@@ -19,7 +20,6 @@ DEPENDS += "python3-setuptools-scm-native"
RDEPENDS:${PN} = "\
python3-datetime \
python3-numbers \
python3-six \
python3-stringold \
"