# JH 2020 easyblock = 'CMakeMake' name = 'TRIQS-hubbardI' version = '3.0.0' versionsuffix = '-Python-%(pyver)s' homepage = 'https://triqs.github.io/hubbardI' description = """ TRIQS (Toolbox for Research on Interacting Quantum Systems) is a scientific project providing a set of C++ and Python libraries to develop new tools for the study of interacting quantum systems. hubbardI = An application using TRIQS to implement a Hubbard-I solver. """ docurls = ['https://triqs.github.io/hubbardI/%(version_major_minor)s.x/'] software_license = 'LicenseGPLv3' toolchain = {'name': 'foss', 'version': '2020a'} toolchainopts = {'pic': True, 'usempi': True} source_urls = ['https://github.com/TRIQS/hubbardI/archive'] sources = ['%(version)s.tar.gz'] dependencies = [ ('Python', '3.8.2'), ('TRIQS', '3.0.0', versionsuffix), ('NFFT', '3.5.2') ] builddependencies = [ ('CMake', '3.16.4') ] separate_build_dir = True runtest = 'test' sanity_check_paths = { 'files': [], 'dirs': ['lib', 'lib/python%(pyshortver)s/site-packages', 'share'], } sanity_check_commands = ["python -c 'import triqs_hubbardI'"] modextrapaths = { 'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages', 'CMAKE_PREFIX_PATH': 'lib/cmake/triqs_hubbardI', } modextravars = { 'TRIQS_HUBBARDI_ROOT': '%(installdir)s', 'TRIQS_HUBBARDI_VERSION': '%(version)s', } moduleclass = 'phys'