diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2025-01-07 17:01:39 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-01-07 09:33:15 -0800 |
| commit | c4f7e7f51ea36983e4b1458f95ef4d5887c19050 (patch) | |
| tree | 9b7b2692029e078a21f88a6a4313ea4ad2cf1f04 /meta-python/recipes-devtools/python/python3-pillow_11.1.0.bb | |
| parent | 558b7cfb33d6a37e8cf1b5ba768161b070eb0cda (diff) | |
| download | meta-openembedded-c4f7e7f51ea36983e4b1458f95ef4d5887c19050.tar.gz | |
python3-pillow: upgrade 11.0.0 -> 11.1.0
0001-support-cross-compiling.patch
refreshed for 11.1.0
License-Update: Update license to MIT-CMU
Changelog:
https://pillow.readthedocs.io/en/stable/releasenotes/11.1.0.html
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pillow_11.1.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pillow_11.1.0.bb | 73 |
1 files changed, 73 insertions, 0 deletions
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 new file mode 100644 index 0000000000..7be15f3f91 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pillow_11.1.0.bb | |||
| @@ -0,0 +1,73 @@ | |||
| 1 | DESCRIPTION = "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-CMU" | ||
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a1b708da743e3fc0e5c35e92daac0bf8" | ||
| 7 | |||
| 8 | SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=main;protocol=https \ | ||
| 9 | file://0001-support-cross-compiling.patch \ | ||
| 10 | file://run-ptest \ | ||
| 11 | " | ||
| 12 | SRCREV = "4c1aed801e43c6b307e7135279ca1dbc02bbf052" | ||
| 13 | |||
| 14 | inherit python_setuptools_build_meta ptest | ||
| 15 | |||
| 16 | PEP517_BUILD_OPTS += " \ | ||
| 17 | -C platform-guessing=disable \ | ||
| 18 | -C zlib=enable \ | ||
| 19 | -C jpeg=enable \ | ||
| 20 | -C tiff=enable \ | ||
| 21 | -C freetype=enable \ | ||
| 22 | -C lcms=enable \ | ||
| 23 | -C jpeg2000=enable \ | ||
| 24 | -C webp=disable \ | ||
| 25 | -C webpmux=disable \ | ||
| 26 | -C imagequant=disable \ | ||
| 27 | " | ||
| 28 | |||
| 29 | DEPENDS += " \ | ||
| 30 | zlib \ | ||
| 31 | jpeg \ | ||
| 32 | tiff \ | ||
| 33 | freetype \ | ||
| 34 | lcms \ | ||
| 35 | openjpeg \ | ||
| 36 | " | ||
| 37 | |||
| 38 | RDEPENDS:${PN} += " \ | ||
| 39 | python3-misc \ | ||
| 40 | python3-logging \ | ||
| 41 | python3-numbers \ | ||
| 42 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxcb', '', d)} \ | ||
| 43 | " | ||
| 44 | # python3-compile for filecmp module | ||
| 45 | RDEPENDS:${PN}-ptest += " \ | ||
| 46 | bash \ | ||
| 47 | ghostscript \ | ||
| 48 | jpeg-tools \ | ||
| 49 | libwebp \ | ||
| 50 | python3-compile \ | ||
| 51 | python3-core \ | ||
| 52 | python3-image \ | ||
| 53 | python3-mmap \ | ||
| 54 | python3-pytest \ | ||
| 55 | python3-pytest-timeout \ | ||
| 56 | python3-resource \ | ||
| 57 | python3-unittest-automake-output \ | ||
| 58 | python3-unixadmin\ | ||
| 59 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'tk', '', d)} \ | ||
| 60 | " | ||
| 61 | |||
| 62 | CVE_PRODUCT = "pillow" | ||
| 63 | |||
| 64 | S = "${WORKDIR}/git" | ||
| 65 | |||
| 66 | RPROVIDES:${PN} += "python3-imaging" | ||
| 67 | |||
| 68 | do_install_ptest() { | ||
| 69 | install -d ${D}${PTEST_PATH}/Tests | ||
| 70 | cp -rf ${S}/Tests ${D}${PTEST_PATH}/ | ||
| 71 | } | ||
| 72 | |||
| 73 | BBCLASSEXTEND = "native" | ||
