forked from pool/python-imagecodecs
Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
|
08246d518f | ||
7b934b2bb6 |
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0f3e94b7f51e2f78287b7ffae82cd850b1007639148894538274fa50bd179886
|
||||
size 9459867
|
3
imagecodecs-2024.9.22.tar.gz
Normal file
3
imagecodecs-2024.9.22.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fea0801b4008d25e971918d991397a351bbe76276cfa98eed2de54cb87e894a3
|
||||
size 9483739
|
@ -2,7 +2,6 @@
|
||||
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
def customize_build(EXTENSIONS, OPTIONS):
|
||||
|
||||
@ -19,6 +18,9 @@ def customize_build(EXTENSIONS, OPTIONS):
|
||||
del EXTENSIONS['mozjpeg'] # Win32 only
|
||||
del EXTENSIONS['pcodec'] # not available in Factory
|
||||
del EXTENSIONS['sperr'] # not available in Factory
|
||||
del EXTENSIONS['jpegxs'] # jxs not available in Factory
|
||||
del EXTENSIONS['sz3'] # SZ3c not available in Factory
|
||||
del EXTENSIONS['ultrahdr'] # uhdr not available in Factory
|
||||
|
||||
EXTENSIONS['avif']['libraries'] = [
|
||||
'avif',
|
||||
@ -38,3 +40,5 @@ def customize_build(EXTENSIONS, OPTIONS):
|
||||
EXTENSIONS['rcomp']['include_dirs'].append(includedir + 'cfitsio')
|
||||
EXTENSIONS['zopfli']['include_dirs'].append(includedir + 'zopfli')
|
||||
EXTENSIONS['lzham']['libraries'] = ['lzhamdll']
|
||||
# gh#gohlke/imagecodecs#111
|
||||
EXTENSIONS['jpeg8']['sources'] = []
|
||||
|
@ -1,3 +1,21 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 6 10:27:23 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 2024.9.22
|
||||
* Use libjpeg-turbo for all Lossless JPEG bit-depths if possible
|
||||
(#105).
|
||||
* Fix PackBits encoder fails to skip short replication blocks
|
||||
(#107).
|
||||
* Fix JPEG2K encoder leaving trailing random bytes (#104).
|
||||
* Fix encoding and decoding JPEG XL with custom bitspersample
|
||||
(#102).
|
||||
* Improve error handling in lzf_decode (#103).
|
||||
* Add Ultra HDR (JPEG_R) codec based on libultrahdr library
|
||||
(#108).
|
||||
* Add JPEGXS codec based on libjxs library (source only).
|
||||
* Add SZ3 codec based on SZ3 library.
|
||||
* Deprecate Python 3.9, support Python 3.13.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 14 14:51:22 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-imagecodecs%{psuffix}
|
||||
Version: 2024.6.1
|
||||
Version: 2024.9.22
|
||||
Release: 0
|
||||
Summary: Image transformation, compression, and decompression codecs
|
||||
License: BSD-3-Clause
|
||||
@ -34,8 +34,8 @@ URL: https://github.com/cgohlke/imagecodecs/
|
||||
Source0: https://files.pythonhosted.org/packages/source/i/imagecodecs/imagecodecs-%{version}.tar.gz
|
||||
Source1: imagecodecs_distributor_setup.py
|
||||
ExcludeArch: %ix86 %arm32 ppc s390
|
||||
BuildRequires: %{python_module Cython >= 3}
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
BuildRequires: %{python_module Cython >= 3.0.11}
|
||||
BuildRequires: %{python_module base >= 3.10}
|
||||
BuildRequires: %{python_module numpy-devel}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
@ -68,7 +68,7 @@ BuildRequires: %{python_module numcodecs}
|
||||
BuildRequires: %{python_module pytest-xdist}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module python-snappy}
|
||||
BuildRequires: %{python_module scikit-image}
|
||||
BuildRequires: %{python_module scikit-image if %python-base < 3.13}
|
||||
BuildRequires: %{python_module tifffile}
|
||||
BuildRequires: %{python_module zarr}
|
||||
BuildRequires: %{python_module zstd}
|
||||
@ -97,6 +97,7 @@ BuildRequires: snappy-devel
|
||||
BuildRequires: sz2-devel
|
||||
BuildRequires: xz-devel
|
||||
BuildRequires: zfp-devel
|
||||
BuildRequires: pkgconfig(SvtAv1Enc)
|
||||
BuildRequires: pkgconfig(blosc)
|
||||
BuildRequires: pkgconfig(blosc2) >= 2.7.1
|
||||
BuildRequires: pkgconfig(bzip2)
|
||||
@ -105,16 +106,14 @@ BuildRequires: pkgconfig(lcms2) >= 2.16
|
||||
BuildRequires: pkgconfig(libavif) >= 1.0.0
|
||||
BuildRequires: pkgconfig(libbrotlicommon)
|
||||
BuildRequires: pkgconfig(libheif)
|
||||
# Tests fail if enabled
|
||||
# BuildRequires: pkgconfig(libturbojpeg)
|
||||
BuildRequires: pkgconfig(libjxl) >= 0.9
|
||||
BuildRequires: pkgconfig(SvtAv1Enc)
|
||||
BuildRequires: pkgconfig(liblz4)
|
||||
BuildRequires: pkgconfig(liblzma)
|
||||
BuildRequires: pkgconfig(libopenjp2)
|
||||
BuildRequires: pkgconfig(libpng)
|
||||
BuildRequires: pkgconfig(libsharpyuv)
|
||||
BuildRequires: pkgconfig(libtiff-4)
|
||||
BuildRequires: pkgconfig(libturbojpeg) >= 3
|
||||
BuildRequires: pkgconfig(libwebp)
|
||||
BuildRequires: pkgconfig(libzstd)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
@ -146,6 +145,9 @@ rm imagecodecs/licenses/LICENSE-lzokay
|
||||
rm imagecodecs/licenses/LICENSE-mozjpeg
|
||||
rm imagecodecs/licenses/LICENSE-pcodec
|
||||
rm imagecodecs/licenses/LICENSE-sperr
|
||||
rm imagecodecs/licenses/LICENSE-libjxs
|
||||
rm imagecodecs/licenses/LICENSE-sz3
|
||||
rm imagecodecs/licenses/LICENSE-libultrahdr
|
||||
|
||||
%build
|
||||
%if !%{with test}
|
||||
|
Loading…
Reference in New Issue
Block a user