File: download_tests.sh

package info (click to toggle)
python-cpl 0.6.2-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 568 kB
  • ctags: 814
  • sloc: python: 2,850; ansic: 1,730; sh: 357; makefile: 49
file content (14 lines) | stat: -rwxr-xr-x 425 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=https://pypi.python.org/packages/source/p/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 "$@"