From f1f341062e24724e26928d893dd5769d3ccf5fa2 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Wed, 9 Nov 2016 13:56:00 +0100 Subject: [PATCH] python: Require at least GPGME 1.7 for out-of-tree builds. * lang/python/setup.py.in: Bump required version to 1.7. Signed-off-by: Justus Winter --- lang/python/setup.py.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/python/setup.py.in b/lang/python/setup.py.in index 3d0b7305..9669c285 100755 --- a/lang/python/setup.py.in +++ b/lang/python/setup.py.in @@ -75,8 +75,8 @@ if '-' in version: version = version.split('-')[0] major, minor, patch = map(int, version.split('.')) -if not (major > 1 or (major == 1 and minor >= 6)): - sys.exit('Need at least GPGME version 1.6, found {}.'.format(version_raw)) +if not (major > 1 or (major == 1 and minor >= 7)): + sys.exit('Need at least GPGME version 1.7, found {}.'.format(version_raw)) if not gpgme_h: gpgme_h = os.path.join(getconfig("prefix")[0], "include", "gpgme.h")