meta-openembedded/meta-python/recipes-devtools/python/python3-pyasyncore_1.0.4.bb
Gyorgy Sarvari 6eacd02854 python3-pyasyncore: fix ptests
The tests are using only Python's unittest module, not pytest -
so adapt the run-ptest script to invoke unittest instead pytest.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-25 14:20:38 -07:00

19 lines
549 B
BlitzBasic

SUMMARY = "Make asyncore available for Python 3.12 onwards"
HOMEPAGE = "https://github.com/simonrob/pyasyncore"
LICENSE = "Python-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=d5605fc335ce1bab614032468d0a1e00"
inherit pypi setuptools3 ptest
SRC_URI += "file://run-ptest"
SRC_URI[sha256sum] = "2c7a8b9b750ba6260f1e5a061456d61320a80579c6a43d42183417da89c7d5d6"
RDEPENDS:${PN} += "python3-core python3-io"
RDEPENDS:${PN}-ptest += "python3-tests"
do_install_ptest:append(){
cp -r ${S}/tests ${D}${PTEST_PATH}
}
BBCLASSEXTEND = "native nativesdk"