14
0

Accepting request 1060173 from home:bnavigator:branches:devel:languages:python

- Update to 2022.12.24
  * Pass 6512 tests.
  * Fix PNG codec error handling.
  * Fix truncated transferfunctions in cms_profile (#57).
  * Fix exceptions not raised in cdef functions not returning
    Python object.
- Release 2022.12.22
  * Require libtiff 4.5 (breaking).
  * Require libavif 0.11 (breaking).
  * Change jpegxl_encode level parameter to resemble libjpeg
    quality (breaking).
  * Add LZFSE codec via lzfse library.
  * Add LZHAM codec via lzham library.
  * Fix AttributeError in cms_profile (#52).
  * Support gamma argument in cms_profile (#53).
  * Raise limit of TIFF pages to 1048576.
  * Use libtiff thread-safe error/warning handlers.
  * Add option to specify filters and strategy in png_encode.
  * Add option to specify integrity check type in lzma_encode.
  * Fix DeprecationWarning with NumPy 1.24.

OBS-URL: https://build.opensuse.org/request/show/1060173
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-imagecodecs?expand=0&rev=19
This commit is contained in:
2023-01-23 12:54:52 +00:00
committed by Git OBS Bridge
parent ca587188c8
commit 3468cf65fd
6 changed files with 75 additions and 40 deletions

View File

@@ -16,9 +16,8 @@ def customize_build(EXTENSIONS, OPTIONS):
del EXTENSIONS['jpegxl'] # jpeg-xl library not available
del EXTENSIONS['lerc'] # LERC library not available
del EXTENSIONS['lz4f'] # requires static linking
del EXTENSIONS['mozjpeg'] # mozjpeg library not available
del EXTENSIONS['zfp'] # zfp library 0.5.5 not supported
del EXTENSIONS['mozjpeg'] # Win32 only
EXTENSIONS['avif']['libraries'] = [
'avif',
'aom',
@@ -28,7 +27,7 @@ def customize_build(EXTENSIONS, OPTIONS):
if sys.maxsize < 2**63 - 1:
# no zfp on 32-bit platforms
# del EXTENSIONS['zfp']
del EXTENSIONS['zfp']
# avif tests fail on 32-bit
del EXTENSIONS['avif']
# spng build fail on 32-bit
@@ -42,3 +41,5 @@ def customize_build(EXTENSIONS, OPTIONS):
EXTENSIONS['jpegxr']['include_dirs'].append(includedir + 'jxrlib')
EXTENSIONS['rcomp']['include_dirs'].append(includedir + 'cfitsio')
EXTENSIONS['zopfli']['include_dirs'].append(includedir + 'zopfli')
EXTENSIONS['lzham']['libraries'] = ['lzhamdll']