[SCM] Set of routines for handling the FITS WCS standard branch, debian, updated. upstream/1.10-5-gb4d71b7
Ole Streicher
debian at liska.ath.cx
Sun Nov 13 17:21:42 UTC 2011
The following commit has been merged in the debian branch:
commit b4d71b723afc932f29da69b366804f68e1eb8c97
Author: Ole Streicher <debian at liska.ath.cx>
Date: Sun Nov 13 18:21:04 2011 +0100
Automatically download orig-tests.tar.gz on uscan
diff --git a/debian/download_tests.sh b/debian/download_tests.sh
index 0821bcd..a5abeb8 100755
--- a/debian/download_tests.sh
+++ b/debian/download_tests.sh
@@ -1,14 +1,16 @@
-#!/bin/sh
-#
+#!/bin/sh -e
+# called with '--upstream-version' <version> <file>
# Download the data files needed for the nosetests from the Subversion VCS
PACKAGE_NAME=python-pywcs
-VERSION=1.10
+VERSION=$2
UPSTREAM_SVN=http://svn6.assembla.com/svn/astrolib/tags/pywcs_${VERSION}/lib
SUBDIR=tests
TMPTARGET=$(mktemp -d)
+TARFILENAME=$(dirname $3)/${PACKAGE_NAME}_${VERSION}.orig-${SUBDIR}.tar.gz
svn co -q ${UPSTREAM_SVN}/${SUBDIR} ${TMPTARGET}
-tar czf ${PACKAGE_NAME}_${VERSION}.orig-${SUBDIR}.tar.gz \
- --exclude-vcs -C ${TMPTARGET} .
+tar czf $TARFILENAME --exclude-vcs -C ${TMPTARGET} .
rm -rf ${TMPTARGET}
+
+uupdate --no-symlink "$@"
diff --git a/debian/watch b/debian/watch
index 1995225..1f69fb0 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
# watch control file for uscan
version=3
-http://trac.assembla.com/astrolib .+/pywcs-(.+)-.+\.tar\.gz debian uupdate
+http://trac.assembla.com/astrolib .+/pywcs-(.+)-.+\.tar\.gz debian debian/download_tests.sh
--
Set of routines for handling the FITS WCS standard
More information about the debian-science-commits
mailing list