mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
Backport three patches from 9.0.0 upstream to fix CVES. Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
44 lines
1.3 KiB
BlitzBasic
44 lines
1.3 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=0337b116233da4616ae9fdb130bf6f1a"
|
|
|
|
SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=8.2.x;protocol=https \
|
|
file://0001-support-cross-compiling.patch \
|
|
file://0001-explicitly-set-compile-options.patch \
|
|
file://0001-Limit-sprintf-modes-to-10-characters.patch \
|
|
file://0001-Use-snprintf-instead-of-sprintf.patch \
|
|
file://0001-Raise-ValueError-if-color-specifier-is-too-long.patch \
|
|
file://0001-Initialize-coordinates-to-zero.patch \
|
|
file://0001-Handle-case-where-path-count-is-zero.patch \
|
|
file://0001-Restrict-builtins-for-ImageMath.eval.patch \
|
|
"
|
|
SRCREV ?= "e0e353c0ef7516979a9aedce3792596649ce4433"
|
|
|
|
inherit setuptools3
|
|
|
|
DEPENDS += " \
|
|
zlib \
|
|
jpeg \
|
|
tiff \
|
|
freetype \
|
|
lcms \
|
|
openjpeg \
|
|
"
|
|
|
|
RDEPENDS_${PN} += " \
|
|
${PYTHON_PN}-misc \
|
|
${PYTHON_PN}-logging \
|
|
${PYTHON_PN}-numbers \
|
|
"
|
|
|
|
CVE_PRODUCT = "pillow"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
RPROVIDES_${PN} += "python3-imaging"
|
|
|
|
BBCLASSEXTEND = "native"
|