File: download_tests.sh

package info (click to toggle)
python-cpl 0.3.6-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 500 kB
  • sloc: python: 2,448; ansic: 1,334; sh: 357; makefile: 48
file content (14 lines) | stat: -rwxr-xr-x 407 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh -e
# called with '--upstream-version' <version> <file>
# Download the test suite

PACKAGE_NAME=python-cpl
VERSION=$2
SUBDIR=test
UPSTREAM_BASE=http://www.aip.de/~oles/python-cpl
UPSTREAM_TAR=${UPSTREAM_BASE}/${PACKAGE_NAME}-${SUBDIR}-${VERSION}.tar.gz
TARFILENAME=$(dirname $3)/${PACKAGE_NAME}_${VERSION}.orig-${SUBDIR}.tar.gz

wget -q -O ${TARFILENAME} ${UPSTREAM_TAR}

uupdate --no-symlink "$@"