Skip to content

Instantly share code, notes, and snippets.

@SebastianAchilles
Forked from boegel/EasyBuild-develop.eb
Created January 7, 2021 15:51
Show Gist options
  • Save SebastianAchilles/e7f6b1540d150a715817fd0fc71314da to your computer and use it in GitHub Desktop.
Save SebastianAchilles/e7f6b1540d150a715817fd0fc71314da to your computer and use it in GitHub Desktop.
# 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