pkgcraft.pkg package

Subpackages

Submodules

pkgcraft.pkg.base module

class pkgcraft.pkg.base.Pkg

Bases: Indirect

Generic package.

cpn

Get a package’s category and package.

cpv

Get a package’s Cpv object.

eapi

Get a package’s EAPI.

intersects(self, other)

Determine if a package intersects with another object.

matches(r)

Determine if a restriction matches a package.

p

Get a package’s package and version.

pf

Get a package’s package, version, and revision.

pr

Get a package’s revision or “r0” if no revision exists.

pv

Get a package’s version.

pvr

Get a package’s version and revision.

repo

Get a package’s repo.

version

Get a package’s version.

pkgcraft.pkg.fake module

class pkgcraft.pkg.fake.FakePkg

Bases: Pkg

Generic fake package.

Module contents