mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

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>
65 lines
1.5 KiB
BlitzBasic
65 lines
1.5 KiB
BlitzBasic
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"
|