# IT4Innovations 2023
# JK

easyblock = 'RubyGem'

name = 'FPM'
version = '1.15.0'

local_rubyver = '3.0.3'
versionsuffix = '-Ruby-%s' % local_rubyver

homepage = 'https://github.com/jordansissel/fpm'
description = """Effing package management! Build packages for multiple platforms (deb, rpm, etc) with great ease
 and sanity."""

toolchain = SYSTEM

source_urls = ['http://rubygems.org/downloads/']
sources = ['%(namelower)s-%(version)s.gem']
checksums = ['3e16d7f8d53c8110ed91cded79af231adeaf337e1f1e7a91f1bb46c40032f9c8']

dependencies = [('Ruby', local_rubyver)]

sanity_check_paths = {
    'files': ['bin/fpm'],
    'dirs': ['gems/%(namelower)s-%(version)s'],
}

moduleclass = 'tools'
