From 2011f868a3cde1707e494973a9169fa5762c9225 Mon Sep 17 00:00:00 2001 From: Tom Geelen Date: Wed, 18 Jun 2025 00:04:17 +0200 Subject: python3-pillow: 11.1.0 -> 11.2.1 Release notes: https://pillow.readthedocs.io/en/stable/releasenotes/11.2.1.html Signed-off-by: Khem Raj --- .../0001-support-cross-compiling.patch | 8 +-- .../python/python3-pillow_11.1.0.bb | 67 ---------------------- .../python/python3-pillow_11.2.1.bb | 67 ++++++++++++++++++++++ 3 files changed, 71 insertions(+), 71 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pillow_11.1.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-pillow_11.2.1.bb diff --git a/meta-python/recipes-devtools/python/python3-pillow/0001-support-cross-compiling.patch b/meta-python/recipes-devtools/python/python3-pillow/0001-support-cross-compiling.patch index f96da323ff..f5ef71460a 100644 --- a/meta-python/recipes-devtools/python/python3-pillow/0001-support-cross-compiling.patch +++ b/meta-python/recipes-devtools/python/python3-pillow/0001-support-cross-compiling.patch @@ -1,4 +1,4 @@ -From 2e59ade9de405e4cdea07bfc7432c76f1e8cb64b Mon Sep 17 00:00:00 2001 +From eee014af3a7cd8a5c3ef8bbb604acb4b53c4e17e Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 11 Jan 2021 13:25:12 +0000 Subject: [PATCH] support cross compiling @@ -12,10 +12,10 @@ Signed-off-by: Leon Anavi 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py -index a85731db9..d55eb5324 100644 +index 5ecd6b816..582d1a23e 100644 --- a/setup.py +++ b/setup.py -@@ -131,7 +131,7 @@ _LIB_IMAGING = ( +@@ -134,7 +134,7 @@ _LIB_IMAGING = ( "codec_fd", ) @@ -24,7 +24,7 @@ index a85731db9..d55eb5324 100644 class DependencyException(Exception): -@@ -537,12 +537,12 @@ class pil_build_ext(build_ext): +@@ -542,12 +542,12 @@ class pil_build_ext(build_ext): _add_directory(library_dirs, match.group(1)) # include, rpath, if set as environment variables: diff --git a/meta-python/recipes-devtools/python/python3-pillow_11.1.0.bb b/meta-python/recipes-devtools/python/python3-pillow_11.1.0.bb deleted file mode 100644 index f8341c90f7..0000000000 --- a/meta-python/recipes-devtools/python/python3-pillow_11.1.0.bb +++ /dev/null @@ -1,67 +0,0 @@ -DESCRIPTION = "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-CMU" -LIC_FILES_CHKSUM = "file://LICENSE;md5=a1b708da743e3fc0e5c35e92daac0bf8" - -SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=main;protocol=https \ - file://0001-support-cross-compiling.patch \ - " -SRCREV = "4c1aed801e43c6b307e7135279ca1dbc02bbf052" - -inherit python_setuptools_build_meta ptest-python-pytest - -PTEST_PYTEST_DIR = "Tests" - -PEP517_BUILD_OPTS += " \ - -C platform-guessing=disable \ - -C zlib=enable \ - -C jpeg=enable \ - -C tiff=enable \ - -C freetype=enable \ - -C lcms=enable \ - -C jpeg2000=enable \ - -C webp=disable \ - -C webpmux=disable \ - -C imagequant=disable \ -" - -DEPENDS += " \ - zlib \ - jpeg \ - tiff \ - freetype \ - lcms \ - openjpeg \ -" - -RDEPENDS:${PN} += " \ - python3-misc \ - python3-logging \ - python3-numbers \ - ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxcb', '', d)} \ -" -# python3-compile for filecmp module -RDEPENDS:${PN}-ptest += " \ - bash \ - ghostscript \ - jpeg-tools \ - libwebp \ - python3-compile \ - python3-core \ - python3-image \ - python3-mmap \ - python3-pytest-timeout \ - python3-resource \ - python3-unixadmin\ - ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'tk', '', d)} \ -" - -CVE_PRODUCT = "pillow" - -S = "${WORKDIR}/git" - -RPROVIDES:${PN} += "python3-imaging" - -BBCLASSEXTEND = "native" diff --git a/meta-python/recipes-devtools/python/python3-pillow_11.2.1.bb b/meta-python/recipes-devtools/python/python3-pillow_11.2.1.bb new file mode 100644 index 0000000000..4de3687c8f --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pillow_11.2.1.bb @@ -0,0 +1,67 @@ +DESCRIPTION = "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-CMU" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a1b708da743e3fc0e5c35e92daac0bf8" + +SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=main;protocol=https \ + file://0001-support-cross-compiling.patch \ + " +SRCREV = "339bc5db93bd95decf65a59fab273f300db6594d" + +inherit python_setuptools_build_meta ptest-python-pytest + +PTEST_PYTEST_DIR = "Tests" + +PEP517_BUILD_OPTS += " \ + -C platform-guessing=disable \ + -C zlib=enable \ + -C jpeg=enable \ + -C tiff=enable \ + -C freetype=enable \ + -C lcms=enable \ + -C jpeg2000=enable \ + -C webp=disable \ + -C webpmux=disable \ + -C imagequant=disable \ +" + +DEPENDS += " \ + zlib \ + jpeg \ + tiff \ + freetype \ + lcms \ + openjpeg \ +" + +RDEPENDS:${PN} += " \ + python3-misc \ + python3-logging \ + python3-numbers \ + ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxcb', '', d)} \ +" +# python3-compile for filecmp module +RDEPENDS:${PN}-ptest += " \ + bash \ + ghostscript \ + jpeg-tools \ + libwebp \ + python3-compile \ + python3-core \ + python3-image \ + python3-mmap \ + python3-pytest-timeout \ + python3-resource \ + python3-unixadmin\ + ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'tk', '', d)} \ +" + +CVE_PRODUCT = "pillow" + +S = "${WORKDIR}/git" + +RPROVIDES:${PN} += "python3-imaging" + +BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf