Accepting request 1189031 from home:glaubitz:branches:devel:languages:python
- Update to 10.4.0 * Raise FileNotFoundError if show_file() path does not exist #8178 [radarhere] * Improved reading 16-bit TGA images with colour #7965 [Yay295, radarhere] * Deprecate non-image ImageCms modes #8031 [radarhere] * Fixed processing multiple JPEG EXIF markers #8127 [radarhere] * Do not preserve EXIFIFD tag by default when saving TIFF images #8110 [radarhere] * Added ImageFont.load_default_imagefont() #8086 [radarhere] * Added Image.WARN_POSSIBLE_FORMATS #8063 [radarhere] * Remove zero-byte end padding when parsing any XMP data #8171 [radarhere] * Do not detect Ultra HDR images as MPO #8056 [radarhere] * Raise SyntaxError specific to JP2 #8146 [Yay295, radarhere] * Do not use first frame duration for other frames when saving APNG images #8104 [radarhere] * Consider I;16 pixel size when using a 1 mode mask #8112 [radarhere] * When saving multiple PNG frames, convert to mode rather than raw mode #8087 [radarhere] * Added byte support to FreeTypeFont #8141 [radarhere] * Allow float center for rotate operations #8114 OBS-URL: https://build.opensuse.org/request/show/1189031 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=156
This commit is contained in:
commit
b0f1727916
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
pillow-10.3.0.tar.gz
Normal file
3
pillow-10.3.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9d2455fbf44c914840c793e89aa82d0e1763a14253a000743719ae5946814b2d
|
||||
size 46572854
|
BIN
pillow-10.4.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
pillow-10.4.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
2573
python-Pillow.changes
Normal file
2573
python-Pillow.changes
Normal file
File diff suppressed because it is too large
Load Diff
104
python-Pillow.spec
Normal file
104
python-Pillow.spec
Normal file
@ -0,0 +1,104 @@
|
||||
#
|
||||
# spec file for package python-Pillow
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-Pillow
|
||||
Version: 10.4.0
|
||||
Release: 0
|
||||
Summary: Python Imaging Library (Fork)
|
||||
License: HPND
|
||||
URL: https://python-pillow.org/
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pillow/pillow-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel >= 3.8}
|
||||
BuildRequires: %{python_module olefile}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest >= 4.0}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module tk}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: libimagequant-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: tix
|
||||
BuildRequires: unzip
|
||||
BuildRequires: pkgconfig(freetype2)
|
||||
BuildRequires: pkgconfig(lcms2)
|
||||
BuildRequires: pkgconfig(libjpeg)
|
||||
BuildRequires: pkgconfig(libtiff-4)
|
||||
BuildRequires: pkgconfig(libturbojpeg)
|
||||
BuildRequires: pkgconfig(libwebp)
|
||||
BuildRequires: pkgconfig(tk)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
Requires: python-olefile
|
||||
Obsoletes: python-imaging < %{version}
|
||||
Provides: python-imaging = %{version}
|
||||
Obsoletes: python-PIL < %{version}
|
||||
Provides: python-PIL = %{version}
|
||||
%if 0%{?suse_version} >= 1500
|
||||
BuildRequires: pkgconfig(libopenjp2)
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Pillow is the "friendly" PIL fork by Alex Clark and Contributors. PIL is the
|
||||
Python Imaging Library by Fredrik Lundh and Contributors.
|
||||
|
||||
%package tk
|
||||
Summary: Python Imaging Library (Fork) - Tcl/Tk Module
|
||||
Requires: %{name} = %{version}
|
||||
Requires: python-tk
|
||||
|
||||
%description tk
|
||||
Pillow is the "friendly" PIL fork by Alex Clark and Contributors. PIL is the
|
||||
Python Imaging Library by Fredrik Lundh and Contributors.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n pillow-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
# add missing path
|
||||
%{python_expand echo "PIL" > %{buildroot}%{$python_sitearch}/PIL.pth}
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} PYTHONDONTWRITEBYTECODE=1
|
||||
$python selftest.py --installed
|
||||
pytest-%{$python_bin_suffix} --ignore=_build.python2 --ignore=_build.python3 --ignore=_build.pypy3 -v -k 'not (test_stroke or test_stroke_multiline)'
|
||||
}
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc CHANGES.rst README.md
|
||||
%{python_sitearch}/PIL
|
||||
%{python_sitearch}/PIL.pth
|
||||
%{python_sitearch}/pillow-%{version}.dist-info
|
||||
%exclude %{python_sitearch}/PIL/ImageTk*
|
||||
%exclude %{python_sitearch}/PIL/_imagingtk*
|
||||
%pycache_only %exclude %{python_sitearch}/PIL/__pycache__/ImageTk.*
|
||||
|
||||
%files %{python_files tk}
|
||||
%{python_sitearch}/PIL/ImageTk*
|
||||
%{python_sitearch}/PIL/_imagingtk*
|
||||
%pycache_only %{python_sitearch}/PIL/__pycache__/ImageTk.*
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user