Skip to contentSkip to conversation

python3-pillow: Upgrade 10.0.1 -> 10.1.0

PATCH Applied Leon Anavi 2 participants 6 messages Nov 14, 2023 – Nov 15, 2023

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/5 python3-pillow: Upgrade 10.0.1 -> 10.1.0

Upgrade to release 10.1.0:

- Added TrueType default font to allow for different sizes
- Fixed invalid argument warning
- Added ImageOps cover method
- Catch struct.error from truncated EXIF when reading JPEG DPI
- Consider default image when selecting mode for PNG save_all
- Support BGR;15, BGR;16 and BGR;24 access, unpacking and putdata
- Added CMYK to RGB unpacker
- Improved flexibility of XMP parsing
- Support reading 8-bit YCbCr TIFF images
- Allow saving I;16B images as PNG
- Corrected drawing I;16 points and writing I;16 text
- Set blue channel to 128 for BC5S
- Increase flexibility when reading IPTC fields
- Set C palette to be empty by default
- Added gs_binary to control Ghostscript use on all platforms
- Read bounding box information from the trailer of EPS files if specified
- Added reading 8-bit color DDS images
- Added has_transparency_data
- Fixed bug when reading BC5S DDS images
- Prevent TIFF orientation from being applied more than once
- Use previous pixel alpha for QOI_OP_RGB
- Added BC5U reading
- Allow getpixel() to accept a list
- Allow GaussianBlur and BoxBlur to accept a sequence of x and y radii
- Expand JPEG buffer size when saving optimized or progressive
- Added session type check for Linux in ImageGrab.grabclipboard()
- Allow "loop=None" when saving GIF images
- Fixed transparency when saving P mode images to PDF
- Added saving LA images as PDFs
- Set SMaskInData to 1 for PDFs with alpha
- Changed Image mode property to be read-only by default
- Silence exceptions in _repr_jpeg_ and _repr_png_
- Do not use transparency when saving GIF if it has been removed when normalizing mode
- Fix missing symbols when libtiff depends on libjpeg

This work was sponsored by GOVCERT.LU.

---
 .../{python3-pillow_10.0.1.bb => python3-pillow_10.1.0.bb}      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-pillow_10.0.1.bb => python3-pillow_10.1.0.bb} (96%)
meta-python/recipes-devtools/python/python3-pillow_10.1.0.bb renamed from meta-python/recipes-devtools/python/python3-pillow_10.0.1.bb +1 -1
similarity index 96%
rename from meta-python/recipes-devtools/python/python3-pillow_10.0.1.bb
rename to meta-python/recipes-devtools/python/python3-pillow_10.1.0.bb
index 055b41bfa..322c90eda 100644
@@ -10,7 +10,7 @@ SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=10.0.x;protocol=http
            file://0001-explicitly-set-compile-options.patch \
            file://run-ptest \
            "
-SRCREV ?= "82541b6dec8452cb612067fcebba1c5a1a2bfdc8"
+SRCREV ?= "da59ad000d1405eaecd557175e29083a87d19f7c"
 
 inherit setuptools3 ptest
 
Signature · 1 line
2.39.2
author
#1 lore raw

PATCH 2/5 python3-polyline: upgrade 1.4.0 -> 2.0.1

Upgrade to version 2.0.1:

- Relax setuptools version number

License-Update: Copyright years changed

---
 .../python/python3-polyline_1.4.0.bb          | 26 -------------------
 .../python/python3-polyline_2.0.1.bb          | 25 ++++++++++++++++++
 2 files changed, 25 insertions(+), 26 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-polyline_1.4.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-polyline_2.0.1.bb
