[med-svn] [tophat] 02/05: It was not really obvious that debian/get-orig-source was used (not mentioned in debian/rules) - do this now in a canonical way using Files-Excluded

Andreas Tille tille at debian.org
Wed Mar 19 10:56:42 UTC 2014


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository tophat.

commit 2569fee500540104f04bbf05c85289e97d520ffa
Author: Andreas Tille <tille at debian.org>
Date:   Wed Mar 19 11:53:53 2014 +0100

    It was not really obvious that debian/get-orig-source was used (not mentioned in debian/rules) - do this now in a canonical way using Files-Excluded
---
 debian/copyright       |  6 +++---
 debian/get-orig-source | 22 ----------------------
 debian/rules           |  3 +++
 3 files changed, 6 insertions(+), 25 deletions(-)

diff --git a/debian/copyright b/debian/copyright
index 6d4c66e..33fc0f6 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -5,9 +5,9 @@ Source: http://tophat.cbcb.umd.edu/downloads/tophat-2.0.10.tar.gz
 Comment:
  Cole Trapnell wrote TopHat. TopHat is built on Bowtie, which was written by
  Ben Langmead and Cole Trapnell.  Daehwan Kim and Geo Pertea added support
- for SOLiD reads. The SeqAn-1.2 library is used in TopHat and
- Bowtie and some of its sources are included in TopHat source releases; its
- authors are Andreas Doring, David Weese, Tobias Rausch, and Knut Reinert.
+ for SOLiD reads.
+Files-Excluded:
+    */src/SeqAn*
 
 Files: *
 Copyright: © 2003-2010 Cole Trapnell et al
diff --git a/debian/get-orig-source b/debian/get-orig-source
deleted file mode 100755
index 7d86afb..0000000
--- a/debian/get-orig-source
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-# script to download and repack source package of tophat 
-# stripping off SeqAn which is distributed in Debian.
-
-PKG=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
-mkdir -p ../tarballs
-VERSION=`uscan --verbose --force-download --destdir='../tarballs/' | \
-    grep "Newest version on remote site is .* local version is .*" | \
-    head -n 1 | \
-    sed "s/Newest version on remote site is \([-0-9.].*\),.*/\1/"`
-
-cd ../tarballs
-
-UPSTREAMNAME=tophat
-UPSTREAMDIR="${UPSTREAMNAME}-${VERSION}"
-tar -xzf ${UPSTREAMDIR}.tar.gz
-
-rm -rf ${UPSTREAMDIR}/src/SeqAn-1.3
-
-GZIP="--best --no-name" tar -czf "$PKG"_"$VERSION".orig.tar.gz "${UPSTREAMDIR}"
-rm -rf "${UPSTREAMDIR}"
-
diff --git a/debian/rules b/debian/rules
index c78f8b6..cdfcc8a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -41,3 +41,6 @@ override_dh_installman:
 	    --name='TopHat maps short sequences from spliced transcripts to whole genomes' \
 	    --version-string="$(version)" \
 	         $(bindir)/tophat > $(mandir)/tophat.1
+
+get-orig-source:
+	uscan --verbose --force-download --repack --repack-compression xz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/tophat.git



More information about the debian-med-commit mailing list