diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2023-04-10 16:27:41 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-04-10 09:39:38 -0700 |
| commit | ebe266a0b486ddeafcd45e7be1281e4dc3fec08d (patch) | |
| tree | 84fb0ea3ee22e4ae578972ac7ff14fa0e6b45fc3 /meta-python/recipes-devtools/python/python3-pillow_9.5.0.bb | |
| parent | 6364b4bf7f20687c35f61b8ae8ff7572ab98fe78 (diff) | |
| download | meta-openembedded-ebe266a0b486ddeafcd45e7be1281e4dc3fec08d.tar.gz | |
python3-pillow: upgrade 9.4.0 -> 9.5.0
License-Update:
Alex Clark -> Jeffrey A. Clark (Alex)
Update HPND wording in LICENSE file
Changelog:
==========
Added ImageSourceData to TAGS_V2 #7053
Clear PPM half token after use #7052
Removed absolute path to ldconfig #7044
Support custom comments and PLT markers when saving JPEG2000 images #6903
Load before getting size in __array_interface__ #7034
Support creating BGR;15, BGR;16 and BGR;24 images, but drop support for BGR;32 #7010
Consider transparency when applying APNG blend mask #7018
Round duration when saving animated WebP images #6996
Added reading of JPEG2000 comments #6909
Decrement reference count #7003
Allow libtiff_support_custom_tags to be missing #7020
Improved I;16N support #6834
Added QOI reading #6852
Added saving RGBA images as PDFs #6925
Do not raise an error if os.environ does not contain PATH #6935
Close OleFileIO instance when closing or exiting FPX or MIC #7005
Added __int__ to IFDRational for Python >= 3.11 #6998
Added memoryview support to Dib.frombytes() #6988
Close file pointer copy in the libtiff encoder if still open #6986
Raise an error if ImageDraw co-ordinates are incorrectly ordered #6978
Added "corners" argument to ImageDraw rounded_rectangle() #6954
Added memoryview support to frombytes() #6974
Allow comments in FITS images #6973
Support saving PDF with different X and Y resolutions #6961
Fixed writing int as UNDEFINED tag #6950
Raise an error if EXIF data is too long when saving JPEG #6939
Handle more than one directory returned by pkg-config #6896
Do not retry past formats when loading all formats for the first time #6902
Do not retry specified formats if they failed when opening #6893
Do not unintentionally load TIFF format at first #6892
Stop reading when EPS line becomes too long #6897
Allow writing IFDRational to BYTE tag #6890
Raise ValueError for BoxBlur filter with negative radius #6874
Support arbitrary number of loaded modules on Windows #6761
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_9.5.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pillow_9.5.0.bb | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pillow_9.5.0.bb b/meta-python/recipes-devtools/python/python3-pillow_9.5.0.bb new file mode 100644 index 0000000000..76b3a82db9 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pillow_9.5.0.bb | |||
| @@ -0,0 +1,64 @@ | |||
| 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=b22dc6b663b9175820e5e03337c7596b" | ||
| 7 | |||
| 8 | SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=main;protocol=https \ | ||
| 9 | file://0001-support-cross-compiling.patch \ | ||
| 10 | file://0001-explicitly-set-compile-options.patch \ | ||
| 11 | file://run-ptest \ | ||
| 12 | " | ||
| 13 | SRCREV ?= "82541b6dec8452cb612067fcebba1c5a1a2bfdc8" | ||
| 14 | |||
| 15 | inherit setuptools3 ptest | ||
| 16 | |||
| 17 | PIP_INSTALL_PACKAGE = "Pillow" | ||
| 18 | PIP_INSTALL_DIST_PATH = "${S}/dist" | ||
| 19 | |||
| 20 | DEPENDS += " \ | ||
| 21 | zlib \ | ||
| 22 | jpeg \ | ||
| 23 | tiff \ | ||
| 24 | freetype \ | ||
| 25 | lcms \ | ||
| 26 | openjpeg \ | ||
| 27 | " | ||
| 28 | |||
| 29 | RDEPENDS:${PN} += " \ | ||
| 30 | ${PYTHON_PN}-misc \ | ||
| 31 | ${PYTHON_PN}-logging \ | ||
| 32 | ${PYTHON_PN}-numbers \ | ||
| 33 | " | ||
| 34 | |||
| 35 | RDEPENDS:${PN}-ptest += " \ | ||
| 36 | bash \ | ||
| 37 | ghostscript \ | ||
| 38 | jpeg-tools \ | ||
| 39 | libwebp \ | ||
| 40 | ${PYTHON_PN}-core \ | ||
| 41 | ${PYTHON_PN}-distutils \ | ||
| 42 | ${PYTHON_PN}-image \ | ||
| 43 | ${PYTHON_PN}-mmap \ | ||
| 44 | ${PYTHON_PN}-pytest \ | ||
| 45 | ${PYTHON_PN}-pytest-timeout \ | ||
| 46 | ${PYTHON_PN}-resource \ | ||
| 47 | ${PYTHON_PN}-unixadmin\ | ||
| 48 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'tk', '', d)} \ | ||
| 49 | " | ||
| 50 | |||
| 51 | CVE_PRODUCT = "pillow" | ||
| 52 | |||
| 53 | S = "${WORKDIR}/git" | ||
| 54 | |||
| 55 | RPROVIDES:${PN} += "python3-imaging" | ||
| 56 | |||
| 57 | do_install_ptest() { | ||
| 58 | install -d ${D}${PTEST_PATH}/Tests | ||
| 59 | cp -rf ${S}/Tests ${D}${PTEST_PATH}/ | ||
| 60 | } | ||
| 61 | |||
| 62 | BBCLASSEXTEND = "native" | ||
| 63 | |||
| 64 | SRCREV = "204590600c6a8c5246d0564d3312abd6e6b0ed70" | ||
