diff options
author | Guido Günther <agx@sigxcpu.org> | 2016-07-03 19:41:26 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2016-07-04 14:09:58 +0200 |
commit | d681e932b63a21aeaa7d07f4bfb533b583e4c1ae (patch) | |
tree | 4f04c067c610426d253a0b1c03cc6cc810a89f31 /gbp/deb/__init__.py | |
parent | 7621268d39080f467f30465f4955b7c85fe37bca (diff) |
Use 'component' and 'additional tarball'
since this is what dpkg-source(1) uses.
Git-Dch: Ignore
Diffstat (limited to 'gbp/deb/__init__.py')
-rw-r--r-- | gbp/deb/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gbp/deb/__init__.py b/gbp/deb/__init__.py index 234d781..b3b8225 100644 --- a/gbp/deb/__init__.py +++ b/gbp/deb/__init__.py @@ -80,7 +80,7 @@ def parse_changelog_repo(repo, branch, filename): return ChangeLog(repo.show(sha)) -def orig_file(cp, compression, subtarball=None): +def orig_file(cp, compression, component=None): """ The name of the orig file belonging to changelog cp @@ -88,13 +88,13 @@ def orig_file(cp, compression, subtarball=None): 'foo_1.0.orig.tar.bz2' >>> orig_file({'Source': 'bar', 'Upstream-Version': '0.0~git1234'}, "xz") 'bar_0.0~git1234.orig.tar.xz' - >>> orig_file({'Source': 'bar', 'Upstream-Version': '0.0~git1234'}, "xz", subtarball="sub1") + >>> orig_file({'Source': 'bar', 'Upstream-Version': '0.0~git1234'}, "xz", component="sub1") 'bar_0.0~git1234.orig-sub1.tar.xz' """ return DebianPkgPolicy.build_tarball_name(cp['Source'], cp['Upstream-Version'], compression, - subtarball=subtarball) + component=component) def get_arch(): |