diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2024-07-15 17:02:16 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-07-15 16:36:14 -0700 |
| commit | f194c49e99c10444eada881ad8839374eba0a5a8 (patch) | |
| tree | 819c0430ba2a532f41fd55ee28e327456df5d000 /meta-python/recipes-devtools/python/python3-pillow_10.4.0.bb | |
| parent | 97d602eb89da159f3929a03447b9600b6bc10bc2 (diff) | |
| download | meta-openembedded-f194c49e99c10444eada881ad8839374eba0a5a8.tar.gz | |
python3-pillow: upgrade 10.3.0 -> 10.4.0
0001-support-cross-compiling.patch
refreshed for 10.4.0
Changelog:
===========
- Raise FileNotFoundError if show_file() path does not exist
- Improved reading 16-bit TGA images with colour
- Deprecate non-image ImageCms modes
- Fixed processing multiple JPEG EXIF markers
- Do not preserve EXIFIFD tag by default when saving TIFF images
- Added ImageFont.load_default_imagefont()
- Added Image.WARN_POSSIBLE_FORMATS
- Remove zero-byte end padding when parsing any XMP data
- Do not detect Ultra HDR images as MPO
- Raise SyntaxError specific to JP2
- Do not use first frame duration for other frames when saving APNG images
- Consider I;16 pixel size when using a 1 mode mask
- When saving multiple PNG frames, convert to mode rather than raw mode
- Added byte support to FreeTypeFont
- Allow float center for rotate operations
- Do not read layers immediately when opening PSD images
- Restore original thread state
- Read IM and TIFF images as RGB, rather than RGBX
- Only preserve TIFF IPTC_NAA_CHUNK tag if type is BYTE or UNDEFINED
- Clarify ImageDraw2 error message when size is missing
- Support unpacking more rawmodes to RGBA palettes
- Removed support for Qt 5
- Improve ImageFont.freetype support for XDG directories on Linux
- Improved consistency of XMP handling
- Use pkg-config to help find libwebp and raqm
- Accept 't' suffix for libtiff version #8126,
- Deprecate ImageDraw.getdraw hints parameter
- Added ImageDraw circle()
- Add mypy target to Makefile
- Added more modes to Image.MODES
- Deprecate BGR;15, BGR;16 and BGR;24 modes
- Fix ImagingAccess for I;16N on big-endian
- Support reading P mode TIFF images with padding
- Deprecate support for libtiff < 4
- Corrected ImageShow UnixViewer command
- Use functools.cached_property in ImageStat
- Add support for reading BITMAPV2INFOHEADER and BITMAPV3INFOHEADER
- Support reading CMYK JPEG2000 images
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pillow_10.4.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pillow_10.4.0.bb | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pillow_10.4.0.bb b/meta-python/recipes-devtools/python/python3-pillow_10.4.0.bb new file mode 100644 index 0000000000..71159ba500 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pillow_10.4.0.bb | |||
| @@ -0,0 +1,72 @@ | |||
| 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=c349a4b4b9ec2377a8fd6a7df87dbffe" | ||
| 7 | |||
| 8 | SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=main;protocol=https \ | ||
| 9 | file://0001-support-cross-compiling.patch \ | ||
| 10 | file://run-ptest \ | ||
| 11 | " | ||
| 12 | SRCREV = "9b4fae77178e827ab17118fbc89c739ffd6a0fab" | ||
| 13 | |||
| 14 | inherit python_setuptools_build_meta ptest | ||
| 15 | |||
| 16 | PEP517_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 | |||
| 29 | DEPENDS += " \ | ||
| 30 | zlib \ | ||
| 31 | jpeg \ | ||
| 32 | tiff \ | ||
| 33 | freetype \ | ||
| 34 | lcms \ | ||
| 35 | openjpeg \ | ||
| 36 | " | ||
| 37 | |||
| 38 | RDEPENDS:${PN} += " \ | ||
| 39 | python3-misc \ | ||
| 40 | python3-logging \ | ||
| 41 | python3-numbers \ | ||
| 42 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxcb', '', d)} \ | ||
| 43 | " | ||
| 44 | |||
| 45 | RDEPENDS:${PN}-ptest += " \ | ||
| 46 | bash \ | ||
| 47 | ghostscript \ | ||
| 48 | jpeg-tools \ | ||
| 49 | libwebp \ | ||
| 50 | python3-core \ | ||
| 51 | python3-image \ | ||
| 52 | python3-mmap \ | ||
| 53 | python3-pytest \ | ||
| 54 | python3-pytest-timeout \ | ||
| 55 | python3-resource \ | ||
| 56 | python3-unittest-automake-output \ | ||
| 57 | python3-unixadmin\ | ||
| 58 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'tk', '', d)} \ | ||
| 59 | " | ||
| 60 | |||
| 61 | CVE_PRODUCT = "pillow" | ||
| 62 | |||
| 63 | S = "${WORKDIR}/git" | ||
| 64 | |||
| 65 | RPROVIDES:${PN} += "python3-imaging" | ||
| 66 | |||
| 67 | do_install_ptest() { | ||
| 68 | install -d ${D}${PTEST_PATH}/Tests | ||
| 69 | cp -rf ${S}/Tests ${D}${PTEST_PATH}/ | ||
| 70 | } | ||
| 71 | |||
| 72 | BBCLASSEXTEND = "native" | ||
