~doko/python/pkg3.3-debian

« back to all changes in this revision

Viewing changes to patches/distutils-sysconfig.diff

  • Committer: Matthias Klose
  • Date: 2013-03-30 17:09:38 UTC
  • Revision ID: doko@ubuntu.com-20130330170938-0npd4e8aioare322
python3.3 (3.3.1~rc1-2) experimental; urgency=low

  * Fix byte-compiliation/-removal for the split-out library packages.
    LP: #1160944.

 -- Matthias Klose <doko@debian.org>  Sat, 30 Mar 2013 13:36:40 +0100

python3.3 (3.3.1~rc1-1) experimental; urgency=low

  * Python 3.3.1 release candidate 1.

 -- Matthias Klose <doko@debian.org>  Tue, 26 Mar 2013 10:45:37 +0100

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
===================================================================
7
7
--- a/Lib/distutils/sysconfig.py
8
8
+++ b/Lib/distutils/sysconfig.py
9
 
@@ -190,9 +190,11 @@
 
9
@@ -194,9 +194,11 @@
10
10
                 _osx_support.customize_compiler(_config_vars)
11
11
                 _config_vars['CUSTOMIZED_OSX_COMPILER'] = 'True'
12
12
 
13
 
-        (cc, cxx, opt, cflags, ccshared, ldshared, so_ext, ar, ar_flags) = \
14
 
+        (cc, cxx, opt, cflags, ccshared, ldshared, so_ext, ar, ar_flags,
 
13
-        (cc, cxx, opt, cflags, ccshared, ldshared, shlib_suffix, ar, ar_flags) = \
 
14
+        (cc, cxx, opt, cflags, ccshared, ldshared, shlib_suffix, ar, ar_flags,
15
15
+         configure_cppflags, configure_cflags, configure_ldflags) = \
16
16
             get_config_vars('CC', 'CXX', 'OPT', 'CFLAGS',
17
 
-                            'CCSHARED', 'LDSHARED', 'SO', 'AR', 'ARFLAGS')
18
 
+                            'CCSHARED', 'LDSHARED', 'SO', 'AR', 'ARFLAGS',
 
17
-                            'CCSHARED', 'LDSHARED', 'SHLIB_SUFFIX', 'AR', 'ARFLAGS')
 
18
+                            'CCSHARED', 'LDSHARED', 'SHLIB_SUFFIX', 'AR', 'ARFLAGS',
19
19
+                            'CONFIGURE_CPPFLAGS', 'CONFIGURE_CFLAGS', 'CONFIGURE_LDFLAGS')
20
20
 
21
21
         newcc = None
22
22
         if 'CC' in os.environ:
23
 
@@ -207,13 +209,22 @@
 
23
@@ -211,13 +213,22 @@
24
24
             cpp = cc + " -E"           # not always
25
25
         if 'LDFLAGS' in os.environ:
26
26
             ldshared = ldshared + ' ' + os.environ['LDFLAGS']