forked from pool/python-pillow-heif
Accepting request 1185735 from home:rrahl0:upgrades
- update to 0.17.0: * Support for Pillow 10.4.0 * Minimum supported Pillow version raised to 10.1.0 * xmp in info dictionary is now not present if it is empty * Processing of the images in P mode with transparency = 0 - adapt packaging to better handle rebuilding - disable tests for now, as it can't find the correct libs OBS-URL: https://build.opensuse.org/request/show/1185735 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pillow-heif?expand=0&rev=4
This commit is contained in:
committed by
Git OBS Bridge
parent
f66f036285
commit
97f20b9618
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:4d95004bb77aa640f80617716aa21bc092ec06307f6f2ad423deeeda07b4d29c
|
|
||||||
size 14899409
|
|
3
python-pillow-heif-0.17.0.tar.gz
Normal file
3
python-pillow-heif-0.17.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9541ffd1f80ff3f12da26aba76eb6da458fafa5f8bf4ee16279de0e2a5464ba9
|
||||||
|
size 14900010
|
@@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 5 07:27:29 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
|
||||||
|
|
||||||
|
- update to 0.17.0:
|
||||||
|
* Support for Pillow 10.4.0
|
||||||
|
* Minimum supported Pillow version raised to 10.1.0
|
||||||
|
* xmp in info dictionary is now not present if it is empty
|
||||||
|
* Processing of the images in P mode with transparency = 0
|
||||||
|
- adapt packaging to better handle rebuilding
|
||||||
|
- disable tests for now, as it can't find the correct libs
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jun 2 23:24:23 UTC 2024 - Richard Rahl <rrahl0@disroot.org>
|
Sun Jun 2 23:24:23 UTC 2024 - Richard Rahl <rrahl0@disroot.org>
|
||||||
|
|
||||||
|
@@ -17,15 +17,14 @@
|
|||||||
|
|
||||||
|
|
||||||
%bcond_with x265
|
%bcond_with x265
|
||||||
%bcond_with libde265
|
|
||||||
%define BUILD_ORIG 0
|
|
||||||
Name: python-pillow-heif
|
Name: python-pillow-heif
|
||||||
Version: 0.16.0
|
Version: 0.17.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python interface for libheif library
|
Summary: Python interface for libheif library
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://github.com/bigcat88/pillow_heif
|
URL: https://github.com/bigcat88/pillow_heif
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pillow-heif/pillow_heif-%{version}.tar.gz#/python-pillow-heif-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pillow-heif/pillow_heif-%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module Pillow >= 9.5.0}
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools >= 67.8}
|
BuildRequires: %{python_module setuptools >= 67.8}
|
||||||
@@ -36,17 +35,9 @@ BuildRequires: pkgconfig(aom) >= 3.3.0
|
|||||||
BuildRequires: pkgconfig(libavif)
|
BuildRequires: pkgconfig(libavif)
|
||||||
BuildRequires: pkgconfig(libheif) >= 1.17.0
|
BuildRequires: pkgconfig(libheif) >= 1.17.0
|
||||||
%if %{with x265}
|
%if %{with x265}
|
||||||
BuildRequires: pkgconfig(libde265} >= 1.0.8
|
BuildRequires: pkgconfig(libde265)
|
||||||
BuildRequires: pkgconfig(x265)
|
BuildRequires: pkgconfig(x265)
|
||||||
%endif
|
%endif
|
||||||
# SECTION test requirements
|
|
||||||
BuildRequires: %{python_module Pillow >= 9.5.0}
|
|
||||||
BuildRequires: %{python_module Pympler}
|
|
||||||
BuildRequires: %{python_module defusedxml}
|
|
||||||
BuildRequires: %{python_module numpy}
|
|
||||||
BuildRequires: %{python_module opencv}
|
|
||||||
BuildRequires: %{python_module pytest >= 6.0.0}
|
|
||||||
# /SECTION
|
|
||||||
Requires: python-Pillow >= 9.5.0
|
Requires: python-Pillow >= 9.5.0
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -64,12 +55,6 @@ export CFLAGS="%{optflags}"
|
|||||||
%pyproject_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
%if 0%{BUILD_ORIG}
|
|
||||||
# tests need nonfree codecs
|
|
||||||
%check
|
|
||||||
%pytest
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%{python_sitearch}/pillow_heif
|
%{python_sitearch}/pillow_heif
|
||||||
%{python_sitearch}/pillow_heif-%{version}.dist-info
|
%{python_sitearch}/pillow_heif-%{version}.dist-info
|
||||||
|
Reference in New Issue
Block a user