Skip to content

Commit

Permalink
pypi-pillow: Autospec creation for update from version 9.3.0 to versi…
Browse files Browse the repository at this point in the history
…on 9.4.0

Alex Clark (1):
      Remove Tidelift alignment action and badge

Alireza Shafaei (8):
      updated webp with exact parameter.
      Added version check for WebP
      added a note to the docs for webp
      minor fix in the comments
      doc update for libwebp
      added RN for the new exact option.
      RN trailing space fix
      Update docs/releasenotes/9.4.0.rst

Andrew Murray (126):
      Removed Fedora 35
      Added conversion from RGBa to RGB
      Updated lcms2 to 2.14
      XCB will not be used on Linux if gnome-screenshot is present
      Added signed option when saving JPEG2000 images
      Replaced IOError with OSError
      Use verbose flag for pip install for debug target
      Patch OpenJPEG to include uclouvain/openjpeg#1423
      Added file to questionable list
      Update CHANGES.rst [ci skip]
      Updated AppVeyor to Python 3.11
      Use fractional coordinates when drawing text
      Added Interop tags
      Update CHANGES.rst [ci skip]
      Update CHANGES.rst [ci skip]
      Update to Python 3.11 in GitHub Actions
      Use the latest Python version
      Revert "Install NumPy with OpenBLAS"
      Updated macOS tested Pillow versions [ci skip]
      Added oss-fuzz badge
      Added MP Format Version when saving
      Update CHANGES.rst [ci skip]
      Updated xz to 5.2.8
      Fixed writing int as BYTE tag
      Revert "Added Tidelift Align badge to docs"
      Revert "Add tidelift alignment badge"
      Update CHANGES.rst [ci skip]
      Added "start" argument to docstring
      Added release notes
      Added Fedora 37
      Update CHANGES.rst [ci skip]
      Added LightSource tag values
      Simplified code
      Note that the fill behaviour only affects libwebp >= 0.5
      Assert that image is equal
      Update CHANGES.rst [ci skip]
      Updated libpng to 1.6.39
      Use stdlib for setuptools on Cygwin
      Document how to install Pillow from a directory
      Added getxmp() to WebPImagePlugin
      Added Exif hide_offsets()
      Added docstring
      Added getxmp() to release notes
      Update CHANGES.rst [ci skip]
      Added IFD enum
      Removed typo
      List dependency instructions first
      Updated instructions to download source code
      Do not trust JPEG decoder to determine image is CMYK
      Updated xz to 5.2.9
      Remove specific number of jobs from comment
      Save comments from any image format by default
      Use _binary instead of struct
      Test that comment is reread
      Changed indentation to be consistent
      Use compile_python_fuzzer
      Added IFD1 reading
      Use jpeg_write_marker to write comment
      Corrected default combined frame duration
      Allow get_child_images to access JPEG thumbnails
      Free comment when returning early
      If available, use wl-paste for grabclipboard() on Linux
      If available, use xclip for grabclipboard() on Linux
      Update CHANGES.rst [ci skip]
      Added support for saving JPEG comments
      Only compare to previous when checking for duplicate frames while saving
      Ignore non-opaque WebP background when saving as GIF
      Only set tile in ImageFile __setstate__
      Document Hue range
      Clarify apply_transparency() docstring
      Specify "I" and "F" ranges
      Fixed writing int as ASCII tag
      Update CHANGES.rst [ci skip]
      Use snake case
      Update CHANGES.rst [ci skip]
      Updated xz to 5.4.0
      Update CHANGES.rst [ci skip]
      Updated harfbuzz to 6.0.0
      Always initialize all plugins in registered_extensions()
      Updated deprecated NumPy alias
      Removed Python 3.7 on Cygwin
      Fixed BytesWarning
      Python 3.7 on Cygwin is no longer part of CI
      Update CHANGES.rst [ci skip]
      Fixed saving EXIF data to MPO
      Initialize unsigned char variables
      Do not save EXIF from info
      Added support for uncompressed L images
      Added support for uncompressed LA images
      Clear pyaccess after re-assigning im
      Update CHANGES.rst [ci skip]
      Document new ExifTags enums
      Added release notes
      Updated libtiff to 4.5.0
      Updated libtiff shared library name
      Added support for I;16 modes in putdata()
      Update CHANGES.rst [ci skip]
      Restored Image constants, except for duplicate Resampling attributes
      Document "transparency" info key
      Parametrized test
      Added release notes
      Use pytest.raises match argument
      Fixed typo
      Update CHANGES.rst [ci skip]
      Document the meaning of "premultiplied alpha"
      Updated release notes
      Update CHANGES.rst [ci skip]
      Do not attempt to read IFD1 if absent
      Update CHANGES.rst [ci skip]
      Further improve exception traceback readability
      Return from ImagingFill early if image has a zero dimension
      Update CHANGES.rst [ci skip]
      Updated wording
      Update CHANGES.rst [ci skip]
      Skip timeout checks on slower running valgrind job
      Updated copyright year
      Update CHANGES.rst [ci skip]
      Lint fixes
      Replaced IOError with OSError
      Lint fixes
      Update CHANGES.rst [ci skip]
      Added release notes for #6842
      Added release notes for #6846
      Updated security descriptions
      Updated size parameter descriptions
      9.4.0 version bump

