[Reproducible-commits] [debbindiff] 04/05: Also use tool_required for gpg and make it a Recommends

Jérémy Bobbio lunar at moszumanska.debian.org
Fri Mar 27 17:49:54 UTC 2015


This is an automated email from the git hooks/post-receive script.

lunar pushed a commit to annotated tag 12
in repository debbindiff.

commit 34ec9ac83a06b404c07aa9163df8a3849d92f2b1
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Fri Mar 27 18:35:38 2015 +0100

    Also use tool_required for gpg and make it a Recommends
---
 debbindiff/changes.py | 3 ++-
 debian/control        | 3 +--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/debbindiff/changes.py b/debbindiff/changes.py
index 629b337..cd236af 100644
--- a/debbindiff/changes.py
+++ b/debbindiff/changes.py
@@ -46,7 +46,7 @@ import os.path
 import hashlib
 import subprocess
 from debian import deb822
-from debbindiff import logger
+from debbindiff import logger, tool_required
 
 
 class ChangesFileException(Exception):
@@ -241,6 +241,7 @@ class Changes(object):
         else:
             logger.info("Not checking signature")
 
+    @tool_required('gpg')
     def validate_signature(self, check_signature=True):
         """
         Validate the GPG signature of a .changes file.
diff --git a/debian/control b/debian/control
index 15ba569..62274a6 100644
--- a/debian/control
+++ b/debian/control
@@ -19,8 +19,7 @@ Vcs-Browser: https://anonscm.debian.org/cgit/reproducible/debbindiff.git
 
 Package: debbindiff
 Architecture: all
-Depends: gnupg,
-         ${misc:Depends},
+Depends: ${misc:Depends},
          ${python:Depends},
 Recommends: ${debbindiff:Recommends}
 Description: highlight differences between two builds of Debian packages

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/debbindiff.git



More information about the Reproducible-commits mailing list