museek+ (1:0.2+svn20100315.r1208-1) 000-Fix_PyMucipher_CFLAGS_handling

Summary

 Mucipher/PyMucipher/setup.py |    4 ++++
 1 file changed, 4 insertions(+)

    
download this patch

Patch contents

#! /bin/sh /usr/share/dpatch/dpatch-run
## 000-Fix_PyMucipher_CFLAGS_handling.dpatch
## by Adam Cécile (Le_Vert) <gandalf@le-vert.net>
##
## DP: PyMucipher will be re-build with its distutils script to get private 
## DP: module built against all supported python versions. Let's fix setup.py 
## DP: to use the defined CFLAGS.

@DPATCH@

diff -u museek+-0.1.13+svn.20070906.r740/Mucipher/PyMucipher/setup.py museek+-0.1.13+svn.20070906.r740/Mucipher/PyMucipher/setup.py.new
--- museek+-0.1.13+svn.20070906.r740/Mucipher/PyMucipher/setup.py	2007-09-06 09:47:31.763403624 +0200
+++ museek+-0.1.13+svn.20070906.r740/Mucipher/PyMucipher/setup.py.new	2007-09-06 09:47:47.764315464 +0200
@@ -3,6 +3,10 @@
 from distutils.core import setup
 from distutils.extension import Extension
 
+from distutils import sysconfig
+sysconfig.get_config_vars()["OPT"] = ''
+sysconfig.get_config_vars()["CFLAGS"] = ''
+
 setup(name                  = "pymucipher",
       version               = version,
       license               = "GPL",