diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2022-01-21 15:05:29 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-01-24 09:09:59 -0800 |
| commit | f41b3757dddfc1b950f0d21de3af6b81167cd3ba (patch) | |
| tree | bc12763a9495d90331be218304822e95b5a3ca54 /meta-python/recipes-devtools/python/python3-pillow_9.0.0.bb | |
| parent | a558d51fecda3e66ace21d02b57ab61bf122fdc1 (diff) | |
| download | meta-openembedded-f41b3757dddfc1b950f0d21de3af6b81167cd3ba.tar.gz | |
python3-pillow: Upgrade 8.3.2 -> 9.0.0
Upgrade to release 9.0.0:
- Restrict builtins for ImageMath.eval()
- Ensure JpegImagePlugin stops at the end of a truncated file
- Fixed ImagePath.Path array handling
- Remove consecutive duplicate tiles that only differ by their
offset
- Removed redundant part of condition
- Explicitly enable strip chopping for large uncompressed TIFFs
- Use the Windows method to get TCL functions on Cygwin
- Changed error type to allow for incremental WebP parsing
- Improved I;16 operations on big endian
- Ensure that BMP pixel data offset does not ignore palette
- Limit quantized palette to number of colors
- Use latin1 encoding to decode bytes
- Fixed palette index for zeroed color in FASTOCTREE quantize
- When saving RGBA to GIF, make use of first transparent palette
entry
- Pass SAMPLEFORMAT to libtiff
- Added rounding when converting P and PA
- Improved putdata() documentation and data handling
- Exclude carriage return in PDF regex to help prevent ReDoS
- Image.NONE is only used for resampling and dithers
- Fixed freeing pointer in ImageDraw.Outline.transform
- Add Tidelift alignment action and badge
- Replaced further direct invocations of setup.py
- Added ImageShow support for xdg-open
- Switched from deprecated "setup.py install" to "pip install ."
- Support 16-bit grayscale ImageQt conversion
- Fixed raising OSError in _safe_read when size is greater than
SAFEBLOCK
- Convert subsequent GIF frames to RGB or RGBA
- WebP: Fix memory leak during decoding on failure
- Do not prematurely return in ImageFile when saving to stdout
- Added support for top right and bottom right TGA orientations
- Corrected ICNS file length in header
- Block tile TIFF tags when saving
- Added line width argument to ImageDraw polygon
- Do not redeclare class each time when converting to NumPy
- Only prevent repeated polygon pixels when drawing with
transparency
- Fix pushes_fd method signature
- Add support for pickling TrueType fonts
- Only prefer command line tools SDK on macOS over default
MacOSX SDK
- Fix compilation on 64-bit Termux
- Replace 'setup.py sdist' with '-m build --sdist'
- Use declarative package configuration
- Use title for display in ImageShow
- Fix for PyQt6
- Rename master to main
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pillow_9.0.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pillow_9.0.0.bb | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pillow_9.0.0.bb b/meta-python/recipes-devtools/python/python3-pillow_9.0.0.bb new file mode 100644 index 0000000000..de3c92c3d3 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pillow_9.0.0.bb | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | SUMMARY = "Python Imaging Library (Fork). Pillow is the friendly PIL fork by Alex \ | ||
| 2 | Clark and Contributors. PIL is the Python Imaging Library by Fredrik Lundh and \ | ||
| 3 | Contributors." | ||
| 4 | HOMEPAGE = "https://pillow.readthedocs.io" | ||
| 5 | LICENSE = "MIT" | ||
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ad081a0aede51e89f8da13333a8fb849" | ||
| 7 | |||
| 8 | SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=9.0.x;protocol=https \ | ||
| 9 | file://0001-support-cross-compiling.patch \ | ||
| 10 | file://0001-explicitly-set-compile-options.patch \ | ||
| 11 | " | ||
| 12 | SRCREV ?= "82541b6dec8452cb612067fcebba1c5a1a2bfdc8" | ||
| 13 | |||
| 14 | inherit setuptools3 | ||
| 15 | |||
| 16 | DEPENDS += " \ | ||
| 17 | zlib \ | ||
| 18 | jpeg \ | ||
| 19 | tiff \ | ||
| 20 | freetype \ | ||
| 21 | lcms \ | ||
| 22 | openjpeg \ | ||
| 23 | " | ||
| 24 | |||
| 25 | RDEPENDS:${PN} += " \ | ||
| 26 | ${PYTHON_PN}-misc \ | ||
| 27 | ${PYTHON_PN}-logging \ | ||
| 28 | ${PYTHON_PN}-numbers \ | ||
| 29 | " | ||
| 30 | |||
| 31 | CVE_PRODUCT = "pillow" | ||
| 32 | |||
| 33 | S = "${WORKDIR}/git" | ||
| 34 | |||
| 35 | RPROVIDES:${PN} += "python3-imaging" | ||
| 36 | |||
| 37 | BBCLASSEXTEND = "native" | ||
