diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2025-11-20 18:58:54 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-11-20 10:30:33 -0800 |
| commit | eb6fce85453dc3eb871bd29faa5b33e95c673dbb (patch) | |
| tree | 5df3741c32e9a5e0c8c287b0badcf152d5972d75 /meta-python/recipes-devtools/python/python3-pillow_12.0.0.bb | |
| parent | af4866a42932afbc3f4104c4dbc2f3e95f0227ff (diff) | |
| download | meta-openembedded-eb6fce85453dc3eb871bd29faa5b33e95c673dbb.tar.gz | |
python3-pillow: Upgrade 11.3.0 -> 12.0.0
Upgrade to release 12.0.0:
- Fix issue with forward references in parent TypedDict classes
- Exclude fields with exclude_if from JSON Schema required fields
- Revert URL percent-encoding of credentials in the build() method
of the AnyUrl and Dsn types
- Add type inference for IP address types
- Avoid getting default values from defaultdict
- Fix issue with field serializers on nested typed dictionaries
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_12.0.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pillow_12.0.0.bb | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pillow_12.0.0.bb b/meta-python/recipes-devtools/python/python3-pillow_12.0.0.bb new file mode 100644 index 0000000000..4db5db1572 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pillow_12.0.0.bb | |||
| @@ -0,0 +1,67 @@ | |||
| 1 | DESCRIPTION = "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-CMU" | ||
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a1b708da743e3fc0e5c35e92daac0bf8" | ||
| 7 | |||
| 8 | SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=main;protocol=https;tag=${PV} \ | ||
| 9 | file://0001-support-cross-compiling.patch \ | ||
| 10 | " | ||
| 11 | SRCREV = "693df7b42c666f88c719f9973be0ad71607328e0" | ||
| 12 | |||
| 13 | inherit python_setuptools_build_meta ptest-python-pytest | ||
| 14 | |||
| 15 | PTEST_PYTEST_DIR = "Tests" | ||
| 16 | |||
| 17 | PEP517_BUILD_OPTS += " \ | ||
| 18 | -C platform-guessing=disable \ | ||
| 19 | -C zlib=enable \ | ||
| 20 | -C jpeg=enable \ | ||
| 21 | -C tiff=enable \ | ||
| 22 | -C freetype=enable \ | ||
| 23 | -C lcms=enable \ | ||
| 24 | -C jpeg2000=enable \ | ||
| 25 | -C webp=disable \ | ||
| 26 | -C webpmux=disable \ | ||
| 27 | -C imagequant=disable \ | ||
| 28 | " | ||
| 29 | |||
| 30 | DEPENDS += " \ | ||
| 31 | zlib \ | ||
| 32 | jpeg \ | ||
| 33 | tiff \ | ||
| 34 | freetype \ | ||
| 35 | lcms \ | ||
| 36 | openjpeg \ | ||
| 37 | python3-pybind11-native \ | ||
| 38 | " | ||
| 39 | |||
| 40 | RDEPENDS:${PN} += " \ | ||
| 41 | python3-misc \ | ||
| 42 | python3-logging \ | ||
| 43 | python3-numbers \ | ||
| 44 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxcb', '', d)} \ | ||
| 45 | " | ||
| 46 | # python3-compile for filecmp module | ||
| 47 | RDEPENDS:${PN}-ptest += " \ | ||
| 48 | bash \ | ||
| 49 | ghostscript \ | ||
| 50 | jpeg-tools \ | ||
| 51 | libwebp \ | ||
| 52 | python3-compile \ | ||
| 53 | python3-core \ | ||
| 54 | python3-image \ | ||
| 55 | python3-mmap \ | ||
| 56 | python3-pytest-timeout \ | ||
| 57 | python3-resource \ | ||
| 58 | python3-unixadmin\ | ||
| 59 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'tk', '', d)} \ | ||
| 60 | " | ||
| 61 | |||
| 62 | CVE_PRODUCT = "pillow" | ||
| 63 | |||
| 64 | |||
| 65 | RPROVIDES:${PN} += "python3-imaging" | ||
| 66 | |||
| 67 | BBCLASSEXTEND = "native" | ||
