15
0

10 Commits

Author SHA256 Message Date
3f64a689f1 Accepting request 1253565 from devel:languages:python
- update to 0.22.0:
  * Boolean pillow_heif.options.DISABLE_SECURITY_LIMITS to bypass security
    limit of libheif for the image size.
  * AVIF format marked as deprecated and pending for the removal. (forwarded request 1253564 from rrahl0)

OBS-URL: https://build.opensuse.org/request/show/1253565
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pillow-heif?expand=0&rev=6
2025-03-17 21:17:37 +00:00
Richard Rahl
b16da72cc4 Accepting request 1253564 from home:rrahl0
- update to 0.22.0:
  * Boolean pillow_heif.options.DISABLE_SECURITY_LIMITS to bypass security
    limit of libheif for the image size.
  * AVIF format marked as deprecated and pending for the removal.

OBS-URL: https://build.opensuse.org/request/show/1253564
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pillow-heif?expand=0&rev=12
2025-03-16 21:12:38 +00:00
3760e8efed Accepting request 1227376 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1227376
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pillow-heif?expand=0&rev=5
2024-11-30 12:31:33 +00:00
Richard Rahl
dbfac18b8d 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
2024-11-29 21:14:23 +00:00
d2882b66bc Accepting request 1217447 from devel:languages:python
- update to 0.20.0:
  * Initial support for parsing auxiliary images.
  * Dropped Python 3.8 support
  * More accurate error handling in the C module
  * Support for Pillow 11.0.0
- remove building option for x265, as I can't verify it for now (forwarded request 1217446 from rrahl0)

OBS-URL: https://build.opensuse.org/request/show/1217447
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pillow-heif?expand=0&rev=4
2024-10-24 13:43:27 +00:00
Richard Rahl
3b71634112 - update to 0.20.0:
* Initial support for parsing auxiliary images.
  * Dropped Python 3.8 support
  * More accurate error handling in the C module
  * Support for Pillow 11.0.0
- remove building option for x265, as I can't verify it for now

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pillow-heif?expand=0&rev=8
2024-10-24 03:25:37 +00:00
980759d162 Accepting request 1189936 from devel:languages:python
- update to 0.18.0:
  * image.info["heif"] dictionary with camera_intrinsic_matrix HEIF
    specific metadata. Currently only reading is supported.
  * python 3.13.0b3 support added (forwarded request 1189935 from rrahl0)

OBS-URL: https://build.opensuse.org/request/show/1189936
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pillow-heif?expand=0&rev=3
2024-08-03 18:04:31 +00:00
Richard Rahl
1a8e2ab731 Accepting request 1189935 from home:rrahl0
- update to 0.18.0:
  * image.info["heif"] dictionary with camera_intrinsic_matrix HEIF
    specific metadata. Currently only reading is supported.
  * python 3.13.0b3 support added

OBS-URL: https://build.opensuse.org/request/show/1189935
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pillow-heif?expand=0&rev=6
2024-07-27 19:42:16 +00:00
7eb1183ec3 Accepting request 1185736 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1185736
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pillow-heif?expand=0&rev=2
2024-07-05 17:50:48 +00:00
Richard Rahl
1fd4a59e57 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
2024-07-05 08:05:58 +00:00
4 changed files with 66 additions and 29 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:1f044f53fd0b688173cc5f24db5e3e14b111630f51e08507fb599310b713a543
size 28024517

View File

@@ -1,3 +1,48 @@
-------------------------------------------------------------------
Sun Mar 16 20:56:03 UTC 2025 - Richard Rahl <rrahl0@opensuse.org>
- update to 0.22.0:
* Boolean pillow_heif.options.DISABLE_SECURITY_LIMITS to bypass security
limit of libheif for the image size.
* AVIF format marked as deprecated and pending for the removal.
-------------------------------------------------------------------
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>
- update to 0.20.0:
* Initial support for parsing auxiliary images.
* Dropped Python 3.8 support
* More accurate error handling in the C module
* Support for Pillow 11.0.0
- remove building option for x265, as I can't verify it for now
-------------------------------------------------------------------
Sat Jul 27 19:39:58 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- update to 0.18.0:
* image.info["heif"] dictionary with camera_intrinsic_matrix HEIF
specific metadata. Currently only reading is supported.
* python 3.13.0b3 support added
-------------------------------------------------------------------
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

@@ -1,7 +1,7 @@
#
# spec file for package python-pillow-heif
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,38 +16,29 @@
#
%bcond_with x265
%bcond_with libde265
%define BUILD_ORIG 0
Name: python-pillow-heif
Version: 0.16.0
Version: 0.22.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
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
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(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
BuildRequires: pkgconfig(libheif) >= 1.18.2
Requires: python-Pillow >= 9.5.0
Suggests: python-pillow-heif-doc
%python_subpackages
%description
@@ -57,20 +48,21 @@ Python interface for libheif library
%autosetup -p1 -n pillow_heif-%{version}
%build
export CFLAGS="%{optflags}"
%pyproject_wheel
#docs
pushd docs
%make_build html
popd
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%if 0%{BUILD_ORIG}
# tests need nonfree codecs
%check
%pytest
%endif
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