[][src]Enum pkgsrc::summary::SummaryVariable

pub enum SummaryVariable {
    BuildDate,
    Categories,
    Comment,
    Conflicts,
    Depends,
    Description,
    FileCksum,
    FileName,
    FileSize,
    Homepage,
    License,
    MachineArch,
    Opsys,
    OsVersion,
    PkgOptions,
    Pkgname,
    Pkgpath,
    PkgtoolsVersion,
    PrevPkgpath,
    Provides,
    Requires,
    SizePkg,
    Supersedes,
}

Supported pkg_summary(5) variables.

The descriptions here are taken straight from the manual page.

Variants

BuildDate

BUILD_DATE (required). The date and time when the package was built.

Categories

CATEGORIES (required). A list of categories which this package fits in, separated by space.

Comment

COMMENT (required). A one-line description of the package.

Conflicts

CONFLICTS (optional). A list of dewey patterns of packages the package conflicts with, one per line. If missing, this package has no conflicts.

Depends

DEPENDS (optional). A list of dewey patterns of packages the package depends on, one per line. If missing, this package has no dependencies.

Description

DESCRIPTION (required). A more detailed description of the package.

FileCksum

FILE_CKSUM (optional). A checksum type supported by digest(1) and checksum separated by space character.

FileName

FILE_NAME (optional). The name of the binary package file. If not given, PKGNAME.tgz can be assumed.

FileSize

FILE_SIZE (optional). The size of the binary package file, in bytes.

Homepage

HOMEPAGE (optional). A URL where more information about the package can be found.

License

LICENSE (optional). The type of license this package is distributed under. If empty or missing, it is OSI-approved.

MachineArch

MACHINE_ARCH (required). The architecture on which the package was compiled.

Opsys

OPSYS (required). The operating system on which the package was compiled

OsVersion

OS_VERSION (required). The version of the operating system on which the package was compiled.

PkgOptions

PKG_OPTIONS (optional). Any options selected to compile this package. If missing, the package does not support options.

Pkgname

PKGNAME (required). The name of the package.

Pkgpath

PKGPATH (required). The path of the package directory within pkgsrc.

PkgtoolsVersion

PKGTOOLS_VERSION (required). The version of the package tools used to create the package.

PrevPkgpath

PREV_PKGPATH (optional). The previous path of the package directory within pkgsrc when a package was moved. (See SUPERSEDES below for a renamed package.)

Provides

PROVIDES (optional). A list of shared libraries provided by the package, including major version number, one per line. If missing, this package does not provide shared libraries.

Requires

REQUIRES (optional). A list of shared libraries needed by the package, including major version number, one per line. If missing, this package does not require shared libraries.

SizePkg

SIZE_PKG (required). The size of the package when installed, in bytes.

Supersedes

SUPERSEDES (optional). A list of dewey patterns of previous packages this package replaces, one per line. This is used for package renaming.

Trait Implementations

impl Eq for SummaryVariable[src]

impl PartialOrd<SummaryVariable> for SummaryVariable[src]

impl PartialEq<SummaryVariable> for SummaryVariable[src]

impl Ord for SummaryVariable[src]

impl Hash for SummaryVariable[src]

impl Debug for SummaryVariable[src]

impl Display for SummaryVariable[src]

impl FromStr for SummaryVariable[src]

type Err = SummaryError

The associated error which can be returned from parsing.

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]