meta-python/recipes-devtools/python/python3-polyline_1.4.0.bb deleted +0 -26
deleted file mode 100644
index 486e70c8f..000000000
@@ -1,26 +0,0 @@
-SUMMARY = "A Python implementation of Google's Encoded Polyline Algorithm Format"
-HOMEPAGE = "https://pypi.org/project/polyline/"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=0fbd13500cabd06dd751ba6b2be304c6"
-
-SRC_URI[md5sum] = "b97c57378605c4a856c437569f95a0cb"
-SRC_URI[sha256sum] = "7c7f89d09a09c7b6161bdbfb4fd304b186fc7a2060fa4f31cb3f61c646a5c074"
-
-inherit pypi setuptools3 ptest
-
-RDEPENDS:${PN} += "python3-six"
-
-BBCLASSEXTEND = "native nativesdk"
-
-SRC_URI += " \
-	file://run-ptest \
-"
-
-RDEPENDS:${PN}-ptest += " \
-	${PYTHON_PN}-pytest \
-"
-
-do_install_ptest() {
-	install -d ${D}${PTEST_PATH}/test
-	cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/
-}
meta-python/recipes-devtools/python/python3-polyline_2.0.1.bb new file +25 -0
new file mode 100644
index 000000000..2eae0caf9
@@ -0,0 +1,25 @@
+SUMMARY = "A Python implementation of Google's Encoded Polyline Algorithm Format"
+HOMEPAGE = "https://github.com/frederickjansen/polyline"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1fb8d1dc685695195bb3c1e48adfef48"
+
+SRC_URI[sha256sum] = "74cb5cea098dddf09d1a5a1f17af9184d371cbf3e9723de0194e530ec39ca1f6"
+
+inherit pypi python_setuptools_build_meta ptest
+
+RDEPENDS:${PN} += "python3-six"
+
+BBCLASSEXTEND = "native nativesdk"
+
+SRC_URI += " \
+	file://run-ptest \
+"
+
+RDEPENDS:${PN}-ptest += " \
+	${PYTHON_PN}-pytest \
+"
+
+do_install_ptest() {
+	install -d ${D}${PTEST_PATH}/test
+	cp -rf ${S}/tests/* ${D}${PTEST_PATH}/test/
+}
Signature · 1 line
2.39.2
author
#2 lore raw

PATCH 3/5 python3-py7zr: Upgrade 0.20.7 -> 0.20.8

In reply to Leon Anavi

Upgrade to release 0.20.8:

- Detect brotli import error
- refactor: hardening SevenZipFile constructor
- refactor: improve type safe functions
- chore: add git export configuration

This work was sponsored by GOVCERT.LU.

---
 .../python/{python3-py7zr_0.20.7.bb => python3-py7zr_0.20.8.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-py7zr_0.20.7.bb => python3-py7zr_0.20.8.bb} (89%)
meta-python/recipes-devtools/python/python3-py7zr_0.20.8.bb renamed from meta-python/recipes-devtools/python/python3-py7zr_0.20.7.bb +1 -1
similarity index 89%
rename from meta-python/recipes-devtools/python/python3-py7zr_0.20.7.bb
rename to meta-python/recipes-devtools/python/python3-py7zr_0.20.8.bb
index d919c4a0d..f9e6820ce 100644
@@ -4,7 +4,7 @@ LICENSE = "LGPL-2.1-or-later"
 SECTION = "devel/python"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c"
 
-SRC_URI[sha256sum] = "55aa587fb4586c920437f5d6e6595f228beddb321bfee3f5146bb15c2e8e74d5"
+SRC_URI[sha256sum] = "2a6b0db0441e63a2dd74cbd18f5d9ae7e08dc0e54685aa486361d0db6a0b4f78"
 
 inherit pypi python_setuptools_build_meta
 
Signature · 1 line
2.39.2
author
#3 lore raw

PATCH 4/5 python3-zeroconf: upgrade 0.120.0 -> 0.126.0

In reply to Leon Anavi

Upgrade to release 0.126.0:

- Speed up outgoing packet writer
- Speed up writing name compression for outgoing packets

---
 ...{python3-zeroconf_0.120.0.bb => python3-zeroconf_0.126.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-zeroconf_0.120.0.bb => python3-zeroconf_0.126.0.bb} (82%)
meta-python/recipes-devtools/python/python3-zeroconf_0.126.0.bb renamed from meta-python/recipes-devtools/python/python3-zeroconf_0.120.0.bb +1 -1
similarity index 82%
rename from meta-python/recipes-devtools/python/python3-zeroconf_0.120.0.bb
rename to meta-python/recipes-devtools/python/python3-zeroconf_0.126.0.bb
index 7d5077e30..91adf43b1 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/jstasiak/python-zeroconf"
 LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=6517bdc8f2416f27ab725d4702f7aac3"
 
-SRC_URI[sha256sum] = "52b25a4ed92de21d10d768c92ab5a9765a88a2ed43dea1260d67bf22734dc951"
+SRC_URI[sha256sum] = "875afbebc25bab002610091ecfdccaeebc185ce69f07a3525e4b86680693ea71"
 
 inherit pypi setuptools3
 
Signature · 1 line
2.39.2
author
#4 lore raw

PATCH 5/5 python3-pystemd: upgrade 0.10.0 -> 0.13.2

In reply to Leon Anavi

Added runtime dependencies. Upgrade to release 0.13.2:

- adding coverage information
- changes tests to pystes
- adding support for pyproject.toml
- adding extra properties for unit

---
 ...n3-pystemd_0.10.0.bb => python3-pystemd_0.13.2.bb} | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-pystemd_0.10.0.bb => python3-pystemd_0.13.2.bb} (59%)
meta-python/recipes-devtools/python/python3-pystemd_0.13.2.bb renamed from meta-python/recipes-devtools/python/python3-pystemd_0.10.0.bb +9 -2
similarity index 59%
rename from meta-python/recipes-devtools/python/python3-pystemd_0.10.0.bb
rename to meta-python/recipes-devtools/python/python3-pystemd_0.13.2.bb
index da22a43de..d31f45131 100644
@@ -2,10 +2,17 @@ SUMMARY = "Python bindings for interacting with systemd over DBus"
 LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c"
 
-SRC_URI[sha256sum] = "d74a814bfda01085db1a8ad90be3cb27daf23a51ab6b03e7e29ec811fa2ae859"
+SRC_URI[sha256sum] = "4dcfa4b13a55685c49d3d17c10631eca18c33770f66316f8ef2337b8951cc144"
 
 DEPENDS = "systemd python3-cython-native"
-RDEPENDS:${PN} += "python3-xml python3-pprint"
+RDEPENDS:${PN} += "\
+    ${PYTHON_PN}-xml \
+    ${PYTHON_PN}-lxml \
+    ${PYTHON_PN}-pprint \
+    ${PYTHON_PN}-core \
+    ${PYTHON_PN}-shell \
+    ${PYTHON_PN}-io \
+"
 REQUIRED_DISTRO_FEATURES = "systemd"
 
 inherit pypi setuptools3 features_check pkgconfig
Signature · 1 line
2.39.2
Applied
#5 lore raw
In reply to Leon Anavi
Quoted 40 lines · Leon Anavi

Upgrade to release 10.1.0:

- Added TrueType default font to allow for different sizes
- Fixed invalid argument warning
- Added ImageOps cover method
- Catch struct.error from truncated EXIF when reading JPEG DPI
- Consider default image when selecting mode for PNG save_all
- Support BGR;15, BGR;16 and BGR;24 access, unpacking and putdata
- Added CMYK to RGB unpacker
- Improved flexibility of XMP parsing
- Support reading 8-bit YCbCr TIFF images
- Allow saving I;16B images as PNG
- Corrected drawing I;16 points and writing I;16 text
- Set blue channel to 128 for BC5S
- Increase flexibility when reading IPTC fields
- Set C palette to be empty by default
- Added gs_binary to control Ghostscript use on all platforms
- Read bounding box information from the trailer of EPS files if specified
- Added reading 8-bit color DDS images
- Added has_transparency_data
- Fixed bug when reading BC5S DDS images
- Prevent TIFF orientation from being applied more than once
- Use previous pixel alpha for QOI_OP_RGB
- Added BC5U reading
- Allow getpixel() to accept a list
- Allow GaussianBlur and BoxBlur to accept a sequence of x and y radii
- Expand JPEG buffer size when saving optimized or progressive
- Added session type check for Linux in ImageGrab.grabclipboard()
- Allow "loop=None" when saving GIF images
- Fixed transparency when saving P mode images to PDF
- Added saving LA images as PDFs
- Set SMaskInData to 1 for PDFs with alpha
- Changed Image mode property to be read-only by default
- Silence exceptions in _repr_jpeg_ and _repr_png_
- Do not use transparency when saving GIF if it has been removed when normalizing mode
- Fix missing symbols when libtiff depends on libjpeg

Quoted 1 line

[...]

Applied, thanks!

[1/5] python3-pillow: Upgrade 10.0.1 -> 10.1.0

      commit: a0473439e9eb8a928c8d1185426ddea88ea8b064
[2/5] python3-polyline: upgrade 1.4.0 -> 2.0.1
      commit: 5eec5c33289f8035b16af2743321550ae3415d9d
[3/5] python3-py7zr: Upgrade 0.20.7 -> 0.20.8
      commit: b3b68ce89cfb8d014fcd3070ca8dff5623bc5df5
[4/5] python3-zeroconf: upgrade 0.120.0 -> 0.126.0
      commit: 1c43e700f12eefc6819204c921a1c84661594592
[5/5] python3-pystemd: upgrade 0.10.0 -> 0.13.2
      commit: 8d78812fc8cf14e3242533a102a2228c898b445d

Best regards,

Signature · 1 line
Khem Raj <[email protected]>