summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pillow_10.1.0.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-pillow: Upgrade 10.1.0 -> 10.3.0 and fix ptestalperak2024-04-061-60/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | License-Update: Updated copyright year and clean up authors, contributors * 0001-explicitly-set-compile-options.patch dropped because setup.cfg moved to pyproject.toml -> (https://github.com/python-pillow/Pillow/pull/7484) Also, we can give the build option parameters as described in the documentation -> https://pillow.readthedocs.io/en/stable/installation/building-from-source.html#build-options Added build options to pass to build with using the variable PEP517_BUILD_OPTS so no need to create patch again. * "python setup.py" and the use of "setup.py" as a command line tool are deprecated and upstream added a custom build backend to translate -C feature=disable style flags to the old --disable-feature style flags by prepending the build command (typically bdist_wheel) with a build_ext --disable-feature command which builds the extension modules before being added to a wheel. That backend uses the build_meta module of setuptools. The _CustomBuildMetaBackend class is a subclass of this module, adding custom behaviors and enabling settings specific to a particular project. https://github.com/python-pillow/Pillow/blob/10.3.0/_custom_build/backend.py * Ptest tested on qemux86-64 and qemuarm64 with x11. * Since no ptest error was encountered, python3-pillow has been moved from PTESTS_PROBLEMS_META_PYTHON to PTESTS_SLOW_META_PYTHON. Tests with SKIP are related to packages with explicitly disabled build options. qemux86-64: Testsuite summary TOTAL: 4502 PASS: 4152 SKIP: 347 XFAIL: 2 FAIL: 0 XPASS: 1 ERROR: 0 DURATION: 904 END: /usr/lib/python3-pillow/ptest 2024-04-06T15:56 STOP: ptest-runner TOTAL: 1 FAIL: 0 qemuarm64: Testsuite summary TOTAL: 4502 PASS: 4152 SKIP: 347 XFAIL: 2 FAIL: 0 XPASS: 1 ERROR: 0 DURATION: 674 END: /usr/lib/python3-pillow/ptest 2024-04-06T16:40 STOP: ptest-runner TOTAL: 1 FAIL: 0 Changelog: https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html https://pillow.readthedocs.io/en/stable/releasenotes/10.2.0.html Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* remove obsolete PIP_INSTALL_PACKAGE and PIP_INSTALL_DIST_PATHalperak2024-03-091-3/+0
| | | | | | | All downloaded files and sstates for the recipes were cleaned, build was got from stratch and no errors were encoutered. Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pillow: switch to pytest --automakeTim Orling2024-02-161-10/+11
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pillow: Correct branch parameter in SRC_URIKhem Raj2024-01-201-3/+1
| | | | | | | | | 10.1 tag SRCREV certainly does not exist on 10.0 branch so point it to main branch Drop one of two SRCREV settings which was wrong. Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Leon Anavi <leon.anavi@konsulko.com>
* python3-pillow: remove unneeded distutils dependencyAlexander Kanavin2023-12-181-1/+0
| | | | | Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pillow: Upgrade 10.0.1 -> 10.1.0Leon Anavi2023-11-141-0/+65
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>