[git] GPGME - branch, master, updated. gpgme-1.9.0-24-gd785c05

by Alon Bar-Lev cvs at cvs.gnupg.org
Tue Apr 11 10:23:09 CEST 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnuPG Made Easy".

The branch, master has been updated
       via  d785c053a982bddefd7014dc6856d1af345fe9fb (commit)
      from  63bec9f48666d811b65e2ef5cc63f8b731249088 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d785c053a982bddefd7014dc6856d1af345fe9fb
Author: Alon Bar-Lev <alon.barlev at gmail.com>
Date:   Tue Apr 11 01:55:13 2017 +0300

    python: fix run-tests missing python_libdir
    
    * lang/python/tests/run-tests.py: Set python_libdir if --python-libdir
    is set.
    
    Signed-off-by: Alon Bar-Lev <alon.barlev at gmail.com>

diff --git a/lang/python/tests/run-tests.py b/lang/python/tests/run-tests.py
index 78a0ec2..95df197 100644
--- a/lang/python/tests/run-tests.py
+++ b/lang/python/tests/run-tests.py
@@ -72,7 +72,9 @@ for interpreter in args.interpreters:
     version = subprocess.check_output(
         [interpreter, "-c", "import sys; print('{0}.{1}'.format(sys.version_info[0], sys.version_info[1]))"]).strip().decode()
 
-    if not args.python_libdir:
+    if args.python_libdir:
+        python_libdir = args.python_libdir
+    else:
         pattern = os.path.join(args.builddir, "..",
                                "{0}-gpg".format(os.path.basename(interpreter)),
                                "lib*")

-----------------------------------------------------------------------

Summary of changes:
 lang/python/tests/run-tests.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
GnuPG Made Easy
http://git.gnupg.org




More information about the Gnupg-commits mailing list