# IT4Innovations # LK 2022 easyblock = 'PythonPackage' name = 'Pillow-SIMD' version = '7.1.2' homepage = 'https://github.com/uploadcare/pillow-simd' description = """Pillow is the 'friendly PIL fork' by Alex Clark and Contributors. PIL is the Python Imaging Library by Fredrik Lundh and Contributors.""" toolchain = {'name': 'GCCcore', 'version': '10.2.0'} source_urls = ['https://github.com/uploadcare/pillow-simd/archive/'] sources = ['%(version)s.tar.gz'] patches = ['Pillow-8_CVE-2021-23437.patch'] checksums = [ '72e1c9d48543531f5fc04594fa330d1111ecc2ac04a9bcda0c6ad3abe6a616aa', # 7.1.2.tar.gz '12bac0ff4f815d1e60ed129106c2990c8c6157891fd90ec8aaec88a5a642d521', # Pillow-8_CVE-2021-23437.patch ] builddependencies = [('binutils', '2.35')] dependencies = [ ('Python', '3.8.6'), ('libjpeg-turbo', '2.0.5'), ('libpng', '1.6.37'), ('zlib', '1.2.11'), ('LibTIFF', '4.1.0'), ('freetype', '2.10.3') ] use_pip = True download_dep_fail = True options = {'modulename': 'PIL'} sanity_check_paths = { 'files': [], 'dirs': ['lib/python%(pyshortver)s/site-packages/PIL'], } sanity_pip_check = False moduleclass = 'vis'