14
0

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:
Richard Rahl
2024-07-05 08:05:58 +00:00
committed by Git OBS Bridge
parent f66f036285
commit 97f20b9618
4 changed files with 18 additions and 22 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4d95004bb77aa640f80617716aa21bc092ec06307f6f2ad423deeeda07b4d29c
size 14899409

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9541ffd1f80ff3f12da26aba76eb6da458fafa5f8bf4ee16279de0e2a5464ba9
size 14900010

View File

@@ -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>

View File

@@ -17,15 +17,14 @@
%bcond_with x265
%bcond_with libde265
%define BUILD_ORIG 0
Name: python-pillow-heif
Version: 0.16.0
Version: 0.17.0
Release: 0
Summary: Python interface for libheif library
License: BSD-3-Clause
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 pip}
BuildRequires: %{python_module setuptools >= 67.8}
@@ -36,17 +35,9 @@ BuildRequires: pkgconfig(aom) >= 3.3.0
BuildRequires: pkgconfig(libavif)
BuildRequires: pkgconfig(libheif) >= 1.17.0
%if %{with x265}
BuildRequires: pkgconfig(libde265} >= 1.0.8
BuildRequires: pkgconfig(libde265)
BuildRequires: pkgconfig(x265)
%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
%python_subpackages
@@ -64,12 +55,6 @@ export CFLAGS="%{optflags}"
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%if 0%{BUILD_ORIG}
# tests need nonfree codecs
%check
%pytest
%endif
%files %{python_files}
%{python_sitearch}/pillow_heif
%{python_sitearch}/pillow_heif-%{version}.dist-info