# IT4Innovations # LK 2021 easyblock = 'PythonPackage' name = 'magic' version = '0.4.24' versionsuffix = '-Python-%(pyver)s' homepage = "http://github.com/ahupp/python-magic" description = """python-magic is a Python interface to the libmagic file type identification library. libmagic identifies file types by checking their headers according to a predefined list of file types. This functionality is exposed to the command line by the Unix command file.""" toolchain = {'name': 'GCCcore', 'version': '10.2.0'} source_urls = ["https://github.com/ahupp/python-magic/archive/refs/tags/"] sources = ['%(version)s.tar.gz'] dependencies = [ ('Python', '3.8.6'), ] download_dep_fail = True use_pip = True sanity_check_paths = { 'files': [], 'dirs': ['lib/python%(pyshortver)s/site-packages/'], } moduleclass = 'lib'