Files
meta-openembedded/meta-python/recipes-devtools/python/python3-smpplib_2.2.4.bb
T
Markus Volk faafeefc54 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>
2026-09-22 11:36:18 -07:00

24 lines
609 B
BlitzBasic

SUMMARY = "SMPP library for python"
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 \
"
RDEPENDS:${PN}-ptest += " \
python3-mock \
python3-profile \
"
do_install_ptest:append() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/smpplib/tests/* ${D}${PTEST_PATH}/tests/
}