forked from pool/python-imagecodecs
Accepting request 903287 from home:bnavigator:branches:devel:languages:python
- Update to 2021.6.8 * Pass 5185 tests. * Fix building with Cython 0.3a7. * Decode TIFF with JPEG compression, YCBCR or CMYK colorspace as RGB24. * Vendor cfitsio/ricecomp.c for shared library builds on Windows (#18). - Release 2021.5.20 * Add ZLIBNG codec via zlib-ng library. * Add RCOMP (Rice) codec via cfitsio library. * Fix decoding of 16-bit JPEG with jpeg_decode. * Relax user provided output array shape requirement. - Release 2021.4.28 * Change WebP default compression level to lossless. * Rename jpegxl codec to brunsli (breaking). * Add new JPEG XL codec via jpeg-xl library. * Add PGLZ codec via PostgreSQL's pg_lzcompress.c. * Update to libtiff 4.3 and libjpeg-turbo 2.1. * Enable JPEG 12-bit codec in manylinux wheels. * Drop manylinux2010 wheels. - Release 2021.3.31 * Add numcodecs compatible codecs for use by Zarr (experimental). * Support separate JPEG header in jpeg_decode. * Do not decode JPEG LS and XL in jpeg_decode (breaking). * Fix ZFP with partial header. * Fix JPEG LS tests (#15). * Fix LZ4F contentchecksum. * Remove blosc Snappy tests. * Fix docstrings. - drop imagecodecs-pr15-test_jpegls.patch fixed upstream- - refresh always-cythonize.patch OBS-URL: https://build.opensuse.org/request/show/903287 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-imagecodecs?expand=0&rev=16
This commit is contained in:
@@ -11,7 +11,8 @@ def customize_build(EXTENSIONS, OPTIONS):
|
||||
del EXTENSIONS['jpeg12'] # jpeg12 requires custom build
|
||||
del EXTENSIONS['lerc'] # LERC library not available
|
||||
del EXTENSIONS['lz4f'] # requires static linking
|
||||
del EXTENSIONS['jpegxl'] # Brunsli library not available
|
||||
del EXTENSIONS['jpegxl'] # jpeg-xl library not available
|
||||
del EXTENSIONS['brunsli'] # Brunsli library not available
|
||||
|
||||
EXTENSIONS['avif']['libraries'] = [
|
||||
'avif',
|
||||
@@ -19,10 +20,13 @@ def customize_build(EXTENSIONS, OPTIONS):
|
||||
'dav1d',
|
||||
'rav1e',
|
||||
]
|
||||
|
||||
|
||||
# no zfp on 32-bit platforms
|
||||
if sys.maxsize < 2**63 - 1:
|
||||
# no zfp on 32-bit platforms
|
||||
del EXTENSIONS['zfp']
|
||||
# avif tests fail on 32-bit
|
||||
del EXTENSIONS['avif']
|
||||
|
||||
|
||||
openjpeg_inc = subprocess.check_output(
|
||||
@@ -30,6 +34,6 @@ def customize_build(EXTENSIONS, OPTIONS):
|
||||
text=True,
|
||||
).strip()
|
||||
EXTENSIONS['jpeg2k']['include_dirs'].append(openjpeg_inc)
|
||||
|
||||
EXTENSIONS['jpegxr']['include_dirs'].append(includedir + 'jxrlib')
|
||||
EXTENSIONS['rcomp']['include_dirs'].append(includedir + 'cfitsio')
|
||||
EXTENSIONS['zopfli']['include_dirs'].append(includedir + 'zopfli')
|
||||
|
Reference in New Issue
Block a user