19
0

11 Commits

Author SHA256 Message Date
Richard Rahl
c76cfc06a2 Accepting request 1299153 from home:rrahl0
OBS-URL: https://build.opensuse.org/request/show/1299153
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pillow-heif?expand=0&rev=22
2025-08-12 21:41:57 +00:00
Richard Rahl
ee244172bb Accepting request 1299152 from home:rrahl0
- add tests if dependencies are available
- removing duplicates with fdupes
- be more explicit in %files

OBS-URL: https://build.opensuse.org/request/show/1299152
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pillow-heif?expand=0&rev=21
2025-08-12 21:30:41 +00:00
Richard Rahl
92f73e1a9a Accepting request 1298995 from home:rrahl0
- updated to version 1.1.0:
  * add Python 3.14 support
- remove patch include-new-header.patch, fixed upstream

OBS-URL: https://build.opensuse.org/request/show/1298995
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pillow-heif?expand=0&rev=19
2025-08-12 09:47:48 +00:00
Richard Rahl
fbb91dc70d Accepting request 1291611 from home:rrahl0
- add patch include-new-header.patch, as libheif split the header file

OBS-URL: https://build.opensuse.org/request/show/1291611
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pillow-heif?expand=0&rev=17
2025-07-10 06:28:07 +00:00
Richard Rahl
285a4e2ab4 Accepting request 1291609 from home:rrahl0
- add patch add-new-header.patch, as libheif split the header file

OBS-URL: https://build.opensuse.org/request/show/1291609
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pillow-heif?expand=0&rev=16
2025-07-10 06:22:55 +00:00
Richard Rahl
07f11a821a Accepting request 1289323 from home:rrahl0
- update to 1.0.0:
  * Support for YCbCr AUX images
  * AVIF support was dropped, as the upcoming Pillow has native support

OBS-URL: https://build.opensuse.org/request/show/1289323
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pillow-heif?expand=0&rev=14
2025-06-30 17:12:41 +00:00
Richard Rahl
1f3dc56cc3 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
Richard Rahl
6131c4a2f3 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
Richard Rahl
134f8955e5 Accepting request 1217446 from home:rrahl0
- 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/request/show/1217446
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
Richard Rahl
630dd5d703 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
Richard Rahl
97f20b9618 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
5 changed files with 60 additions and 9 deletions

3
_multibuild Normal file
View File

@@ -0,0 +1,3 @@
<multibuild>
<package>test</package>
</multibuild>

View File

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

View File

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

View File

@@ -1,3 +1,28 @@
-------------------------------------------------------------------
Tue Aug 12 21:26:01 UTC 2025 - Richard Rahl <rrahl0@opensuse.org>
- add tests if dependencies are available
- removing duplicates with fdupes
-------------------------------------------------------------------
Tue Aug 12 09:37:55 UTC 2025 - Richard Rahl <rrahl0@opensuse.org>
- updated to version 1.1.0:
* add Python 3.14 support
- remove patch include-new-header.patch, fixed upstream
-------------------------------------------------------------------
Thu Jul 10 06:20:18 UTC 2025 - Richard Rahl <rrahl0@opensuse.org>
- add patch include-new-header.patch, as libheif split the header file
-------------------------------------------------------------------
Mon Jun 30 17:06:51 UTC 2025 - Richard Rahl <rrahl0@opensuse.org>
- update to 1.0.0:
* Support for YCbCr AUX images
* AVIF support was dropped, as the upcoming Pillow has native support
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Mar 16 20:56:03 UTC 2025 - Richard Rahl <rrahl0@opensuse.org> Sun Mar 16 20:56:03 UTC 2025 - Richard Rahl <rrahl0@opensuse.org>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pillow-heif # spec file for package python-pillow-heif
# #
# Copyright (c) 2025 SUSE LLC # Copyright (c) 2025 SUSE LLC and contributors
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,13 +16,21 @@
# #
Name: python-pillow-heif %global flavor @BUILD_FLAVOR@%nil
Version: 0.22.0 %if "%{flavor}" == "test"
%define psuffix -test
%bcond_without tests
%else
%define psuffix %nil
%bcond_with tests
%endif
Name: python-pillow-heif%{psuffix}
Version: 1.1.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
Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source0: %{url}/archive/v%{version}.tar.gz#/python-pillow-heif-%{version}.tar.gz
BuildRequires: %{python_module Pillow >= 9.5.0} BuildRequires: %{python_module Pillow >= 9.5.0}
BuildRequires: %{python_module Sphinx} BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
@@ -37,6 +45,15 @@ BuildRequires: python-rpm-macros
BuildRequires: pkgconfig(aom) >= 3.3.0 BuildRequires: pkgconfig(aom) >= 3.3.0
BuildRequires: pkgconfig(libavif) BuildRequires: pkgconfig(libavif)
BuildRequires: pkgconfig(libheif) >= 1.18.2 BuildRequires: pkgconfig(libheif) >= 1.18.2
%if %{with tests}
BuildRequires: %{python_module Pympler}
BuildRequires: %{python_module numpy}
BuildRequires: %{python_module opencv}
BuildRequires: %{python_module pillow-heif = %{version}}
BuildRequires: %{python_module pytest}
BuildRequires: libheif-HEIF
BuildRequires: pkgconfig(libde265)
%endif
Requires: python-Pillow >= 9.5.0 Requires: python-Pillow >= 9.5.0
Suggests: python-pillow-heif-doc Suggests: python-pillow-heif-doc
%python_subpackages %python_subpackages
@@ -45,7 +62,7 @@ Suggests: python-pillow-heif-doc
Python interface for libheif library Python interface for libheif library
%prep %prep
%autosetup -p1 -n pillow_heif-%{version} %autosetup -n pillow_heif-%{version}
%build %build
%pyproject_wheel %pyproject_wheel
@@ -60,11 +77,17 @@ popd
%python_expand %fdupes %{buildroot}%{$python_sitearch} %python_expand %fdupes %{buildroot}%{$python_sitearch}
rm docs/_build/html/.buildinfo rm docs/_build/html/.buildinfo
%fdupes docs/_build/html %fdupes docs/_build/html
%{python_expand} %{fdupes} %{buildroot}
%if %{with tests}
%check
%pytest
%endif
%files %{python_files} %files %{python_files}
%doc docs/_build/html %doc docs/_build/html
%{python_sitearch}/pillow_heif %{python_sitearch}/pillow_heif
%{python_sitearch}/pillow_heif-%{version}.dist-info %{python_sitearch}/pillow_heif-%{version}.dist-info
%{python_sitearch}/_pillow_heif.cpython-*.so %{python_sitearch}/_pillow_heif.cpython-%{python_version_nodots}-*.so
%changelog %changelog