summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-packaging_24.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python/python3-packaging_24.1.bb')
-rw-r--r--meta/recipes-devtools/python/python3-packaging_24.1.bb21
1 files changed, 20 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python3-packaging_24.1.bb b/meta/recipes-devtools/python/python3-packaging_24.1.bb
index 596250b066..20bcd55fba 100644
--- a/meta/recipes-devtools/python/python3-packaging_24.1.bb
+++ b/meta/recipes-devtools/python/python3-packaging_24.1.bb
@@ -5,7 +5,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=faadaedca9251a90b205c9167578ce91"
5 5
6SRC_URI[sha256sum] = "026ed72c8ed3fcce5bf8950572258698927fd1dbda10a5e981cdf0ac37f4f002" 6SRC_URI[sha256sum] = "026ed72c8ed3fcce5bf8950572258698927fd1dbda10a5e981cdf0ac37f4f002"
7 7
8inherit pypi python_flit_core 8SRC_URI += "file://run-ptest"
9
10inherit pypi python_flit_core ptest
9 11
10BBCLASSEXTEND = "native nativesdk" 12BBCLASSEXTEND = "native nativesdk"
11 13
@@ -16,3 +18,20 @@ RDEPENDS:${PN} += "python3-profile"
16do_compile:class-native () { 18do_compile:class-native () {
17 python_flit_core_do_manual_build 19 python_flit_core_do_manual_build
18} 20}
21
22do_install_ptest() {
23 cp -r ${S}/tests ${D}${PTEST_PATH}/
24 # We don't need this script which is used to build the binaries
25 rm -f ${D}${PTEST_PATH}/tests/manylinux/build.sh
26}
27
28RDEPENDS:${PN}-ptest = "\
29 python3-ctypes \
30 python3-pretend \
31 python3-pytest \
32 python3-unittest-automake-output \
33"
34
35# The ptest package contains prebuilt test binaries
36INSANE_SKIP:${PN} = "already-stripped"
37INSANE_SKIP:${PN}-ptest = "arch"