Package gbp :: Package deb :: Module source :: Class DebianSource
[hide private]
[frames] | no frames]

Class DebianSource

object --+
         |
        DebianSource

A debianized source tree

Querying/setting information in a debianized source tree involves several files. This class provides a common interface.

Instance Methods [hide private]
 
__init__(self, vfs)
x.__init__(...) initializes x; see help(type(x)) for signature
 
is_native(self)
Whether this is a native Debian package

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]
  changelog
Return the gbp.deb.ChangeLog
  sourcepkg
The source package's name
  name
  version
  upstream_version
  debian_version

Inherited from object: __class__

Method Details [hide private]

__init__(self, vfs)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
  • vfs - a class that implemented GbpVFS interfacce or a directory (which will used the DirGbpVFS class.
Overrides: object.__init__

Property Details [hide private]

changelog

Return the gbp.deb.ChangeLog

Get Method:
unreachable.changelog(self) - Return the gbp.deb.ChangeLog

sourcepkg

The source package's name

Get Method:
unreachable.sourcepkg(self) - The source package's name

name

Get Method:
unreachable.name(self)

version

Get Method:
unreachable.version(self)

upstream_version

Get Method:
unreachable.upstream_version(self)

debian_version

Get Method:
unreachable.debian_version(self)