summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pillow_11.1.0.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2025-01-07 17:01:39 +0800
committerKhem Raj <raj.khem@gmail.com>2025-01-07 09:33:15 -0800
commitc4f7e7f51ea36983e4b1458f95ef4d5887c19050 (patch)
tree9b7b2692029e078a21f88a6a4313ea4ad2cf1f04 /meta-python/recipes-devtools/python/python3-pillow_11.1.0.bb
parent558b7cfb33d6a37e8cf1b5ba768161b070eb0cda (diff)
downloadmeta-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.bb73
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 @@
1DESCRIPTION = "Python Imaging Library (Fork). Pillow is the friendly PIL fork by Alex \
2Clark and Contributors. PIL is the Python Imaging Library by Fredrik Lundh and \
3Contributors."
4HOMEPAGE = "https://pillow.readthedocs.io"
5LICENSE = "MIT-CMU"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=a1b708da743e3fc0e5c35e92daac0bf8"
7
8SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=main;protocol=https \
9 file://0001-support-cross-compiling.patch \
10 file://run-ptest \
11 "
12SRCREV = "4c1aed801e43c6b307e7135279ca1dbc02bbf052"
13
14inherit python_setuptools_build_meta ptest
15
16PEP517_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
29DEPENDS += " \
30 zlib \
31 jpeg \
32 tiff \
33 freetype \
34 lcms \
35 openjpeg \
36"
37
38RDEPENDS:${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
45RDEPENDS:${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
62CVE_PRODUCT = "pillow"
63
64S = "${WORKDIR}/git"
65
66RPROVIDES:${PN} += "python3-imaging"
67
68do_install_ptest() {
69 install -d ${D}${PTEST_PATH}/Tests
70 cp -rf ${S}/Tests ${D}${PTEST_PATH}/
71}
72
73BBCLASSEXTEND = "native"