Built-in Variables

From HadronWiki

Jump to: navigation, search

lpms provides some built-in variables to use for packaging tasks.

Contents

name

The package name without category and version number

foo

version

The package version with revision number if the package is revisioned.

4.5.6-r1

fullname

A variable that consists of package name and version with revision number if the package is revisioned.

foo-4.5.6-r1

slot

Slot number of the package. Default value is 0 unless otherwise stated.

For Python 2.7.X

2.7

For Python 3.2.X

3.2

raw_${var}

The built-in variables that they are without revision number.

* raw_version
* raw_fullname
Personal tools