[Python-modules-commits] r6436 - in packages/soya/trunk/debian (3 files)
bernat at users.alioth.debian.org
bernat at users.alioth.debian.org
Mon Sep 1 18:55:01 UTC 2008
Date: Monday, September 1, 2008 @ 18:54:59
Author: bernat
Revision: 6436
Add a patch to force compilation of pyrex files
Added:
packages/soya/trunk/debian/patches/enable_pyrex
Modified:
packages/soya/trunk/debian/changelog
packages/soya/trunk/debian/patches/series
Modified: packages/soya/trunk/debian/changelog
===================================================================
--- packages/soya/trunk/debian/changelog 2008-09-01 18:38:45 UTC (rev 6435)
+++ packages/soya/trunk/debian/changelog 2008-09-01 18:54:59 UTC (rev 6436)
@@ -5,6 +5,8 @@
* Add VCS fields in debian/control.
* Switch to Standards-Version 3.8.0. No changes required.
* Remove unneeded debian/pycompat.
+ * Add a patch to enable pyrex compilation even if we don't compile from
+ SVN.
-- Vincent Bernat <bernat at debian.org> Mon, 01 Sep 2008 20:35:01 +0200
@@ -32,7 +34,6 @@
* Avoided duplicate font 'FreeSans.ttf' by adding a depends on 'ttf-
freefont' and a symlink to replace the upstream file (patch
suggested by Jérôme Guelfucci) (Closes: #459202).
- ).
-- Marc Dequènes (Duck) <Duck at DuckCorp.org> Sun, 02 Mar 2008 18:46:32 +0100
Added: packages/soya/trunk/debian/patches/enable_pyrex
===================================================================
--- packages/soya/trunk/debian/patches/enable_pyrex (rev 0)
+++ packages/soya/trunk/debian/patches/enable_pyrex 2008-09-01 18:54:59 UTC (rev 6436)
@@ -0,0 +1,13 @@
+--- Soya-0.14/setup.py~ 2008-08-29 13:17:36.000000000 +0200
++++ Soya-0.14/setup.py 2008-09-01 20:45:59.000000000 +0200
+@@ -85,10 +85,6 @@
+ except:
+ HAVE_PYREX = 0
+
+-# Only enable Pyrex compilation for SVN sources
+-if not os.path.exists(os.path.join(os.path.dirname(__file__), ".svn")):
+- HAVE_PYREX = 0
+-
+ if HAVE_PYREX: print "Pyrex compilation enabled!"
+ else: print "Pyrex compilation disabled."
+
Modified: packages/soya/trunk/debian/patches/series
===================================================================
--- packages/soya/trunk/debian/patches/series 2008-09-01 18:38:45 UTC (rev 6435)
+++ packages/soya/trunk/debian/patches/series 2008-09-01 18:54:59 UTC (rev 6436)
@@ -1,3 +1,4 @@
no_bytecompilation
useless_shebang
openal_sound_autodetect
+enable_pyrex
More information about the Python-modules-commits
mailing list