aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2019-10-26 15:47:25 +0200
committerGuido Günther <agx@sigxcpu.org>2019-10-27 11:34:49 +0100
commit10b845b7307e757cbe2fa5a6f3dd27a46ddc4fc4 (patch)
tree4073a2a976c9c09200765d30f4df3e26fa90befb
parentff9ff7e2b54785acc733da2ca78d0da15bb5d681 (diff)
UpstreamSource: expose signature
-rw-r--r--gbp/pkg/upstreamsource.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/gbp/pkg/upstreamsource.py b/gbp/pkg/upstreamsource.py
index f04d5675..a312c3bb 100644
--- a/gbp/pkg/upstreamsource.py
+++ b/gbp/pkg/upstreamsource.py
@@ -44,6 +44,7 @@ class UpstreamSource(object):
self._pkg_policy = pkg_policy
self._path = name
self.unpacked = unpacked
+ self._sig = sig
self._check_orig()
if self.is_dir():
@@ -93,6 +94,10 @@ class UpstreamSource(object):
def path(self):
return self._path.rstrip('/')
+ @property
+ def signaturefile(self):
+ return self._sig
+
def unpack(self, dir, filters=None):
"""
Unpack packed upstream sources into a given directory