forked from pool/python-pillow-heif
Compare commits
10 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 3f64a689f1 | |||
|
|
b16da72cc4 | ||
| 3760e8efed | |||
|
|
dbfac18b8d | ||
| d2882b66bc | |||
|
|
3b71634112 | ||
| 980759d162 | |||
|
|
1a8e2ab731 | ||
| 7eb1183ec3 | |||
|
|
1fd4a59e57 |
@@ -1,3 +0,0 @@
|
||||
<multibuild>
|
||||
<package>test</package>
|
||||
</multibuild>
|
||||
3
python-pillow-heif-0.22.0.tar.gz
Normal file
3
python-pillow-heif-0.22.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1f044f53fd0b688173cc5f24db5e3e14b111630f51e08507fb599310b713a543
|
||||
size 28024517
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f7a36718f903bf83876b758e2783cb51e297d25956cbeb984d48e0f229563e20
|
||||
size 27742818
|
||||
@@ -1,28 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pillow-heif
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
# 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,21 +16,13 @@
|
||||
#
|
||||
|
||||
|
||||
%global flavor @BUILD_FLAVOR@%nil
|
||||
%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
|
||||
Name: python-pillow-heif
|
||||
Version: 0.22.0
|
||||
Release: 0
|
||||
Summary: Python interface for libheif library
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/bigcat88/pillow_heif
|
||||
Source0: %{url}/archive/v%{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}
|
||||
@@ -45,15 +37,6 @@ BuildRequires: python-rpm-macros
|
||||
BuildRequires: pkgconfig(aom) >= 3.3.0
|
||||
BuildRequires: pkgconfig(libavif)
|
||||
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
|
||||
Suggests: python-pillow-heif-doc
|
||||
%python_subpackages
|
||||
@@ -62,7 +45,7 @@ Suggests: python-pillow-heif-doc
|
||||
Python interface for libheif library
|
||||
|
||||
%prep
|
||||
%autosetup -n pillow_heif-%{version}
|
||||
%autosetup -p1 -n pillow_heif-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
@@ -77,17 +60,11 @@ popd
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
rm docs/_build/html/.buildinfo
|
||||
%fdupes docs/_build/html
|
||||
%{python_expand} %{fdupes} %{buildroot}
|
||||
|
||||
%if %{with tests}
|
||||
%check
|
||||
%pytest
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%doc docs/_build/html
|
||||
%{python_sitearch}/pillow_heif
|
||||
%{python_sitearch}/pillow_heif-%{version}.dist-info
|
||||
%{python_sitearch}/_pillow_heif.cpython-%{python_version_nodots}-*.so
|
||||
%{python_sitearch}/_pillow_heif.cpython-*.so
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user