diff options
Diffstat (limited to 'meta-python/recipes-devtools/python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pillow/run-ptest | 3 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pillow_11.1.0.bb | 12 |
2 files changed, 3 insertions, 12 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pillow/run-ptest b/meta-python/recipes-devtools/python/python3-pillow/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-pillow/run-ptest +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-pillow_11.1.0.bb b/meta-python/recipes-devtools/python/python3-pillow_11.1.0.bb index 7be15f3f91..f8341c90f7 100644 --- a/meta-python/recipes-devtools/python/python3-pillow_11.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-pillow_11.1.0.bb | |||
| @@ -7,11 +7,12 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a1b708da743e3fc0e5c35e92daac0bf8" | |||
| 7 | 7 | ||
| 8 | SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=main;protocol=https \ | 8 | SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=main;protocol=https \ |
| 9 | file://0001-support-cross-compiling.patch \ | 9 | file://0001-support-cross-compiling.patch \ |
| 10 | file://run-ptest \ | ||
| 11 | " | 10 | " |
| 12 | SRCREV = "4c1aed801e43c6b307e7135279ca1dbc02bbf052" | 11 | SRCREV = "4c1aed801e43c6b307e7135279ca1dbc02bbf052" |
| 13 | 12 | ||
| 14 | inherit python_setuptools_build_meta ptest | 13 | inherit python_setuptools_build_meta ptest-python-pytest |
| 14 | |||
| 15 | PTEST_PYTEST_DIR = "Tests" | ||
| 15 | 16 | ||
| 16 | PEP517_BUILD_OPTS += " \ | 17 | PEP517_BUILD_OPTS += " \ |
| 17 | -C platform-guessing=disable \ | 18 | -C platform-guessing=disable \ |
| @@ -51,10 +52,8 @@ RDEPENDS:${PN}-ptest += " \ | |||
| 51 | python3-core \ | 52 | python3-core \ |
| 52 | python3-image \ | 53 | python3-image \ |
| 53 | python3-mmap \ | 54 | python3-mmap \ |
| 54 | python3-pytest \ | ||
| 55 | python3-pytest-timeout \ | 55 | python3-pytest-timeout \ |
| 56 | python3-resource \ | 56 | python3-resource \ |
| 57 | python3-unittest-automake-output \ | ||
| 58 | python3-unixadmin\ | 57 | python3-unixadmin\ |
| 59 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'tk', '', d)} \ | 58 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'tk', '', d)} \ |
| 60 | " | 59 | " |
| @@ -65,9 +64,4 @@ S = "${WORKDIR}/git" | |||
| 65 | 64 | ||
| 66 | RPROVIDES:${PN} += "python3-imaging" | 65 | RPROVIDES:${PN} += "python3-imaging" |
| 67 | 66 | ||
| 68 | do_install_ptest() { | ||
| 69 | install -d ${D}${PTEST_PATH}/Tests | ||
| 70 | cp -rf ${S}/Tests ${D}${PTEST_PATH}/ | ||
| 71 | } | ||
| 72 | |||
| 73 | BBCLASSEXTEND = "native" | 67 | BBCLASSEXTEND = "native" |
