Upstream source. Can be either an unpacked dir, a tarball or another
type or archive
|
__init__(self,
name,
unpacked=None)
x.__init__(...) initializes x; see help(type(x)) for signature |
|
|
|
_check_orig(self)
Check if archive can be used as orig tarball |
|
|
|
unpack(self,
dir,
filters=[ ] )
Unpack packed upstream sources into a given directory and determine
the toplevel of the source tree. |
|
|
|
_unpack_archive(self,
dir,
filters)
Unpack packed upstream sources into a given directory. |
|
|
|
|
|
_unpacked_toplevel(self,
dir)
unpacked archives can contain a leading directory not |
|
|
|
_unpack_tar(self,
dir,
filters)
unpack a .orig.tar.gz to tmpdir, leave the cleanup to the caller in
case of an error |
|
|
UpstreamSource
|
pack(self,
newarchive,
filters=[ ] )
recreate a new archive from the current one |
|
|
|
guess_version(self,
extra_regex='
' )
Guess the package name and version from the filename of an upstream
archive. |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|