[Python-modules-commits] r23112 - in packages/scipy/trunk/debian (changelog control rules)

jtaylor-guest at users.alioth.debian.org jtaylor-guest at users.alioth.debian.org
Thu Nov 29 23:33:08 UTC 2012


    Date: Thursday, November 29, 2012 @ 23:33:06
  Author: jtaylor-guest
Revision: 23112

generate cython c files, requires python-mako and cython build depends

Modified:
  packages/scipy/trunk/debian/changelog
  packages/scipy/trunk/debian/control
  packages/scipy/trunk/debian/rules

Modified: packages/scipy/trunk/debian/changelog
===================================================================
--- packages/scipy/trunk/debian/changelog	2012-11-29 22:34:44 UTC (rev 23111)
+++ packages/scipy/trunk/debian/changelog	2012-11-29 23:33:06 UTC (rev 23112)
@@ -1,6 +1,7 @@
 python-scipy (0.10.1+dfsg2-1) unstable; urgency=low
 
   * add missing cython sources from git tag (Closes: #589731)
+  * generate cython c files, requires python-mako and cython build depends
   * update debian/orig-tar.sh appropriately
   * interpnd-generator.patch: fix the interpnd.pyx generation
 

Modified: packages/scipy/trunk/debian/control
===================================================================
--- packages/scipy/trunk/debian/control	2012-11-29 22:34:44 UTC (rev 23111)
+++ packages/scipy/trunk/debian/control	2012-11-29 23:33:06 UTC (rev 23112)
@@ -6,13 +6,15 @@
            Ondrej Certik <ondrej at certik.cz>,
            David Cournapeau <cournape at gmail.com>,
            Varun Hiremath <varun at debian.org>
-Build-Depends: debhelper (>= 7.0.50~),
+Build-Depends: cython,
+               debhelper (>= 7.0.50~),
                gfortran,
                libblas-dev | libatlas-base-dev,
                liblapack-dev | libatlas-base-dev,
                libsuitesparse-dev (>= 3.1.0-3),
                python-all-dbg (>= 2.5.4-1~),
                python-all-dev (>= 2.6.6-3~),
+               python-mako,
                python-numpy (>= 1:1.5.1),
                python-numpy-dbg (>= 1:1.5.1),
                python3-all-dbg,

Modified: packages/scipy/trunk/debian/rules
===================================================================
--- packages/scipy/trunk/debian/rules	2012-11-29 22:34:44 UTC (rev 23111)
+++ packages/scipy/trunk/debian/rules	2012-11-29 23:33:06 UTC (rev 23112)
@@ -17,6 +17,11 @@
 	rm -rf build
 	find . -name "*.pyc" -exec rm {} \;
 
+override_dh_auto_configure:
+	find . -name "*.pyx" | xargs cython
+	cd scipy/spatial/ && python generate_qhull.py
+	cd scipy/interpolate && python generate_interpnd.py
+
 build-python%:
 	python$* setup.py config_fc --noarch build;
 	CFLAGS="-g -ggdb" python$*-dbg setup.py config_fc \




More information about the Python-modules-commits mailing list