[git] GPGME - branch, master, updated. gpgme-1.9.0-40-g84a203e

by Justus Winter cvs at cvs.gnupg.org
Thu May 18 12:23:40 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  84a203e60b9935bd8536cd2832fbc55d7f011341 (commit)
      from  a9b4c0ad0d1085ff76742e44cf0cf926e89d1f4c (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 84a203e60b9935bd8536cd2832fbc55d7f011341
Author: Justus Winter <justus at g10code.com>
Date:   Thu May 18 11:42:13 2017 +0200

    python: Fix build in certain cases.
    
    * lang/python/setup.py.in: Prepend the Python build dir to the list of
    include directories so that it takes precedence over any other include
    directory.
    --
    Fixes the build in case an older 'gpgme.h' is installed and is picked
    up by the compiler when compiling the Python module.
    
    Signed-off-by: Justus Winter <justus at g10code.com>

diff --git a/lang/python/setup.py.in b/lang/python/setup.py.in
index a1279f8..f9dda20 100755
--- a/lang/python/setup.py.in
+++ b/lang/python/setup.py.in
@@ -223,7 +223,7 @@ class BuildExtFirstHack(build):
         swig_sources.extend((self._in_build_base('gpgme.i'), self._in_build_base('helpers.c')))
         swig_opts.extend(['-I' + self.build_base,
                           '-outdir', os.path.join(self.build_lib, 'gpg')])
-        include_dirs.append(self.build_base)
+        include_dirs.insert(0, self.build_base)
 
         self.run_command('build_ext')
         build.run(self)

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

Summary of changes:
 lang/python/setup.py.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


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




More information about the Gnupg-commits mailing list