From 6131c4a2f318b12c1af56fe7d260dc256dce9ddd1d146dcaddd6de0f9edcbdbe Mon Sep 17 00:00:00 2001 From: Richard Rahl Date: Fri, 29 Nov 2024 21:14:23 +0000 Subject: [PATCH] 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 --- python-pillow-heif-0.20.0.tar.gz | 3 --- python-pillow-heif-0.21.0.tar.gz | 3 +++ python-pillow-heif.changes | 8 ++++++++ python-pillow-heif.spec | 17 +++++++++++++++-- 4 files changed, 26 insertions(+), 5 deletions(-) delete mode 100644 python-pillow-heif-0.20.0.tar.gz create mode 100644 python-pillow-heif-0.21.0.tar.gz diff --git a/python-pillow-heif-0.20.0.tar.gz b/python-pillow-heif-0.20.0.tar.gz deleted file mode 100644 index bc1742e..0000000 --- a/python-pillow-heif-0.20.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cac19c4434ab776f833160d61f3cbeddb347bd8ed2f82205b243eba5c572fa33 -size 16173556 diff --git a/python-pillow-heif-0.21.0.tar.gz b/python-pillow-heif-0.21.0.tar.gz new file mode 100644 index 0000000..866762c --- /dev/null +++ b/python-pillow-heif-0.21.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:af0f03a99517d32c49652f8676e89e5556608e7a5fc66c4aae0f53a47f9af0e9 +size 25651387 diff --git a/python-pillow-heif.changes b/python-pillow-heif.changes index 9effd1c..52477b8 100644 --- a/python-pillow-heif.changes +++ b/python-pillow-heif.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Nov 29 14:54:36 UTC 2024 - Richard Rahl + +- 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 diff --git a/python-pillow-heif.spec b/python-pillow-heif.spec index ecf509c..f624d67 100644 --- a/python-pillow-heif.spec +++ b/python-pillow-heif.spec @@ -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