[Python-modules-commits] r23110 - in packages/scipy/trunk/debian (changelog orig-tar.sh)

jtaylor-guest at users.alioth.debian.org jtaylor-guest at users.alioth.debian.org
Thu Nov 29 22:34:35 UTC 2012


    Date: Thursday, November 29, 2012 @ 22:34:33
  Author: jtaylor-guest
Revision: 23110

add missing cython sources from git tag (Closes: #589731)

update debian/orig-tar.sh appropriately

Modified:
  packages/scipy/trunk/debian/changelog
  packages/scipy/trunk/debian/orig-tar.sh

Modified: packages/scipy/trunk/debian/changelog
===================================================================
--- packages/scipy/trunk/debian/changelog	2012-11-29 15:27:30 UTC (rev 23109)
+++ packages/scipy/trunk/debian/changelog	2012-11-29 22:34:33 UTC (rev 23110)
@@ -1,3 +1,10 @@
+python-scipy (0.10.1+dfsg2-1) unstable; urgency=low
+
+  * add missing cython sources from git tag (Closes: #589731)
+  * update debian/orig-tar.sh appropriately
+
+ -- Julian Taylor <jtaylor.debian at googlemail.com>  Thu, 29 Nov 2012 21:56:31 +0100
+
 python-scipy (0.10.1+dfsg1-4) unstable; urgency=low
 
   [ Julian Taylor ]

Modified: packages/scipy/trunk/debian/orig-tar.sh
===================================================================
--- packages/scipy/trunk/debian/orig-tar.sh	2012-11-29 15:27:30 UTC (rev 23109)
+++ packages/scipy/trunk/debian/orig-tar.sh	2012-11-29 22:34:33 UTC (rev 23110)
@@ -4,18 +4,36 @@
 DVER=$(dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ' | sed 's/\-[^-]*$//')
 TAR=python-scipy_$DVER.orig.tar.gz
 DIR=scipy-$2.orig
-SRC=https://github.com/scipy/scipy/commits/v$2
+SRC=https://github.com/scipy/scipy/raw/v$2
 
 # extract upstream tar ball
 tar xzf $3
 mv scipy-$2 $DIR
 rm $3
 
-# add cython source files
-(cd $DIR/scipy/spatial/;\
-wget $SRC/scipy/spatial/ckdtree.pyx)
-(cd $DIR/scipy/stats/;\
-wget $SRC/scipy/stats/vonmises_cython.pyx)
+# add cython source files, should be unecessary for > 0.11 see ticket 1780
+for f in \
+scipy/cluster/_vq_rewrite.pyx \
+scipy/interpolate/interpnd.pyx \
+scipy/io/matlab/mio5_utils.pyx \
+scipy/io/matlab/mio_utils.pyx \
+scipy/io/matlab/pyalloc.pxd \
+scipy/io/matlab/streams.pxd \
+scipy/io/matlab/streams.pyx \
+scipy/signal/spectral.pyx \
+scipy/spatial/ckdtree.pyx \
+scipy/spatial/qhull.pxd \
+scipy/spatial/qhull.pyx \
+scipy/special/lambertw.pyx \
+scipy/special/orthogonal_eval.pyx \
+scipy/stats/vonmises_cython.pyx; do
+echo $f
+(cd $DIR/$(dirname $f);\
+wget $SRC/$f)
+done
+# also needs a patch to the generator
+(cd $DIR/scipy/interpolate/;
+mv interpnd.pyx interpnd.pyx.in)
 
 # create tar ball
 GZIP=--best tar czf $TAR $DIR




More information about the Python-modules-commits mailing list