diff options
-rw-r--r-- | meta/recipes-devtools/python/python3-packaging_23.2.bb | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python3-packaging_23.2.bb b/meta/recipes-devtools/python/python3-packaging_23.2.bb index 2d35936615e..0acbb2eac0a 100644 --- a/meta/recipes-devtools/python/python3-packaging_23.2.bb +++ b/meta/recipes-devtools/python/python3-packaging_23.2.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=faadaedca9251a90b205c9167578ce91" SRC_URI[sha256sum] = "048fb0e9405036518eaaf48a55953c750c11e1a1b68e0dd1a9d62ed0c092cfc5" -inherit pypi python_flit_core +inherit pypi python_flit_core ptest BBCLASSEXTEND = "native nativesdk" @@ -16,3 +16,12 @@ RDEPENDS:${PN} += "python3-profile" do_compile:class-native () { python_flit_core_do_manual_build } + +RDEPENDS:${PN}-ptest += "python3-pytest python3-pretend" +INSANE_SKIP:${PN} += "already-stripped" +INSANE_SKIP:${PN}-ptest += "arch" + +do_install_ptest() { + cp -r ${S}/tests ${D}${PTEST_PATH} + rm -f ${D}${PTEST_PATH}/tests/manylinux/build.sh +} |