Skip to content

utilities

Various utilities related to packaging support.

Authors:

  • Marc Litherland (Novartis)
  • Gianluca Santarossa (Novartis)
  • Robert Schmidt (The Ottawa Hospital, Research Institute)
  • Fotis Georgatos (Uni.Lu, NTUA)
  • Kenneth Hoste (Ghent University)

ActivePNS

Bases: BaseActivePNS

The wrapper class for Package Naming Schemes.

__init__()

Initialize logger and find available PNSes to load

name(easyconfig)

Determine package name

release(easyconfig)

Determine package release

version(easyconfig)

Determine package version

avail_package_naming_schemes()

Returns the list of valed naming schemes They are loaded from the easybuild.package.package_naming_scheme namespace

check_pkg_support()

Check whether packaging is possible, if required dependencies are available.

package(easyblock)

Package installed software, according to active packaging configuration settings.

package_with_fpm(easyblock)

This function will build a package using fpm and return the directory where the packages are