Eric Soroos (5):
      Use verbose flag for pip install
      Fix compiler error:
      Add oss-fuzz badge [ci skip]
      Fix null pointer dereference crash with malformed font
      Return a PyError instead of a fake fterror.

Hugo van Kemenade (14):
      9.4.0.dev0 version bump
      Use sphinx-inline-tabs to organise installation per OS
      Add missing 'make help' for serve and livehtml
      Inline PHONY targets to help avoid omissions (texinfo, info, livehtml, serve were missing)
      Reorder tabs: big three OS first
      Remove extra space
      Use 4-space indents for RST
      Fix comment
      Add support for PyPy3.9, drop PyPy3.7
      Remove unnecessary Pipfile
      Format tox.ini with tox-ini-fmt
      Add allowlist_externals=make to fix tox 4
      Run Bandit on CI via pre-commit
      Improve exception traceback readability

Ondrej Baranovič (2):
      use os.path.commonpath instead of os.path.commonprefix
      simplify code

REDxEYE (1):
      Add missing LA test textures

Sam Mason (3):
      support round-tripping JPEG comments
      make sure passing a blank comment removes existing comment
      switch to #z for comment parameter

TrellixVulnTeam (1):
      Adding tarfile member sanitization to extractall()

Yay295 (4):
      remove unused ImagingAccess->line() method defs
      remove unused ImagingAccess->line() method def
      remove comment about Access.c line methods
      Fix webp dealloc method definitions

nulano (4):
      disable __CxxFrameHandler4 when compiling harfbuzz
      add xfail mark to test_image_access:test_embeddable
      move import used only on Windows and remove unused import
      simplify patch, also check zipfile

pre-commit-ci[bot] (5):
      [pre-commit.ci] auto fixes from pre-commit.com hooks
      [pre-commit.ci] pre-commit autoupdate
      [pre-commit.ci] auto fixes from pre-commit.com hooks
      [pre-commit.ci] auto fixes from pre-commit.com hooks
      [pre-commit.ci] pre-commit autoupdate

renovate[bot] (3):
      Update cygwin/cygwin-install-action action to v3
      Update egor-tensin/cleanup-path action to v3
      Update actions/stale action to v7

smb123w64gb (1):
      Fix version mismatch
  • Loading branch information
fenrus75 committed Jan 2, 2023
1 parent 8f4a1c2 commit 9e6a3ce
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_NAME := pypi-pillow
URL = https://files.pythonhosted.org/packages/16/11/da8d395299ca166aa56d9436e26fe8440e5443471de16ccd9a1d06f5993a/Pillow-9.3.0.tar.gz
URL = https://files.pythonhosted.org/packages/bc/07/830784e061fb94d67649f3e438ff63cfb902dec6d48ac75aeaaac7c7c30e/Pillow-9.4.0.tar.gz
ARCHIVES =

include ../common/Makefile.common
4 changes: 3 additions & 1 deletion options.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = pypi-pillow
url = https://files.pythonhosted.org/packages/16/11/da8d395299ca166aa56d9436e26fe8440e5443471de16ccd9a1d06f5993a/Pillow-9.3.0.tar.gz
url = https://files.pythonhosted.org/packages/bc/07/830784e061fb94d67649f3e438ff63cfb902dec6d48ac75aeaaac7c7c30e/Pillow-9.4.0.tar.gz
archives =
giturl = https://github.com/python-pillow/Pillow.git
domain =
Expand All @@ -27,6 +27,8 @@ conservative_flags = false
dev_requires_extras = false
# pass -ffast-math to compiler
fast-math = false
# compile full (traditional) debug info
full-debug-info = false
# optimize build for speed over size
funroll-loops = false
# set flags to smallest -02 flags possible
Expand Down
31 changes: 18 additions & 13 deletions pypi-pillow.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
# Generated by: autospec.py
#
Name : pypi-pillow
Version : 9.3.0
Release : 101
URL : https://files.pythonhosted.org/packages/16/11/da8d395299ca166aa56d9436e26fe8440e5443471de16ccd9a1d06f5993a/Pillow-9.3.0.tar.gz
Source0 : https://files.pythonhosted.org/packages/16/11/da8d395299ca166aa56d9436e26fe8440e5443471de16ccd9a1d06f5993a/Pillow-9.3.0.tar.gz
Version : 9.4.0
Release : 102
URL : https://files.pythonhosted.org/packages/bc/07/830784e061fb94d67649f3e438ff63cfb902dec6d48ac75aeaaac7c7c30e/Pillow-9.4.0.tar.gz
Source0 : https://files.pythonhosted.org/packages/bc/07/830784e061fb94d67649f3e438ff63cfb902dec6d48ac75aeaaac7c7c30e/Pillow-9.4.0.tar.gz
Summary : Python Imaging Library (Fork)
Group : Development/Tools
License : HPND MIT NTP OFL-1.0
License : Apache-2.0 HPND MIT NTP OFL-1.0
Requires: pypi-pillow-filemap = %{version}-%{release}
Requires: pypi-pillow-lib = %{version}-%{release}
Requires: pypi-pillow-license = %{version}-%{release}
Expand All @@ -19,6 +19,9 @@ BuildRequires : buildreq-distutils3
BuildRequires : freetype-dev
BuildRequires : libjpeg-turbo-dev
BuildRequires : pkgconfig(zlib)
# Suppress stripping binaries
%define __strip /bin/true
%define debug_package %{nil}
Patch1: 0001-Fix-build-Add-default-libdir.patch

