summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pillow_11.2.1.bb
diff options
context:
space:
mode:
authorTom Geelen <t.f.g.geelen@gmail.com>2025-06-18 00:04:17 +0200
committerKhem Raj <raj.khem@gmail.com>2025-06-20 10:34:12 -0700
commit2011f868a3cde1707e494973a9169fa5762c9225 (patch)
treed1eb1f9d0f11ceb58bc031047d2125ec79c8ec78 /meta-python/recipes-devtools/python/python3-pillow_11.2.1.bb
parente133633d1aff101adc9ef6cbf0387ce657efa5c6 (diff)
downloadmeta-openembedded-2011f868a3cde1707e494973a9169fa5762c9225.tar.gz
python3-pillow: 11.1.0 -> 11.2.1
Release notes: https://pillow.readthedocs.io/en/stable/releasenotes/11.2.1.html Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pillow_11.2.1.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pillow_11.2.1.bb67
1 files changed, 67 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pillow_11.2.1.bb b/meta-python/recipes-devtools/python/python3-pillow_11.2.1.bb
new file mode 100644
index 0000000000..4de3687c8f
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pillow_11.2.1.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=a1b708da743e3fc0e5c35e92daac0bf8"
7
8SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=main;protocol=https \
9 file://0001-support-cross-compiling.patch \
10 "
11SRCREV = "339bc5db93bd95decf65a59fab273f300db6594d"
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"
38
39RDEPENDS:${PN} += " \
40 python3-misc \
41 python3-logging \
42 python3-numbers \
43 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxcb', '', d)} \
44"
45# python3-compile for filecmp module
46RDEPENDS:${PN}-ptest += " \
47 bash \
48 ghostscript \
49 jpeg-tools \
50 libwebp \
51 python3-compile \
52 python3-core \
53 python3-image \
54 python3-mmap \
55 python3-pytest-timeout \
56 python3-resource \
57 python3-unixadmin\
58 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'tk', '', d)} \
59"
60
61CVE_PRODUCT = "pillow"
62
63S = "${WORKDIR}/git"
64
65RPROVIDES:${PN} += "python3-imaging"
66
67BBCLASSEXTEND = "native"