pkgcore.sync.tar module

class pkgcore.sync.tar.tar_syncer(basedir, uri, dest=None, **kwargs)[source]

Bases: http_syncer, ExternalSyncer

binary = 'tar'
classmethod parse_uri(raw_uri)[source]

Return the real URI with any protocol prefix stripped.

supported_exts = ('.tar.gz', '.tar.bz2', '.tar.xz')
supported_protocols = ('http://', 'https://')
supported_uris = (('tar+http://', 5), ('tar+https://', 5))