diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pillow_10.0.1.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pillow_10.0.1.bb | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pillow_10.0.1.bb b/meta-python/recipes-devtools/python/python3-pillow_10.0.1.bb new file mode 100644 index 0000000000..055b41bfa5 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pillow_10.0.1.bb | |||
| @@ -0,0 +1,65 @@ | |||
| 1 | SUMMARY = "Python Imaging Library (Fork). Pillow is the friendly PIL fork by Alex \ | ||
| 2 | Clark and Contributors. PIL is the Python Imaging Library by Fredrik Lundh and \ | ||
| 3 | Contributors." | ||
| 4 | HOMEPAGE = "https://pillow.readthedocs.io" | ||
| 5 | LICENSE = "MIT" | ||
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b22dc6b663b9175820e5e03337c7596b" | ||
| 7 | |||
| 8 | SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=10.0.x;protocol=https \ | ||
| 9 | file://0001-support-cross-compiling.patch \ | ||
| 10 | file://0001-explicitly-set-compile-options.patch \ | ||
| 11 | file://run-ptest \ | ||
| 12 | " | ||
| 13 | SRCREV ?= "82541b6dec8452cb612067fcebba1c5a1a2bfdc8" | ||
| 14 | |||
| 15 | inherit setuptools3 ptest | ||
| 16 | |||
| 17 | PIP_INSTALL_PACKAGE = "Pillow" | ||
| 18 | PIP_INSTALL_DIST_PATH = "${S}/dist" | ||
| 19 | |||
| 20 | DEPENDS += " \ | ||
| 21 | zlib \ | ||
| 22 | jpeg \ | ||
| 23 | tiff \ | ||
| 24 | freetype \ | ||
| 25 | lcms \ | ||
| 26 | openjpeg \ | ||
| 27 | " | ||
| 28 | |||
| 29 | RDEPENDS:${PN} += " \ | ||
| 30 | ${PYTHON_PN}-misc \ | ||
| 31 | ${PYTHON_PN}-logging \ | ||
| 32 | ${PYTHON_PN}-numbers \ | ||
| 33 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxcb', '', d)} \ | ||
| 34 | " | ||
| 35 | |||
| 36 | RDEPENDS:${PN}-ptest += " \ | ||
| 37 | bash \ | ||
| 38 | ghostscript \ | ||
| 39 | jpeg-tools \ | ||
| 40 | libwebp \ | ||
| 41 | ${PYTHON_PN}-core \ | ||
| 42 | ${PYTHON_PN}-distutils \ | ||
| 43 | ${PYTHON_PN}-image \ | ||
| 44 | ${PYTHON_PN}-mmap \ | ||
| 45 | ${PYTHON_PN}-pytest \ | ||
| 46 | ${PYTHON_PN}-pytest-timeout \ | ||
| 47 | ${PYTHON_PN}-resource \ | ||
| 48 | ${PYTHON_PN}-unixadmin\ | ||
| 49 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'tk', '', d)} \ | ||
| 50 | " | ||
| 51 | |||
| 52 | CVE_PRODUCT = "pillow" | ||
| 53 | |||
| 54 | S = "${WORKDIR}/git" | ||
| 55 | |||
| 56 | RPROVIDES:${PN} += "python3-imaging" | ||
| 57 | |||
| 58 | do_install_ptest() { | ||
| 59 | install -d ${D}${PTEST_PATH}/Tests | ||
| 60 | cp -rf ${S}/Tests ${D}${PTEST_PATH}/ | ||
| 61 | } | ||
| 62 | |||
| 63 | BBCLASSEXTEND = "native" | ||
| 64 | |||
| 65 | SRCREV = "e34d346f10c0b1c814661e662a3e0c1ef084cf1c" | ||
