daklib.srcformats¶
Helper functions for the various source formats
@contact: Debian FTPMaster <ftpmaster@debian.org> @copyright: 2009, 2010 Joerg Jaspert <joerg@debian.org> @copyright: 2009 Chris Lamb <lamby@debian.org> @license: GNU General Public License version 2 or later
Functions
Returns the SourceFormat class that corresponds to the specified .changes Format value. |
Classes
|
|
|
|
|
|
|
- class daklib.srcformats.FormatOne(name, bases, attrs)[source]¶
- disallowed = ('debian_tar', 'more_orig_tar')¶
- format = '1\\.0'¶
- name = '1.0'¶
- re_format = re.compile('1\\.0')¶
- requires = ()¶
- class daklib.srcformats.FormatThree(name, bases, attrs)[source]¶
- disallowed = ('orig_tar', 'debian_diff', 'debian_tar', 'more_orig_tar')¶
- format = '3\\.\\d+ \\(native\\)'¶
- name = '3.x (native)'¶
- re_format = re.compile('3\\.\\d+ \\(native\\)')¶
- requires = ('native_tar',)¶
- class daklib.srcformats.FormatThreeQuilt(name, bases, attrs)[source]¶
- disallowed = ('debian_diff', 'native_tar')¶
- format = '3\\.\\d+ \\(quilt\\)'¶
- name = '3.x (quilt)'¶
- re_format = re.compile('3\\.\\d+ \\(quilt\\)')¶
- requires = ('orig_tar', 'debian_tar')¶