pkgcore.ebuild.ebuild_src module

package class for buildable ebuilds

class pkgcore.ebuild.ebuild_src.base(parent_repository, *args, **kwds)[source]

Bases: package

ebuild package

Variables:

_config_wrappables – mapping of attribute to callable for re-evaluating attributes dependent on configuration

property P
property PF
property PN

alias to package

property PR
property PV

alias to version

property PVR

alias to fullver

bdepend
create_fetchable_from_uri(chksums, ignore_missing_chksums, ignore_unknown_mirrors, mirrors, default_mirrors, common_files, uri, filename=None)[source]
defined_phases
depend
description
distfiles
eapi
property ebuild
fetchables
fullslot
generate_fetchables(allow_missing_checksums=False, ignore_unknown_mirrors=False, skip_default_mirrors=False)[source]

Generate fetchables object for a package.

homepage
idepend
inherit
inherited
property is_supported

alias to eapi.is_supported

iuse
property iuse_effective

alias to iuse_stripped

property iuse_stripped
keywords
license
property live
property mandatory_phases
property path
pdepend
properties
rdepend
required_use
restrict
slot
property sorted_keywords

Sort keywords with prefix keywords after regular arches.

property source_repository

alias to repo.repo_id

subslot
property tracked_attributes

alias to eapi.tracked_attributes

user_patches
class pkgcore.ebuild.ebuild_src.package(shared_pkg_data, *args, **kwargs)[source]

Bases: base

property environment
property local_use

alias to _shared_pkg_data.metadata_xml.local_use

property longdescription

alias to _shared_pkg_data.metadata_xml.longdescription

property maintainers

alias to _shared_pkg_data.metadata_xml.maintainers

property manifest

alias to _shared_pkg_data.manifest

property stabilize_allarches

alias to _shared_pkg_data.metadata_xml.stabilize_allarches

property upstreams

alias to _shared_pkg_data.metadata_xml.upstreams

class pkgcore.ebuild.ebuild_src.package_factory(parent, cachedb, eclass_cache, mirrors, default_mirrors, *args, **kwargs)[source]

Bases: factory

child_class

alias of package

get_ebuild_src(pkg)[source]
new_package(*args)[source]

generate a new package instance

priority = 5