git-lfs/git-lfs.3.4.0 (git-lfs.3.4.0.eb)
Install with the EasyBuild-user module:
To access module help after installation and get reminded for which stacks and partitions the module is installed, usemodule spider git-lfs/git-lfs.3.4.0
.
EasyConfig:
# author: jg (cscs)
# Ported to LUMI by Kurt Lust (LUST and University of Antwerpen)
easyblock = "Tarball"
name = 'git-lfs'
version = '3.4.0'
homepage = 'https://git-lfs.github.com/'
whatis = [
'Description: Git Large File Storage (LFS) extension for git'
]
description = """
Git Large File Storage (LFS) replaces large files such as
audio samples, videos, datasets, and graphics with text pointers inside Git,
while storing the file contents on a remote server like GitHub.com or GitHub
Enterprise.
"""
toolchain = SYSTEM
source_urls = ['https://github.com/%(name)s/%(name)s/releases/download/v%(version)s/']
sources = ['%(name)s-linux-amd64-v%(version)s.tar.gz']
checksums = ['60b7e9b9b4bca04405af58a2cd5dff3e68a5607c5bc39ee88a5256dd7a07f58c']
# create a bin directory and move the executable there
# remove exec permission for the provided installation script
postinstallcmds = [
"mkdir %(installdir)s/bin && mv %(installdir)s/git-lfs %(installdir)s/bin && chmod og-x %(installdir)s/install.sh"
]
sanity_check_paths = {
'files': ["bin/git-lfs"],
'dirs': ['']
}
sanity_check_commands = [
'git-lfs --version'
]
moduleclass = 'tools'