%description
Expand Down Expand Up @@ -73,24 +76,24 @@ python3 components for the pypi-pillow package.


%prep
%setup -q -n Pillow-9.3.0
cd %{_builddir}/Pillow-9.3.0
%setup -q -n Pillow-9.4.0
cd %{_builddir}/Pillow-9.4.0
%patch1 -p1
pushd ..
cp -a Pillow-9.3.0 buildavx2
cp -a Pillow-9.4.0 buildavx2
popd

%build
export http_proxy=http://127.0.0.1:9/
export https_proxy=http://127.0.0.1:9/
export no_proxy=localhost,127.0.0.1,0.0.0.0
export LANG=C.UTF-8
export SOURCE_DATE_EPOCH=1667227768
export SOURCE_DATE_EPOCH=1672689640
export GCC_IGNORE_WERROR=1
export CFLAGS="$CFLAGS -fno-lto "
export FCFLAGS="$FFLAGS -fno-lto "
export FFLAGS="$FFLAGS -fno-lto "
export CXXFLAGS="$CXXFLAGS -fno-lto "
export CFLAGS="$CFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz "
export FCFLAGS="$FFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz "
export FFLAGS="$FFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz "
export CXXFLAGS="$CXXFLAGS -fdebug-types-section -femit-struct-debug-baseonly -fno-lto -g1 -gno-column-info -gno-variable-location-views -gz "
export MAKEFLAGS=%{?_smp_mflags}
python3 setup.py build

Expand All @@ -108,6 +111,7 @@ export MAKEFLAGS=%{?_smp_mflags}
rm -rf %{buildroot}
mkdir -p %{buildroot}/usr/share/package-licenses/pypi-pillow
cp %{_builddir}/Pillow-%{version}/Tests/fonts/DejaVuSans/LICENSE.txt %{buildroot}/usr/share/package-licenses/pypi-pillow/3d95e2c3b731545390f6888a3214cf7b51fb7971 || :
cp %{_builddir}/Pillow-%{version}/Tests/fonts/LICENSE.txt %{buildroot}/usr/share/package-licenses/pypi-pillow/5a20a10da0dd9e25c9581d944c81ae9c2b16b127 || :
cp %{_builddir}/Pillow-%{version}/Tests/icc/LICENSE.txt %{buildroot}/usr/share/package-licenses/pypi-pillow/371117588643c602bb8f15b280424e938c34c369 || :
cp %{_builddir}/Pillow-%{version}/src/thirdparty/raqm/COPYING %{buildroot}/usr/share/package-licenses/pypi-pillow/0e373369e12062eb1d6f4f3df0c41086f8320eb3 || :
python3 -tt setup.py build install --root=%{buildroot}
Expand Down Expand Up @@ -140,6 +144,7 @@ popd
/usr/share/package-licenses/pypi-pillow/0e373369e12062eb1d6f4f3df0c41086f8320eb3
/usr/share/package-licenses/pypi-pillow/371117588643c602bb8f15b280424e938c34c369
/usr/share/package-licenses/pypi-pillow/3d95e2c3b731545390f6888a3214cf7b51fb7971
/usr/share/package-licenses/pypi-pillow/5a20a10da0dd9e25c9581d944c81ae9c2b16b127

%files python
%defattr(-,root,root,-)
Expand Down
2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
101
102
2 changes: 1 addition & 1 deletion upstream
Original file line number Diff line number Diff line change
@@ -1 +1 @@
08d654ff4196687969771cc67d1e391838ec1303/Pillow-9.3.0.tar.gz
a02141973dfce8dc260fa55ffc0ea961d3d7357a/Pillow-9.4.0.tar.gz
2 changes: 1 addition & 1 deletion versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
9.3.0
9.4.0

0 comments on commit 9e6a3ce

Please sign in to comment.