python3-txws: drop the six dependency

Patch txWS to use bytes literals, str and bytes instead of six.b and the
six type aliases, and remove the six.PY2 ord() fixups since indexing a
bytes object already yields an int.

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 5dce4b4467
commit db1529396a
2 files changed
+193 -2

No files matched your search

@@ -4,10 +4,9 @@ HOMEPAGE = "https://github.com/MostAwesomeDude/txWS"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=76699830db7fa9e897f6a1ad05f98ec8"
DEPENDS = "python3-twisted python3-six python3-vcversioner python3-six-native python3-vcversioner-native"
DEPENDS = "python3-twisted python3-vcversioner python3-vcversioner-native"
RDEPENDS:${PN} += " \
python3-six \
python3-twisted \
"
@@ -15,4 +14,5 @@ inherit setuptools3 pypi
PYPI_PACKAGE = "txWS"
SRC_URI += "file://0001-drop-the-six-dependency.patch"
SRC_URI[sha256sum] = "cb93086095d04a5d70f53a75053f7df478ff37e972c3637fb55ca4a9e6b94679"