python3-smpplib: drop the six dependency

Patch smpplib to use dict.items, a bytes literal and a latin-1 encode
instead of six.iteritems, six.int2byte and six.b, 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-22 11:36:18 -07:00
1 parent 8c1500fb22
commit faafeefc54
2 files changed
+125 -1

No files matched your search

@@ -3,13 +3,13 @@ SECTION = "devel/python"
LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://README.md;md5=8b4e2ac8cf248f7b991784f88b630852"
SRC_URI += "file://0001-drop-the-six-dependency.patch"
SRC_URI[sha256sum] = "6f3b036fcb2643c1b7a3289bb5ac4c9a720af1bf73e572e2729db6b5d800c273"
inherit pypi setuptools3 ptest-python-pytest
RDEPENDS:${PN} += " \
python3-logging \
python3-six \
"
RDEPENDS:${PN}-ptest += " \