~ubuntu-branches/ubuntu/trusty/graphy/trusty

« back to all changes in this revision

Viewing changes to debian/orig-tar.sh

  • Committer: Bazaar Package Importer
  • Author(s): Miguel Landaeta
  • Date: 2011-04-19 19:03:43 UTC
  • mfrom: (2.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20110419190343-9btj27ozpklibvcd
Tags: 1.0+dfsg-3
* Python transition:
  - Add support for python2.7.
  - Drop support for python2.5.
* Bump Standards-Version to 3.9.2. No changes were required.
* Update copyright file in order to apply correctly Apache 2.0 license.
* Remove unnecessary Breaks on ${python:Breaks}.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh -e
 
2
 
 
3
# called by uscan with '--upstream-version' <version> <file>
 
4
DIR=graphy-$2
 
5
TAR=graphy_$2.orig.tar.gz
 
6
 
 
7
# Repack upstream source to tar.gz and clean it
 
8
tar jxf $3
 
9
mv graphy_$2 $DIR
 
10
GZIP=--best tar -cz --owner root --group root --mode a+rX \
 
11
    -f $TAR -X debian/orig-tar.excludes $DIR
 
12
rm -rf $DIR $3