summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pillow_12.2.0.bb
diff options
context:
space:
mode:
authorGyorgy Sarvari <skandigraun@gmail.com>2026-04-20 11:33:20 +0200
committerKhem Raj <khem.raj@oss.qualcomm.com>2026-04-20 07:35:37 -0700
commit1be9c09e2314c2f8241273dab23e15bae59a6323 (patch)
tree3d2c9d471b07f4c67bdeb5ab52d6d69aee6fa673 /meta-python/recipes-devtools/python/python3-pillow_12.2.0.bb
parent468ee626f88272eedf275efe6f68640ee643c3f4 (diff)
downloadmeta-openembedded-1be9c09e2314c2f8241273dab23e15bae59a6323.tar.gz
python3-pillow: upgrade 12.1.1 -> 12.2.0
Contains fix for CVE-2026-40192 License-update: Copyright holder's name is spelled out fully instead of using abbreviation. Changelog: https://pillow.readthedocs.io/en/stable/releasenotes/12.2.0.html Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pillow_12.2.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pillow_12.2.0.bb67
1 files changed, 67 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pillow_12.2.0.bb b/meta-python/recipes-devtools/python/python3-pillow_12.2.0.bb
new file mode 100644
index 0000000000..f3fcb2d3c1
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pillow_12.2.0.bb
@@ -0,0 +1,67 @@
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=a6f0ac3777cfc96ded1b825e32ae7c99"
7
8SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=main;protocol=https;tag=${PV} \
9 file://0001-support-cross-compiling.patch \
10 "
11SRCREV = "3c41c095064200a02672d89cc5ff629eaf4b0d4f"
12
13inherit python_setuptools_build_meta ptest-python-pytest
14
15PTEST_PYTEST_DIR = "Tests"
16
17PEP517_BUILD_OPTS += " \
18 -C platform-guessing=disable \
19 -C zlib=enable \
20 -C jpeg=enable \
21 -C tiff=enable \
22 -C freetype=enable \
23 -C lcms=enable \
24 -C jpeg2000=enable \
25 -C webp=disable \
26 -C webpmux=disable \
27 -C imagequant=disable \
28"
29
30DEPENDS += " \
31 zlib \
32 jpeg \
33 tiff \
34 freetype \
35 lcms \
36 openjpeg \
37 python3-pybind11-native \
38"
39
40RDEPENDS:${PN} += " \
41 python3-misc \
42 python3-logging \
43 python3-numbers \
44 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxcb', '', d)} \
45"
46# python3-compile for filecmp module
47RDEPENDS:${PN}-ptest += " \
48 bash \
49 ghostscript \
50 jpeg-tools \
51 libwebp \
52 python3-compile \
53 python3-core \
54 python3-image \
55 python3-mmap \
56 python3-pytest-timeout \
57 python3-resource \
58 python3-unixadmin\
59 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'tk', '', d)} \
60"
61
62CVE_PRODUCT = "pillow"
63
64
65RPROVIDES:${PN} += "python3-imaging"
66
67BBCLASSEXTEND = "native nativesdk"