mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-15 06:45:32 +01:00
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>
19 lines
549 B
BlitzBasic
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"
|