Description: Fix gpgme -unknown suffix check on debian package 
Author: Angel Abad <angel@debian.org>
Forwarded: not-needed
Last-Update: 2019-10-12

--- almanah-0.12.0.orig/build-aux/gpg_check_version.py
+++ almanah-0.12.0/build-aux/gpg_check_version.py
@@ -7,7 +7,7 @@ import subprocess
 # Should work on the output for `gpg`, `gpg2` and `gpgme-config`.
 def parse_version(gpg_output):
     version_line = gpg_output.splitlines()[0]
-    return version_line.strip().split(' ')[-1]
+    return version_line.strip().split(' ')[-1].replace('-unknown','')
 
 # Checks whether the GPG version is compatible with the given version.
 # For GPG, this means that the major and minor version should be equal;
