Created
November 12, 2020 18:03
-
-
Save boegel/5ac5637a187e486b9cff56c716825891 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# to install, use: eb --force-download --try-software-version $(date '+%Y%m%d') EasyBuild-develop.eb | |
easyblock = 'EB_EasyBuildMeta' | |
name = 'EasyBuild' | |
version = '0.0.0' | |
versionsuffix = '-dev' | |
homepage = 'https://easybuilders.github.io/easybuild' | |
description = """EasyBuild is a software build and installation framework | |
written in Python that allows you to install software in a structured, | |
repeatable and robust way.""" | |
toolchain = SYSTEM | |
sources = [ | |
{ | |
'source_urls': ['https://github.com/easybuilders/easybuild-framework/archive/'], | |
'download_filename': 'develop.tar.gz', | |
'filename': 'easybuild-framework-develop.tar.gz', | |
}, | |
{ | |
'source_urls': ['https://github.com/easybuilders/easybuild-easyblocks/archive/'], | |
'download_filename': 'develop.tar.gz', | |
'filename': 'easybuild-easyblocks-develop.tar.gz', | |
}, | |
{ | |
'source_urls': ['https://github.com/easybuilders/easybuild-easyconfigs/archive/'], | |
'download_filename': 'develop.tar.gz', | |
'filename': 'easybuild-easyconfigs-develop.tar.gz', | |
}, | |
] | |
# order matters a lot, to avoid having dependencies auto-resolved (--no-deps easy_install option doesn't work?) | |
# EasyBuild is a (set of) Python packages, so it depends on Python | |
# usually, we want to use the system Python, so no actual Python dependency is listed | |
allow_system_deps = [('Python', SYS_PYTHON_VERSION)] | |
local_pyshortver = '.'.join(SYS_PYTHON_VERSION.split('.')[:2]) | |
sanity_check_paths = { | |
'files': ['bin/eb'], | |
'dirs': ['lib/python%s/site-packages' % local_pyshortver], | |
} | |
moduleclass = 'tools' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment