pkgcore.binpkg.remote module

remote binpkg support

Currently this primarily just holds the Packages cache used for remote, and local binpkg repositories

class pkgcore.binpkg.remote.PackagesCacheV0(location, *args, **kwds)[source]

Bases: bulk

Cache backend for writing binpkg Packages caches

Note this follows version 0 semantics- not the most efficient, and doesn’t bundle certain useful keys like RESTRICT

deserialized_inheritable = frozenset({'CBUILD', 'CHOST', 'source_repository'})
read_preamble(handle)[source]
update_from_repo(repo)[source]
update_from_xpak(pkg, xpak)[source]
version = 0
class pkgcore.binpkg.remote.PackagesCacheV1(location, *args, **kwds)[source]

Bases: PackagesCacheV0

Cache backend for writing binpkg Packages caches in format version 1.

See PackagesCacheV0 for usage information; this just writes a better ondisk format.

deserialized_inheritable = frozenset({'CBUILD', 'CHOST', 'EAPI', 'KEYWORDS', 'LICENSE', 'RESTRICT', 'SLOT', 'USE', 'source_repository'})
version = 1