easybuild.framework.easyconfig.licenses module

Easyconfig licenses module that provides all licenses that can be used within an Easyconfig file.

author:Stijn De Weirdt (Ghent University)
author:Kenneth Hoste (Ghent University)
class easybuild.framework.easyconfig.licenses.License

Bases: object

EasyBuild easyconfig license class This is also the default restrictive license

CLASSNAME_PREFIX = 'License'
DESCRIPTION = None
DISTRIBUTE_SOURCE = False
GROUP_BINARY = True
GROUP_SOURCE = True
HIDDEN = False
NAME = None
VERSION = None
name

Return license name.

class easybuild.framework.easyconfig.licenses.LicenseGCC

Bases: easybuild.framework.easyconfig.licenses.LicenseGPLv3

GPLv3 with GCC Runtime Library Exception. Latest GPLv2 GCC release was 4.2.1 (http://gcc.gnu.org/ml/gcc-announce/2007/msg00003.html).

DESCRIPTION = 'The GNU General Public License is a free, copyleft license for software and other kinds of works. The GCC Runtime Library Exception is an additional permission under section 7 of the GNU General Public License, version 3.'
class easybuild.framework.easyconfig.licenses.LicenseGCCOld

Bases: easybuild.framework.easyconfig.licenses.LicenseGPLv2

GPLv2 with GCC Runtime Library Exception for older GCC versions. Latest GPLv2 GCC release was 4.2.1 (http://gcc.gnu.org/ml/gcc-announce/2007/msg00003.html).

DESCRIPTION = 'The GNU General Public License is a free, copyleft license for software and other kinds of works. The GCC Runtime Library Exception is an additional permission under section 7 of the GNU General Public License, version 3.'
class easybuild.framework.easyconfig.licenses.LicenseGPL

Bases: easybuild.framework.easyconfig.licenses.LicenseOpen

Hidden license class to subclass GPL licenses.

DESCRIPTION = 'The GNU General Public License is a free, copyleft license for software and other kinds of works.'
class easybuild.framework.easyconfig.licenses.LicenseGPLv2

Bases: easybuild.framework.easyconfig.licenses.LicenseGPL

GPLv2 license

HIDDEN = False
VERSION = (2,)
class easybuild.framework.easyconfig.licenses.LicenseGPLv3

Bases: easybuild.framework.easyconfig.licenses.LicenseGPLv2

GPLv3 license

VERSION = (3,)
class easybuild.framework.easyconfig.licenses.LicenseLibpng

Bases: easybuild.framework.easyconfig.licenses.LicenseOpen

The PNG license is derived from the zlib license, http://libpng.org/pub/png/src/libpng-LICENSE.txt

DESCRIPTION = 'Permission is granted to use, copy, modify, and distribute the source code, or portions hereof, for any purpose, without fee, subject to 3 restrictions; http://libpng.org/pub/png/src/libpng-LICENSE.txt for full license'
HIDDEN = False
class easybuild.framework.easyconfig.licenses.LicenseOpen

Bases: easybuild.framework.easyconfig.licenses.License

Hidden license class to subclass open licenses. ‘Open’ here means, that source can be redistributed, and that both source and binaries do not need special groups (ie anyone can access/use it).

DISTRIBUTE_SOURCE = True
GROUP_BINARY = False
GROUP_SOURCE = False
HIDDEN = True
class easybuild.framework.easyconfig.licenses.LicenseUnknown

Bases: easybuild.framework.easyconfig.licenses.LicenseVeryRestrictive

A (temporary) license, could be used as default in case nothing was specified

class easybuild.framework.easyconfig.licenses.LicenseVeryRestrictive

Bases: easybuild.framework.easyconfig.licenses.License

Default license should be very restrictive, so nothing to do here, just a placeholder

class easybuild.framework.easyconfig.licenses.LicenseZlib

Bases: easybuild.framework.easyconfig.licenses.LicenseOpen

The zlib License is a permissive free software license http://www.zlib.net/zlib_license.html

DESCRIPTION = 'Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to 3 restrictions; http://www.zlib.net/zlib_license.html for full license'
easybuild.framework.easyconfig.licenses.what_licenses()

Return a dict of License subclasses names and license instances