summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pillow_10.1.0.bb
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2023-11-14 14:09:40 +0200
committerKhem Raj <raj.khem@gmail.com>2023-11-14 07:35:05 -0800
commita0473439e9eb8a928c8d1185426ddea88ea8b064 (patch)
tree4f9e326f94f49c2a3e6d4768096efcd6966a5878 /meta-python/recipes-devtools/python/python3-pillow_10.1.0.bb
parent3bd22863ce8de903a550cfd8461a4ac1954e5fab (diff)
downloadmeta-openembedded-a0473439e9eb8a928c8d1185426ddea88ea8b064.tar.gz
python3-pillow: Upgrade 10.0.1 -> 10.1.0
Upgrade to release 10.1.0: - Added TrueType default font to allow for different sizes - Fixed invalid argument warning - Added ImageOps cover method - Catch struct.error from truncated EXIF when reading JPEG DPI - Consider default image when selecting mode for PNG save_all - Support BGR;15, BGR;16 and BGR;24 access, unpacking and putdata - Added CMYK to RGB unpacker - Improved flexibility of XMP parsing - Support reading 8-bit YCbCr TIFF images - Allow saving I;16B images as PNG - Corrected drawing I;16 points and writing I;16 text - Set blue channel to 128 for BC5S - Increase flexibility when reading IPTC fields - Set C palette to be empty by default - Added gs_binary to control Ghostscript use on all platforms - Read bounding box information from the trailer of EPS files if specified - Added reading 8-bit color DDS images - Added has_transparency_data - Fixed bug when reading BC5S DDS images - Prevent TIFF orientation from being applied more than once - Use previous pixel alpha for QOI_OP_RGB - Added BC5U reading - Allow getpixel() to accept a list - Allow GaussianBlur and BoxBlur to accept a sequence of x and y radii - Expand JPEG buffer size when saving optimized or progressive - Added session type check for Linux in ImageGrab.grabclipboard() - Allow "loop=None" when saving GIF images - Fixed transparency when saving P mode images to PDF - Added saving LA images as PDFs - Set SMaskInData to 1 for PDFs with alpha - Changed Image mode property to be read-only by default - Silence exceptions in _repr_jpeg_ and _repr_png_ - Do not use transparency when saving GIF if it has been removed when normalizing mode - Fix missing symbols when libtiff depends on libjpeg This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pillow_10.1.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pillow_10.1.0.bb65
1 files changed, 65 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pillow_10.1.0.bb b/meta-python/recipes-devtools/python/python3-pillow_10.1.0.bb
new file mode 100644
index 0000000000..322c90eda5
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pillow_10.1.0.bb
@@ -0,0 +1,65 @@
1SUMMARY = "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"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=b22dc6b663b9175820e5e03337c7596b"
7
8SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=10.0.x;protocol=https \
9 file://0001-support-cross-compiling.patch \
10 file://0001-explicitly-set-compile-options.patch \
11 file://run-ptest \
12 "
13SRCREV ?= "da59ad000d1405eaecd557175e29083a87d19f7c"
14
15inherit setuptools3 ptest
16
17PIP_INSTALL_PACKAGE = "Pillow"
18PIP_INSTALL_DIST_PATH = "${S}/dist"
19
20DEPENDS += " \
21 zlib \
22 jpeg \
23 tiff \
24 freetype \
25 lcms \
26 openjpeg \
27"
28
29RDEPENDS:${PN} += " \
30 ${PYTHON_PN}-misc \
31 ${PYTHON_PN}-logging \
32 ${PYTHON_PN}-numbers \
33 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxcb', '', d)} \
34"
35
36RDEPENDS:${PN}-ptest += " \
37 bash \
38 ghostscript \
39 jpeg-tools \
40 libwebp \
41 ${PYTHON_PN}-core \
42 ${PYTHON_PN}-distutils \
43 ${PYTHON_PN}-image \
44 ${PYTHON_PN}-mmap \
45 ${PYTHON_PN}-pytest \
46 ${PYTHON_PN}-pytest-timeout \
47 ${PYTHON_PN}-resource \
48 ${PYTHON_PN}-unixadmin\
49 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'tk', '', d)} \
50"
51
52CVE_PRODUCT = "pillow"
53
54S = "${WORKDIR}/git"
55
56RPROVIDES:${PN} += "python3-imaging"
57
58do_install_ptest() {
59 install -d ${D}${PTEST_PATH}/Tests
60 cp -rf ${S}/Tests ${D}${PTEST_PATH}/
61}
62
63BBCLASSEXTEND = "native"
64
65SRCREV = "e34d346f10c0b1c814661e662a3e0c1ef084cf1c"