14
0

Accepting request 1227375 from home:rrahl0

- update to 0.21.0:
  * Allow specifying encoder parameters for non-primary images in image sequence.
  * Error argument '-Ofast' is deprecated when building from source.
- switch to github tarball, so we can build the documentation

OBS-URL: https://build.opensuse.org/request/show/1227375
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pillow-heif?expand=0&rev=10
This commit is contained in:
Richard Rahl
2024-11-29 21:14:23 +00:00
committed by Git OBS Bridge
parent 134f8955e5
commit 6131c4a2f3
4 changed files with 26 additions and 5 deletions

View File

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

View File

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

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Nov 29 14:54:36 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- update to 0.21.0:
* Allow specifying encoder parameters for non-primary images in image sequence.
* Error argument '-Ofast' is deprecated when building from source.
- switch to github tarball, so we can build the documentation
-------------------------------------------------------------------
Sat Oct 19 18:52:26 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>

View File

@@ -17,16 +17,20 @@
Name: python-pillow-heif
Version: 0.20.0
Version: 0.21.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#/%{name}-%{version}.tar.gz
Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: %{python_module Pillow >= 9.5.0}
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 67.8}
BuildRequires: %{python_module sphinx-issues}
BuildRequires: %{python_module sphinx_rtd_theme}
BuildRequires: %{python_module sphinxcontrib-copybutton}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -34,6 +38,7 @@ BuildRequires: pkgconfig(aom) >= 3.3.0
BuildRequires: pkgconfig(libavif)
BuildRequires: pkgconfig(libheif) >= 1.18.2
Requires: python-Pillow >= 9.5.0
Suggests: python-pillow-heif-doc
%python_subpackages
%description
@@ -45,11 +50,19 @@ Python interface for libheif library
%build
%pyproject_wheel
#docs
pushd docs
%make_build html
popd
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
rm docs/_build/html/.buildinfo
%fdupes docs/_build/html
%files %{python_files}
%doc docs/_build/html
%{python_sitearch}/pillow_heif
%{python_sitearch}/pillow_heif-%{version}.dist-info
%{python_sitearch}/_pillow_heif.cpython-*.so