From f845550527a38ab153a980ddaa3ab645b79a294c Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Oct 30 2022 19:20:27 +0000 Subject: Update to 9.3.0 --- diff --git a/.gitignore b/.gitignore index 611cd37..59850f6 100644 --- a/.gitignore +++ b/.gitignore @@ -64,3 +64,4 @@ /Pillow-9.1.0.tar.gz /Pillow-9.1.1.tar.gz /Pillow-9.2.0.tar.gz +/Pillow-9.3.0.tar.gz diff --git a/pillow_mingw.patch b/pillow_mingw.patch index 7b6cfbe..588cec8 100644 --- a/pillow_mingw.patch +++ b/pillow_mingw.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference Pillow-9.2.0/setup.py Pillow-9.2.0-new/setup.py ---- Pillow-9.2.0/setup.py 2022-07-01 15:19:51.000000000 +0200 -+++ Pillow-9.2.0-new/setup.py 2022-07-20 16:40:23.805366371 +0200 +diff -rupN --no-dereference Pillow-9.3.0/setup.py Pillow-9.3.0-new/setup.py +--- Pillow-9.3.0/setup.py 2022-10-29 14:25:53.000000000 +0200 ++++ Pillow-9.3.0-new/setup.py 2022-10-30 11:05:22.595017453 +0100 @@ -135,7 +135,7 @@ class RequiredDependencyException(Except pass @@ -64,9 +64,9 @@ diff -rupN --no-dereference Pillow-9.2.0/setup.py Pillow-9.2.0-new/setup.py self._update_extension("PIL._imagingtk", tk_libs) build_ext.build_extensions(self) -diff -rupN --no-dereference Pillow-9.2.0/src/libImaging/ImPlatform.h Pillow-9.2.0-new/src/libImaging/ImPlatform.h ---- Pillow-9.2.0/src/libImaging/ImPlatform.h 2022-07-01 15:19:51.000000000 +0200 -+++ Pillow-9.2.0-new/src/libImaging/ImPlatform.h 2022-07-20 16:40:23.806366371 +0200 +diff -rupN --no-dereference Pillow-9.3.0/src/libImaging/ImPlatform.h Pillow-9.3.0-new/src/libImaging/ImPlatform.h +--- Pillow-9.3.0/src/libImaging/ImPlatform.h 2022-10-29 14:25:53.000000000 +0200 ++++ Pillow-9.3.0-new/src/libImaging/ImPlatform.h 2022-10-30 11:05:22.596017453 +0100 @@ -28,7 +28,7 @@ #if defined(_WIN32) || defined(__CYGWIN__) diff --git a/python-pillow-revert-furo-theme.patch b/python-pillow-revert-furo-theme.patch index 79dc257..bc21801 100644 --- a/python-pillow-revert-furo-theme.patch +++ b/python-pillow-revert-furo-theme.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference Pillow-9.2.0/docs/conf.py Pillow-9.2.0-new/docs/conf.py ---- Pillow-9.2.0/docs/conf.py 2022-07-20 16:40:23.799366371 +0200 -+++ Pillow-9.2.0-new/docs/conf.py 2022-07-20 16:40:23.992366376 +0200 +diff -rupN --no-dereference Pillow-9.3.0/docs/conf.py Pillow-9.3.0-new/docs/conf.py +--- Pillow-9.3.0/docs/conf.py 2022-10-30 11:05:22.592017453 +0100 ++++ Pillow-9.3.0-new/docs/conf.py 2022-10-30 11:05:22.728017453 +0100 @@ -16,6 +16,8 @@ # documentation root, use os.path.abspath to make it absolute, like shown here. # sys.path.insert(0, os.path.abspath('.')) @@ -31,20 +31,21 @@ diff -rupN --no-dereference Pillow-9.2.0/docs/conf.py Pillow-9.2.0-new/docs/conf # GitHub repo for sphinx-issues -diff -rupN --no-dereference Pillow-9.2.0/docs/Makefile Pillow-9.2.0-new/docs/Makefile ---- Pillow-9.2.0/docs/Makefile 2022-07-20 16:40:23.620366367 +0200 -+++ Pillow-9.2.0-new/docs/Makefile 2022-07-20 16:40:23.996366376 +0200 -@@ -43,7 +43,6 @@ clean: +diff -rupN --no-dereference Pillow-9.3.0/docs/Makefile Pillow-9.3.0-new/docs/Makefile +--- Pillow-9.3.0/docs/Makefile 2022-10-30 11:05:22.461017452 +0100 ++++ Pillow-9.3.0-new/docs/Makefile 2022-10-30 11:05:22.728017453 +0100 +@@ -43,7 +43,7 @@ clean: + -rm -rf $(BUILDDIR)/* install-sphinx: - python3 -c "import sphinx" > /dev/null 2>&1 || python3 -m pip install sphinx -- python3 -c "import furo" > /dev/null 2>&1 || python3 -m pip install furo +- $(PYTHON) -m pip install --quiet sphinx sphinx-copybutton sphinx-issues sphinx-removed-in sphinxext-opengraph furo olefile ++ : html: $(MAKE) install-sphinx -diff -rupN --no-dereference Pillow-9.2.0/docs/resources/css/dark.css Pillow-9.2.0-new/docs/resources/css/dark.css ---- Pillow-9.2.0/docs/resources/css/dark.css 2022-07-01 15:19:51.000000000 +0200 -+++ Pillow-9.2.0-new/docs/resources/css/dark.css 2022-07-20 16:40:23.993366376 +0200 +diff -rupN --no-dereference Pillow-9.3.0/docs/resources/css/dark.css Pillow-9.3.0-new/docs/resources/css/dark.css +--- Pillow-9.3.0/docs/resources/css/dark.css 2022-10-29 14:25:53.000000000 +0200 ++++ Pillow-9.3.0-new/docs/resources/css/dark.css 2022-10-30 11:05:22.729017453 +0100 @@ -1,9 +1,1996 @@ -/* For black-on-white/transparent images at handbook/text-anchors.html */ -body[data-theme="dark"] #text-anchors img { @@ -2047,9 +2048,9 @@ diff -rupN --no-dereference Pillow-9.2.0/docs/resources/css/dark.css Pillow-9.2. filter: invert(1) brightness(0.85) hue-rotate(-60deg); } } -diff -rupN --no-dereference Pillow-9.2.0/docs/resources/css/light.css Pillow-9.2.0-new/docs/resources/css/light.css ---- Pillow-9.2.0/docs/resources/css/light.css 1970-01-01 01:00:00.000000000 +0100 -+++ Pillow-9.2.0-new/docs/resources/css/light.css 2022-07-20 16:40:23.994366376 +0200 +diff -rupN --no-dereference Pillow-9.3.0/docs/resources/css/light.css Pillow-9.3.0-new/docs/resources/css/light.css +--- Pillow-9.3.0/docs/resources/css/light.css 1970-01-01 01:00:00.000000000 +0100 ++++ Pillow-9.3.0-new/docs/resources/css/light.css 2022-10-30 11:05:22.729017453 +0100 @@ -0,0 +1,8 @@ +@media (prefers-color-scheme: light) { + @@ -2059,9 +2060,9 @@ diff -rupN --no-dereference Pillow-9.2.0/docs/resources/css/light.css Pillow-9.2 + } + +} -diff -rupN --no-dereference Pillow-9.2.0/docs/resources/css/styles.css Pillow-9.2.0-new/docs/resources/css/styles.css ---- Pillow-9.2.0/docs/resources/css/styles.css 1970-01-01 01:00:00.000000000 +0100 -+++ Pillow-9.2.0-new/docs/resources/css/styles.css 2022-07-20 16:40:23.994366376 +0200 +diff -rupN --no-dereference Pillow-9.3.0/docs/resources/css/styles.css Pillow-9.3.0-new/docs/resources/css/styles.css +--- Pillow-9.3.0/docs/resources/css/styles.css 1970-01-01 01:00:00.000000000 +0100 ++++ Pillow-9.3.0-new/docs/resources/css/styles.css 2022-10-30 11:05:22.730017453 +0100 @@ -0,0 +1,8 @@ +th p { + margin-bottom: 0; @@ -2071,9 +2072,9 @@ diff -rupN --no-dereference Pillow-9.2.0/docs/resources/css/styles.css Pillow-9. + font-size: 1rem; + margin-bottom: 0; +} -diff -rupN --no-dereference Pillow-9.2.0/docs/resources/js/script.js Pillow-9.2.0-new/docs/resources/js/script.js ---- Pillow-9.2.0/docs/resources/js/script.js 1970-01-01 01:00:00.000000000 +0100 -+++ Pillow-9.2.0-new/docs/resources/js/script.js 2022-07-20 16:40:23.994366376 +0200 +diff -rupN --no-dereference Pillow-9.3.0/docs/resources/js/script.js Pillow-9.3.0-new/docs/resources/js/script.js +--- Pillow-9.3.0/docs/resources/js/script.js 1970-01-01 01:00:00.000000000 +0100 ++++ Pillow-9.3.0-new/docs/resources/js/script.js 2022-10-30 11:05:22.730017453 +0100 @@ -0,0 +1,58 @@ +jQuery(document).ready(function ($) { + setTimeout(function () { @@ -2133,22 +2134,10 @@ diff -rupN --no-dereference Pillow-9.2.0/docs/resources/js/script.js Pillow-9.2. + }); + }); +}); -diff -rupN --no-dereference Pillow-9.2.0/.github/workflows/test.yml Pillow-9.2.0-new/.github/workflows/test.yml ---- Pillow-9.2.0/.github/workflows/test.yml 2022-07-01 15:19:51.000000000 +0200 -+++ Pillow-9.2.0-new/.github/workflows/test.yml 2022-07-20 16:40:23.994366376 +0200 -@@ -96,7 +96,7 @@ jobs: - - name: Docs - if: startsWith(matrix.os, 'ubuntu') && matrix.python-version == 3.10 - run: | -- python3 -m pip install furo sphinx-copybutton sphinx-issues sphinx-removed-in sphinxext-opengraph -+ python3 -m pip install sphinx-copybutton sphinx-issues sphinx-removed-in sphinx-rtd-theme sphinxext-opengraph - make doccheck - - - name: After success -diff -rupN --no-dereference Pillow-9.2.0/setup.cfg Pillow-9.2.0-new/setup.cfg ---- Pillow-9.2.0/setup.cfg 2022-07-01 15:19:51.000000000 +0200 -+++ Pillow-9.2.0-new/setup.cfg 2022-07-20 16:40:23.995366376 +0200 -@@ -37,12 +37,12 @@ python_requires = >=3.7 +diff -rupN --no-dereference Pillow-9.3.0/setup.cfg Pillow-9.3.0-new/setup.cfg +--- Pillow-9.3.0/setup.cfg 2022-10-29 14:25:53.000000000 +0200 ++++ Pillow-9.3.0-new/setup.cfg 2022-10-30 11:05:22.730017453 +0100 +@@ -42,12 +42,12 @@ package_dir = [options.extras_require] docs = diff --git a/python-pillow.spec b/python-pillow.spec index a6ef29c..26ff37b 100644 --- a/python-pillow.spec +++ b/python-pillow.spec @@ -11,8 +11,8 @@ %endif Name: python-%{srcname} -Version: 9.2.0 -Release: 2%{?dist} +Version: 9.3.0 +Release: 1%{?dist} Summary: Python image processing library # License: see http://www.pythonware.com/products/pil/license.htm @@ -300,6 +300,9 @@ popd %changelog +* Sun Oct 30 2022 Sandro Mani - 9.3.0-1 +- Update to 9.3.0 + * Fri Jul 22 2022 Fedora Release Engineering - 9.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/python-pillow_sphinx.patch b/python-pillow_sphinx.patch index bd0c619..555ef94 100644 --- a/python-pillow_sphinx.patch +++ b/python-pillow_sphinx.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference Pillow-9.2.0/docs/conf.py Pillow-9.2.0-new/docs/conf.py ---- Pillow-9.2.0/docs/conf.py 2022-07-01 15:19:51.000000000 +0200 -+++ Pillow-9.2.0-new/docs/conf.py 2022-07-20 16:40:23.626366367 +0200 +diff -rupN --no-dereference Pillow-9.3.0/docs/conf.py Pillow-9.3.0-new/docs/conf.py +--- Pillow-9.3.0/docs/conf.py 2022-10-29 14:25:53.000000000 +0200 ++++ Pillow-9.3.0-new/docs/conf.py 2022-10-30 11:05:22.465017452 +0100 @@ -28,12 +28,10 @@ needs_sphinx = "2.4" # ones. extensions = [ diff --git a/python-pillow_spinxwarn.patch b/python-pillow_spinxwarn.patch index f103f03..34d1786 100644 --- a/python-pillow_spinxwarn.patch +++ b/python-pillow_spinxwarn.patch @@ -1,6 +1,6 @@ -diff -rupN --no-dereference Pillow-9.2.0/docs/Makefile Pillow-9.2.0-new/docs/Makefile ---- Pillow-9.2.0/docs/Makefile 2022-07-01 15:19:51.000000000 +0200 -+++ Pillow-9.2.0-new/docs/Makefile 2022-07-20 16:40:23.456366364 +0200 +diff -rupN --no-dereference Pillow-9.3.0/docs/Makefile Pillow-9.3.0-new/docs/Makefile +--- Pillow-9.3.0/docs/Makefile 2022-10-29 14:25:53.000000000 +0200 ++++ Pillow-9.3.0-new/docs/Makefile 2022-10-30 11:05:22.304017451 +0100 @@ -47,7 +47,7 @@ install-sphinx: html: diff --git a/sources b/sources index c3c3b6e..1d95136 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Pillow-9.2.0.tar.gz) = 02926d6c88aa8bc0df05b0ecd04b9852821a6400a24c6e70b66d4092eb3174139dee116adfa94ba8b7f3df8f6725cc68b32705f308f4347153e0112d987fc5f2 +SHA512 (Pillow-9.3.0.tar.gz) = 60c529d8a222a521a0c3f4254917aa3f6c5a47c7cb8930b4b9a05ef442d1a7e776018dc4ac834a9effc1342f8457898cae79820531ff430728f6c39d6297b2d7