unicore-uftp/1.8.0-Java-21 (unicore-uftp-1.8.0-Java-21.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 unicore-uftp/1.8.0-Java-21
.
EasyConfig:
easyblock = 'PackedBinary'
name = 'unicore-uftp'
version = '1.8.0'
versionsuffix = '-Java-%(javaver)s'
homepage = 'https://github.com/UNICORE-EU'
whatis = [
'Description: UNICORE client for UFTP (Java-based)'
]
description = """
This module provides the UNICORE Java-based client for UFTP.
This is offered as-is as we have no access to a UFTP server to test the
package. There are also no plans to offer a UFTP server service on LUMI.
"""
docurls = [
'Web-based manual: https://uftp-docs.readthedocs.io/en/latest/user-docs/uftp-client/index.html'
]
toolchain = SYSTEM
# https://github.com/UNICORE-EU/uftp-javaclient/releases/download/1.8.0/uftp-client-1.8.0-all.zip
source_urls = ['https://github.com/UNICORE-EU/uftp-javaclient/releases/download/%(version)s']
sources = ['uftp-client-%(version)s-all.zip']
checksums = ['ff7c5f2f85129b9cdb977d3314d12408c710addf7e92a37e44be6a4cfff0b355']
dependencies = [
('Java', '21', '', SYSTEM)
]
postinstallcmds = [
'chmod +x %(installdir)s/bin/uftp',
'mkdir -p %(installdir)s/share/licenses/%(name)s && cd %(installdir)s && mv CHANGES.md LICENSE README %(installdir)s/share/licenses/%(name)s'
]
sanity_check_paths = {
'files': ['bin/uftp'],
'dirs': ['bin', 'lib'],
}
sanity_check_commands = [
('uftp', '--version'),
('uftp', '--help'),
]
moduleclass = 'tools'