provides some debian source package related helpers

Module changelog A Debian Changelog
Module control A Debian Control file
Module dscfile provides some debian source package related helpers
Module format Parse debian/source/format
Module git A Git Repository that keeps a Debian Package
Module policy Debian Packaging policies
Module pristinetar Handle checkin and checkout of archives from the pristine-tar branch
Module source provides some debian source package related helpers
Module upstreamsource Debian-specific upstream sources
Module uscan Interface to uscan

From the __init__.py module:

Class DpkgCompareVersions No class docstring; 0/1 class variables, 0/1 instance variables, 1/2 methods documented
Function compare_versions compares to Debian versionnumbers suitable for sort()
Function get_arch Undocumented
Function orig_file The name of the orig file belonging to changelog cp
Function parse_changelog_repo Parse the changelog file from given branch in the git repository.
def parse_changelog_repo(repo, branch, filename):

Parse the changelog file from given branch in the git repository.

FIXME: this should use *Vfs methods

def orig_file(cp, compression):

The name of the orig file belonging to changelog cp

>>> orig_file({'Source': 'foo', 'Upstream-Version': '1.0'}, "bzip2")
'foo_1.0.orig.tar.bz2'
>>> orig_file({'Source': 'bar', 'Upstream-Version': '0.0~git1234'}, "xz")
'bar_0.0~git1234.orig.tar.xz'
def get_arch():
Undocumented
def compare_versions(version1, version2):

compares to Debian versionnumbers suitable for sort()

API Documentation for git-buildpackage, generated by pydoctor at 2021-05-14 08:50:00.