Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Kacper Kowalik (xarthisius)" <xarthisius@g.o>
Subject: gentoo-x86 commit in sci-libs/scipy/files: scipy-0.8.0-python2.7.patch scipy-0.7.2-python2.7.patch
Date: Tue, 3 Aug 2010 13:40:45 +0000 (UTC)
xarthisius    10/08/03 13:40:45

  Added:                scipy-0.8.0-python2.7.patch
                        scipy-0.7.2-python2.7.patch
  Log:
  Apply upstream patches to fix build with python2.7. Fixes bug 321587
  (Portage version: 2.2_rc67/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  sci-libs/scipy/files/scipy-0.8.0-python2.7.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/scipy/files/scipy-0.8.0-python2.7.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/scipy/files/scipy-0.8.0-python2.7.patch?rev=1.1&content-type=text/plain

Index: scipy-0.8.0-python2.7.patch
===================================================================
http://projects.scipy.org/scipy/changeset/6646

--- scipy/sparse/sparsetools/setup.py
+++ scipy/sparse/sparsetools/setup.py
@@ -9,7 +9,9 @@
     for fmt in ['csr','csc','coo','bsr','dia']:
         sources = [ fmt + '_wrap.cxx' ]
         depends = [ fmt + '.h' ]
-        config.add_extension('_' + fmt, sources=sources, depends=depends)
+        config.add_extension('_' + fmt, sources=sources,
+            define_macros=[('__STDC_FORMAT_MACROS', 1)],
+            depends=depends)
 
     return config
 
--- scipy/sparse/sparsetools/SConscript
+++ scipy/sparse/sparsetools/SConscript
@@ -3,6 +3,7 @@
 from numscons import GetNumpyEnvironment
 
 env = GetNumpyEnvironment(ARGUMENTS)
+env.PrependUnique(CPPDEFINES = '__STDC_FORMAT_MACROS')
 
 for fmt in ['csr','csc','coo','bsr','dia']:
     sources = [ fmt + '_wrap.cxx' ]



1.1                  sci-libs/scipy/files/scipy-0.7.2-python2.7.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/scipy/files/scipy-0.7.2-python2.7.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/scipy/files/scipy-0.7.2-python2.7.patch?rev=1.1&content-type=text/plain

Index: scipy-0.7.2-python2.7.patch
===================================================================
http://projects.scipy.org/scipy/changeset/6645

--- scipy/sparse/sparsetools/setup.py
+++ scipy/sparse/sparsetools/setup.py
@@ -8,7 +8,10 @@
 
     for fmt in ['csr','csc','coo','bsr','dia']:
         sources = [ fmt + '_wrap.cxx' ]
-        config.add_extension('_' + fmt, sources=sources)
+        depends = [ fmt + '.h' ]
+        config.add_extension('_' + fmt, sources=sources,
+		define_macros=[('__STDC_FORMAT_MACROS', 1)],
+		depends=depends)
 
     return config
 
--- scipy/sparse/sparsetools/SConscript
+++ scipy/sparse/sparsetools/SConscript
@@ -3,6 +3,7 @@
 from numscons import GetNumpyEnvironment
 
 env = GetNumpyEnvironment(ARGUMENTS)
+env.PrependUnique(CPPDEFINES = '__STDC_FORMAT_MACROS')
 
 for fmt in ['csr','csc','coo','bsr','dia']:
     sources = [ fmt + '_wrap.cxx' ]





Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo commit in src/patchsets/mozilla-thunderbird/3.1.1: 1002-fix_double_buffer.diff 1002-fix_double_buffer.patch 1005-fix-disable-printing.patch
Next by thread:
gentoo-x86 commit in sci-libs/scipy: ChangeLog scipy-0.7.2-r1.ebuild scipy-0.8.0.ebuild
Previous by date:
gentoo-x86 commit in mail-client/thunderbird: ChangeLog thunderbird-3.1.1-r2.ebuild
Next by date:
gentoo-x86 commit in sci-libs/scipy: ChangeLog scipy-0.7.2-r1.ebuild scipy-0.8.0.ebuild


Updated Jun 26, 2012

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.