forked from pool/python-imagecodecs
Markéta Machová
3468cf65fd
- 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
30 lines
975 B
Diff
30 lines
975 B
Diff
Index: imagecodecs-2022.12.24/setup.py
|
|
===================================================================
|
|
--- imagecodecs-2022.12.24.orig/setup.py
|
|
+++ imagecodecs-2022.12.24/setup.py
|
|
@@ -85,7 +85,7 @@ def ext(**kwargs):
|
|
extra_link_args=[],
|
|
depends=[],
|
|
cython_compile_time_env={},
|
|
- cythonize=False,
|
|
+ cythonize=True,
|
|
)
|
|
d.update(kwargs)
|
|
return d
|
|
@@ -106,13 +106,13 @@ OPTIONS = {
|
|
'extra_link_args': [],
|
|
'depends': ['imagecodecs/_shared.pxd'],
|
|
'cython_compile_time_env': {},
|
|
- 'cythonize': False, # sys.version_info >= (3, 11)
|
|
+ 'cythonize': True, # sys.version_info >= (3, 11)
|
|
}
|
|
|
|
EXTENSIONS = {
|
|
'shared': ext(
|
|
cython_compile_time_env={'IS_PYPY': 'PyPy' in sys.version},
|
|
- cythonize='PyPy' in sys.version,
|
|
+ cythonize=True, #'PyPy' in sys.version,
|
|
),
|
|
'imcd': ext(sources=['imagecodecs/imcd.c']),
|
|
'aec': ext(libraries=['aec']),
|