From ebe266a0b486ddeafcd45e7be1281e4dc3fec08d Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 10 Apr 2023 16:27:41 +0800 Subject: 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 Signed-off-by: Khem Raj --- .../python/python3-pillow_9.4.0.bb | 64 ---------------------- .../python/python3-pillow_9.5.0.bb | 64 ++++++++++++++++++++++ 2 files changed, 64 insertions(+), 64 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-pillow_9.5.0.bb (limited to 'meta-python/recipes-devtools') diff --git a/meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb b/meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb deleted file mode 100644 index 86705d2d8e..0000000000 --- a/meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb +++ /dev/null @@ -1,64 +0,0 @@ -SUMMARY = "Python Imaging Library (Fork). Pillow is the friendly PIL fork by Alex \ -Clark and Contributors. PIL is the Python Imaging Library by Fredrik Lundh and \ -Contributors." -HOMEPAGE = "https://pillow.readthedocs.io" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=bc416d18f294943285560364be7cbec1" - -SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=main;protocol=https \ - file://0001-support-cross-compiling.patch \ - file://0001-explicitly-set-compile-options.patch \ - file://run-ptest \ - " -SRCREV ?= "82541b6dec8452cb612067fcebba1c5a1a2bfdc8" - -inherit setuptools3 ptest - -PIP_INSTALL_PACKAGE = "Pillow" -PIP_INSTALL_DIST_PATH = "${S}/dist" - -DEPENDS += " \ - zlib \ - jpeg \ - tiff \ - freetype \ - lcms \ - openjpeg \ -" - -RDEPENDS:${PN} += " \ - ${PYTHON_PN}-misc \ - ${PYTHON_PN}-logging \ - ${PYTHON_PN}-numbers \ -" - -RDEPENDS:${PN}-ptest += " \ - bash \ - ghostscript \ - jpeg-tools \ - libwebp \ - ${PYTHON_PN}-core \ - ${PYTHON_PN}-distutils \ - ${PYTHON_PN}-image \ - ${PYTHON_PN}-mmap \ - ${PYTHON_PN}-pytest \ - ${PYTHON_PN}-pytest-timeout \ - ${PYTHON_PN}-resource \ - ${PYTHON_PN}-unixadmin\ - ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'tk', '', d)} \ -" - -CVE_PRODUCT = "pillow" - -S = "${WORKDIR}/git" - -RPROVIDES:${PN} += "python3-imaging" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/Tests - cp -rf ${S}/Tests ${D}${PTEST_PATH}/ -} - -BBCLASSEXTEND = "native" - -SRCREV = "a5bbab1c1e63b439de191ef2040173713b26d2da" 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 @@ +SUMMARY = "Python Imaging Library (Fork). Pillow is the friendly PIL fork by Alex \ +Clark and Contributors. PIL is the Python Imaging Library by Fredrik Lundh and \ +Contributors." +HOMEPAGE = "https://pillow.readthedocs.io" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=b22dc6b663b9175820e5e03337c7596b" + +SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=main;protocol=https \ + file://0001-support-cross-compiling.patch \ + file://0001-explicitly-set-compile-options.patch \ + file://run-ptest \ + " +SRCREV ?= "82541b6dec8452cb612067fcebba1c5a1a2bfdc8" + +inherit setuptools3 ptest + +PIP_INSTALL_PACKAGE = "Pillow" +PIP_INSTALL_DIST_PATH = "${S}/dist" + +DEPENDS += " \ + zlib \ + jpeg \ + tiff \ + freetype \ + lcms \ + openjpeg \ +" + +RDEPENDS:${PN} += " \ + ${PYTHON_PN}-misc \ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-numbers \ +" + +RDEPENDS:${PN}-ptest += " \ + bash \ + ghostscript \ + jpeg-tools \ + libwebp \ + ${PYTHON_PN}-core \ + ${PYTHON_PN}-distutils \ + ${PYTHON_PN}-image \ + ${PYTHON_PN}-mmap \ + ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-pytest-timeout \ + ${PYTHON_PN}-resource \ + ${PYTHON_PN}-unixadmin\ + ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'tk', '', d)} \ +" + +CVE_PRODUCT = "pillow" + +S = "${WORKDIR}/git" + +RPROVIDES:${PN} += "python3-imaging" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/Tests + cp -rf ${S}/Tests ${D}${PTEST_PATH}/ +} + +BBCLASSEXTEND = "native" + +SRCREV = "204590600c6a8c5246d0564d3312abd6e6b0ed70" -- cgit v1.2.3-54-g00ecf