forked from pool/python-imagecodecs
- update to 2023.9.18:
* Rebuild with updated dependencies fixes CVE-2023-4863. * Map avif_encode level parameter to quality (breaking). * Support monochrome images in avif_encode. * Add numthreads parameter to avif_decode (fix imread of AVIF). * Add experimental quantize filter (BitGroom, BitRound, GBR) via nc4var.c. * Add LZ4H5 codec. * Support more BCn compressed DDS fourcc types. * Require libavif 1.0 * Add EER (Electron Event Representation) decoder. * Add option to pass initial value to crc32 and adler32 checksum functions. * Add fletcher32 and lookup3 checksum functions via HDF5's h5checksum.c. * Add Checksum codec for numcodecs. * Rebuild with optimized compile flags. * Add BCn and DDS decoder via bcdec library. * Add functions to transcode JPEG XL to/from JPEG (#78). * Add option to decode select frames from animated WebP. * Use legacy JPEG8 codec when building without libjpeg-turbo 3 * Change blosc2_encode defaults to match blosc2-python (breaking). * Fix segfault writing JPEG2K with more than 4 samples. * Fix some codecs returning bytearray by default. * Fully vendor cfitsio's ricecomp.c. * Drop support for Python 3.8 and numpy < 1.21 (NEP29). - drop always-cythonize.patch, avif.patch, quantize.patch, cython3.patch, libavif.patch, integrate.patch, tests.patch: upstream OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-imagecodecs?expand=0&rev=27
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -26,26 +26,13 @@
|
||||
%endif
|
||||
|
||||
Name: python-imagecodecs%{psuffix}
|
||||
Version: 2023.3.16
|
||||
Version: 2023.9.18
|
||||
Release: 0
|
||||
Summary: Image transformation, compression, and decompression codecs
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/cgohlke/imagecodecs/
|
||||
Source: https://files.pythonhosted.org/packages/source/i/imagecodecs/imagecodecs-%{version}.tar.gz
|
||||
Source1: imagecodecs_distributor_setup.py
|
||||
Patch0: always-cythonize.patch
|
||||
# PATCH-FIX-UPSTREAM https://github.com/cgohlke/imagecodecs/commit/14bb6012a8c9f48df264ea996f3376e57166201a Update imagecodecs/_heif.pyx
|
||||
Patch1: cython3.patch
|
||||
# PATCH-FIX-UPSTREAM https://github.com/cgohlke/imagecodecs/commit/d04112759c48772c4d46a2dfa4f4c6a76e23c9a9 Update imagecodecs/libavif.pxd
|
||||
Patch2: libavif.patch
|
||||
# PATCH-FIX-UPSTREAM https://github.com/cgohlke/imagecodecs/commit/93d1f751436e357d73eb6fdebc2af833059d9ea9 Add imagecodecs/_quantize.pyx
|
||||
Patch3: quantize.patch
|
||||
# PATCH-FIX-UPSTREAM https://github.com/cgohlke/imagecodecs/commit/2f548c9a4df443948f2dfcde30a7211ce8b3adc2 Update imagecodecs/_avif.pyx
|
||||
Patch4: avif.patch
|
||||
# PATCH-FIX-UPSTREAM https://github.com/cgohlke/imagecodecs/commit/0030b7b74fc17ceb356d1f67633ba1734108dac9 Update tests/test_imagecodecs.py
|
||||
Patch5: tests.patch
|
||||
# PATCH-FIX-UPSTREAM https://github.com/cgohlke/imagecodecs/commit/e9b5a984b72c9d4e14f9d37ec99389d25645c7fb Update imagecodecs/imagecodecs.py
|
||||
Patch6: integrate.patch
|
||||
BuildRequires: %{python_module Cython >= 0.29.19}
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
BuildRequires: %{python_module numpy-devel}
|
||||
|
Reference in New Issue
Block a user