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

jtaylor-guest at users.alioth.debian.org jtaylor-guest at users.alioth.debian.org
Tue Jan 14 23:45:07 UTC 2014


    Date: Tuesday, January 14, 2014 @ 23:45:06
  Author: jtaylor-guest
Revision: 27231

build depend on cython and cythonize mtrand.pyx (Closes: #710177)

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

Modified: packages/numpy/trunk/debian/changelog
===================================================================
--- packages/numpy/trunk/debian/changelog	2014-01-14 19:56:39 UTC (rev 27230)
+++ packages/numpy/trunk/debian/changelog	2014-01-14 23:45:06 UTC (rev 27231)
@@ -4,6 +4,7 @@
     and distutils (Closes: #695881)
   * use dh_python2 instead of deprecated pysupport
   * 50_search-multiarch-paths.patch: drop, applied upstream
+  * build depend on cython and cythonize mtrand.pyx (Closes: #710177)
 
  -- Julian Taylor <jtaylor.debian at googlemail.com>  Sat, 11 Jan 2014 18:39:03 +0100
 

Modified: packages/numpy/trunk/debian/control
===================================================================
--- packages/numpy/trunk/debian/control	2014-01-14 19:56:39 UTC (rev 27230)
+++ packages/numpy/trunk/debian/control	2014-01-14 23:45:06 UTC (rev 27231)
@@ -3,7 +3,8 @@
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Sandro Tosi <morph at debian.org>
-Build-Depends: debhelper (>= 7.0.50~),
+Build-Depends: cython,
+               debhelper (>= 7.0.50~),
                gfortran (>= 4:4.2),
                libblas-dev [!arm !m68k],
                liblapack-dev [!arm !m68k],

Modified: packages/numpy/trunk/debian/rules
===================================================================
--- packages/numpy/trunk/debian/rules	2014-01-14 19:56:39 UTC (rev 27230)
+++ packages/numpy/trunk/debian/rules	2014-01-14 23:45:06 UTC (rev 27231)
@@ -15,6 +15,7 @@
 	dh $@ --with sphinxdoc,python2,python3
 
 override_dh_auto_build:
+	cd numpy/random/mtrand && python generate_mtrand_c.py
 	dh_auto_build
 	set -e; for v in $(PY3VERS); do \
 		python$$v setup.py build; \
@@ -27,6 +28,8 @@
 	rm -rf `find . -name "*.pyc" -type f`
 	rm -rf doc/fontList.cache numpy/f2py/docs/usersguide/index.html
 	rm -rf doc/source/reference/generated
+	# cython generated
+	rm -f numpy/random/mtrand/mtrand.c
 
 override_dh_installman:
 	dh_installman -ppython-numpy numpy/f2py/f2py.1




More information about the Python-modules-commits mailing list