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

jtaylor-guest at users.alioth.debian.org jtaylor-guest at users.alioth.debian.org
Wed Dec 12 18:47:42 UTC 2012


    Date: Wednesday, December 12, 2012 @ 18:47:40
  Author: jtaylor-guest
Revision: 23158

ensure that all swig files are regenerated

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

Modified: packages/scipy/trunk/debian/changelog
===================================================================
--- packages/scipy/trunk/debian/changelog	2012-12-12 18:47:26 UTC (rev 23157)
+++ packages/scipy/trunk/debian/changelog	2012-12-12 18:47:40 UTC (rev 23158)
@@ -2,6 +2,7 @@
 
   * add missing cython and swig sources from git tag (Closes: #589731)
   * generate cython c files, requires python-mako and cython build depends
+  * ensure that all swig files are regenerated
   * update debian/orig-tar.sh appropriately
   * interpnd-generator.patch: fix the interpnd.pyx generation
 

Modified: packages/scipy/trunk/debian/rules
===================================================================
--- packages/scipy/trunk/debian/rules	2012-12-12 18:47:26 UTC (rev 23157)
+++ packages/scipy/trunk/debian/rules	2012-12-12 18:47:40 UTC (rev 23158)
@@ -18,9 +18,20 @@
 	find . -name "*.pyc" -exec rm {} \;
 
 override_dh_auto_configure:
-	find . -name "*.pyx" | xargs cython
+	find scipy -name "*.pyx" | xargs cython
 	cd scipy/spatial/ && python generate_qhull.py
 	cd scipy/interpolate && python generate_interpnd.py
+	# needed for > 0.11
+	#cd scipy/special && python generate_ufuncs.py
+	# umfpack.i is rebuild by setup.py
+	# numpy.i and sparetools.i are included in the other sparsetools/*.i
+	swig -python -c++ scipy/sparse/sparsetools/dia.i
+	swig -python -c++ scipy/sparse/sparsetools/csr.i
+	swig -python -c++ scipy/sparse/sparsetools/csgraph.i
+	swig -python -c++ scipy/sparse/sparsetools/csc.i
+	swig -python -c++ scipy/sparse/sparsetools/coo.i
+	swig -python -c++ scipy/sparse/sparsetools/bsr.i
+	swig -python -c++ scipy/weave/examples/swig2_ext.i
 
 build-python%:
 	python$* setup.py config_fc --noarch build;




More information about the Python-modules-commits mailing list