pkgcore.package.metadata module

package with its metadata accessible (think ‘no longer abstract’)

pkgcore.package.metadata.DeriveMetadataKls(original_kls)[source]
class pkgcore.package.metadata.factory(parent_repo)[source]

Bases: object

package generator

does weakref caching per repository

Variables:

child_class – callable to generate packages

child_class

alias of package

clear()[source]

wipe the weakref cache of packages instances

new_package(*args)[source]

generate a new package instance

class pkgcore.package.metadata.package(parent_repository, *args, **kwds)

Bases: VersionedCPV

add_format_triggers(op_inst, format_op_inst, engine_inst)
built = False
data
immutable = True
package_is_real = True
release_cached_data(all=False)
property repo

alias to _parent._parent_repo

property slotted_atom