14
0

Accepting request 1228757 from home:bnavigator:branches:devel:languages:python:numeric

- 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.

OBS-URL: https://build.opensuse.org/request/show/1228757
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-imagecodecs?expand=0&rev=40
This commit is contained in:
2024-12-06 15:35:22 +00:00
committed by Git OBS Bridge
parent 6687685ed7
commit d91a0fdd5b
5 changed files with 35 additions and 11 deletions

View File

@@ -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'] = []