summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pillow/0001-explicitly-set-compile-options.patch
Commit message (Collapse)AuthorAgeFilesLines
* python3-pillow: Upgrade 10.1.0 -> 10.3.0 and fix ptestalperak2024-04-061-40/+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>
* python3-pillow: Upgrade 6.2.1 -> 7.2.0Leon Anavi2020-09-021-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upgrade to release 7.2.0: - Do not convert I;16 images when showing PNGs - Fixed ICNS file pointer saving - Fixed loading non-RGBA mode APNGs with dispose background - Deprecated _showxv - Deprecate Image.show(command="...") - Updated JPEG magic number - Change STRIPBYTECOUNTS to LONG if necessary when saving - Write JFIF header when saving JPEG - Replaced tiff_jpeg with jpeg compression when saving TIFF images - Writing TIFF tags: improved BYTE, added UNDEFINED - Consider transparency when pasting text on an RGBA image - Added method argument to single frame WebP saving - Use ImageFileDirectory_v2 in Image.Exif - Corrected reading EXIF metadata without prefix - Fixed drawing a jointed line with a sequence of numeric values - Added support for 1-D NumPy arrays - Parse orientation from XMP tags - Speed up text layout by not rendering glyphs - Fixed ZeroDivisionError in Image.thumbnail - Replaced TiffImagePlugin DEBUG with logging - Fix repeatedly loading .gbr - JPEG: Truncate icclist instead of setting to None - Fixes default offset for Exif - Fixed bug when unpickling TIFF images - Fix pickling WebP - Replace IOError and WindowsError aliases with OSError License-Update: Word wrap and updated copyright year. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pillow: update to 6.2.1Paul Eggleton2019-10-281-9/+7
| | | | | | | | | | | | | | Upstream release notes: https://pillow.readthedocs.io/en/stable/releasenotes/6.2.0.html https://pillow.readthedocs.io/en/stable/releasenotes/6.2.1.html Also fixes CVE-2019-16865: https://nvd.nist.gov/vuln/detail/CVE-2019-16865 Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pillow: 5.4.1 -> 6.1Ovidiu Panait2019-07-151-5/+5
| | | | | | | | | Update python3-pillow to version 6.1 and refresh patches. License-Update: copyright years Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pillow: add 5.4.1Hongxu Jia2019-03-191-0/+39
- Set option by modify setup.py - Do not override do_compile to call `setup.py build_ext', it will missing options at do_install time which causing host contamination ... Found webp/demux.h Found library webpmux at /usr/lib/libwebpmux.so Found library webpdemux at /usr/lib/libwebpdemux.so /usr/include/pthread.h:682:6: error: 'regparm' is not valid on this platform ... Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>