[Python-modules-commits] r14095 - in packages/scipy/trunk/debian (6 files)
varun at users.alioth.debian.org
varun at users.alioth.debian.org
Fri Jul 30 23:38:10 UTC 2010
Date: Friday, July 30, 2010 @ 23:38:09
Author: varun
Revision: 14095
* Release with a new source tarball with missing cython source files
* debian/rules: Add get-orig-source target
* Add debian/README.source explaining the repackaging of source tarball
* Add debian/orig-tar.sh to add missing cython source files to the
source tarball (Closes: #589731)
* debian/rules: add call to dh_numpy to generate stricter versioned
depends on python-numpy (Closes: #590763)
* Bump Standards-Version to 3.9.1
* Add myself to Uploaders
Added:
packages/scipy/trunk/debian/README.source
packages/scipy/trunk/debian/orig-tar.sh
Modified:
packages/scipy/trunk/debian/changelog
packages/scipy/trunk/debian/control
packages/scipy/trunk/debian/rules
packages/scipy/trunk/debian/watch
Added: packages/scipy/trunk/debian/README.source
===================================================================
--- packages/scipy/trunk/debian/README.source (rev 0)
+++ packages/scipy/trunk/debian/README.source 2010-07-30 23:38:09 UTC (rev 14095)
@@ -0,0 +1,12 @@
+Creating source package
+=======================
+
+In the upstream supplied source tarball, certain source files are
+missing which are present in the upstream subversion repository.
+
+The debian/orig-tar.sh script adds the missing source files and
+creates a DFSG compatible source tarball for debian release. Please
+use the 'rules/get-orig-source' target to create the tarball for
+debian packaging.
+
+-- Varun Hiremath <vh63 at cornell.edu> Fri, 30 Jul 2010 18:27:23 -0400
Modified: packages/scipy/trunk/debian/changelog
===================================================================
--- packages/scipy/trunk/debian/changelog 2010-07-30 23:33:45 UTC (rev 14094)
+++ packages/scipy/trunk/debian/changelog 2010-07-30 23:38:09 UTC (rev 14095)
@@ -1,3 +1,17 @@
+python-scipy (0.7.2+dfsg1-1) unstable; urgency=low
+
+ * Release with a new source tarball with missing cython source files
+ * debian/rules: Add get-orig-source target
+ * Add debian/README.source explaining the repackaging of source tarball
+ * Add debian/orig-tar.sh to add missing cython source files to the
+ source tarball (Closes: #589731)
+ * debian/rules: add call to dh_numpy to generate stricter versioned
+ depends on python-numpy (Closes: #590763)
+ * Bump Standards-Version to 3.9.1
+ * Add myself to Uploaders
+
+ -- Varun Hiremath <varun at debian.org> Fri, 30 Jul 2010 18:29:18 -0400
+
python-scipy (0.7.2-2) unstable; urgency=low
* debian/patches/string_exceptions.patch:
Modified: packages/scipy/trunk/debian/control
===================================================================
--- packages/scipy/trunk/debian/control 2010-07-30 23:33:45 UTC (rev 14094)
+++ packages/scipy/trunk/debian/control 2010-07-30 23:38:09 UTC (rev 14095)
@@ -2,14 +2,14 @@
Section: python
Priority: extra
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Uploaders: Alexandre Fayolle <afayolle at debian.org>, Ondrej Certik <ondrej at certik.cz>, David Cournapeau <cournape at gmail.com>, Luca Falavigna <dktrkranz at debian.org>
+Uploaders: Alexandre Fayolle <afayolle at debian.org>, Ondrej Certik <ondrej at certik.cz>, David Cournapeau <cournape at gmail.com>, Luca Falavigna <dktrkranz at debian.org>, Varun Hiremath <varun at debian.org>
Build-Depends: debhelper (>= 7.0.50~), python-all-dev (>= 2.5.4-1~),
python-all-dbg (>= 2.5.4-1~), python-central (>= 0.6.7),
- python-numpy (>= 1:1.2.0), python-numpy-dbg (>= 1:1.2.0),
+ python-numpy (>= 1:1.4.1-4~), python-numpy-dbg (>= 1:1.2.0),
gfortran, sharutils, swig, libsuitesparse-dev (>= 3.1.0-3),
libblas-dev | libatlas-base-dev, liblapack-dev | libatlas-base-dev
XS-Python-Version: all
-Standards-Version: 3.8.4
+Standards-Version: 3.9.1
Homepage: http://www.scipy.org/
Vcs-Svn: svn://svn.debian.org/python-modules/packages/scipy/trunk
Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/scipy/trunk/
Added: packages/scipy/trunk/debian/orig-tar.sh
===================================================================
--- packages/scipy/trunk/debian/orig-tar.sh (rev 0)
+++ packages/scipy/trunk/debian/orig-tar.sh 2010-07-30 23:38:09 UTC (rev 14095)
@@ -0,0 +1,28 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+DVER=$(dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ' | sed 's/\-[^-]*$//')
+TAR=python-scipy_$DVER.orig.tar.gz
+DIR=scipy-$2.orig
+
+# extract upstream tar ball
+tar xzf $3
+mv scipy-$2 $DIR
+rm $3
+
+# add cython source files
+(cd $DIR/scipy/spatial/;\
+svn export http://svn.scipy.org/svn/scipy/tags/$2/scipy/spatial/ckdtree.pyx)
+(cd $DIR/scipy/stats/;\
+svn export http://svn.scipy.org/svn/scipy/tags/$2/scipy/stats/vonmises_cython.pyx)
+
+# create tar ball
+GZIP=--best tar czf $TAR $DIR
+rm -rf $DIR
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+ . .svn/deb-layout
+ mv $TAR $origDir
+ echo "moved $TAR to $origDir"
+fi
Property changes on: packages/scipy/trunk/debian/orig-tar.sh
___________________________________________________________________
Added: svn:executable
+ *
Modified: packages/scipy/trunk/debian/rules
===================================================================
--- packages/scipy/trunk/debian/rules 2010-07-30 23:33:45 UTC (rev 14094)
+++ packages/scipy/trunk/debian/rules 2010-07-30 23:38:09 UTC (rev 14095)
@@ -6,6 +6,8 @@
PYVERS:= $(shell pyversions -v -r debian/control)
BASE=$(shell pwd)/debian
+DVER=$(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ' | sed 's/-[^-]*$$//')
+UVER=$(shell echo $(DVER) | sed "s/+dfsg.*//g")
%:
dh --with python-central $@
@@ -38,6 +40,9 @@
find debian/python-scipy-dbg -depth -empty -exec rmdir {} \;
rm -fr $(BASE)/python-scipy*/usr/lib/python*/*-packages/scipy/weave/examples/
+ #call dh_numpy
+ dh_numpy
+
override_dh_fixperms:
dh_fixperms
set -e; for i in `find debian -mindepth 2 -type f ! -perm 755`; do \
@@ -50,3 +55,6 @@
override_dh_strip:
dh_strip --dbg-package=python-scipy-dbg
+
+get-orig-source:
+ -uscan --force-download --download-version $(UVER) --rename
Modified: packages/scipy/trunk/debian/watch
===================================================================
--- packages/scipy/trunk/debian/watch 2010-07-30 23:33:45 UTC (rev 14094)
+++ packages/scipy/trunk/debian/watch 2010-07-30 23:38:09 UTC (rev 14095)
@@ -1,2 +1,3 @@
version=3
-http://sf.net/scipy/scipy-([0-9.]+)\.tar\.gz
+opts="dversionmangle=s/[+~]dfsg.*//" \
+http://sf.net/scipy/scipy-([0-9.]+)\.tar\.gz debian debian/orig-tar.sh
More information about the Python-modules-commits
mailing list