summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pillow_11.0.0.bb
diff options
context:
space:
mode:
authorTom Geelen <t.f.g.geelen@gmail.com>2024-12-21 22:57:01 +0000
committerKhem Raj <raj.khem@gmail.com>2024-12-21 16:22:42 -0800
commita7feabbc2115311226995f4d54b516f8bee0ccea (patch)
treeca34a4dcec0ca34443319ec5ee3f40b7691361d6 /meta-python/recipes-devtools/python/python3-pillow_11.0.0.bb
parent7f98c1aec19dc531839a67b0dac7e6d9b4b3b7ad (diff)
downloadmeta-openembedded-a7feabbc2115311226995f4d54b516f8bee0ccea.tar.gz
python3-pillow: upgrade 10.4.0 -> 11.0.0
Signed-off-by: Tom Geelen <t.f.g.geelen@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pillow_11.0.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pillow_11.0.0.bb73
1 files changed, 73 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pillow_11.0.0.bb b/meta-python/recipes-devtools/python/python3-pillow_11.0.0.bb
new file mode 100644
index 0000000000..86e8dc6f6b
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pillow_11.0.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 = "HPND"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=c349a4b4b9ec2377a8fd6a7df87dbffe"
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 = "204aae6682fc936f5350b3fe70335776f81480a7"
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"