[med-svn] r10243 - trunk/packages/last-align/trunk/debian

Andreas Tille tille at alioth.debian.org
Mon Apr 2 12:23:38 UTC 2012


Author: tille
Date: 2012-04-02 12:23:37 +0000 (Mon, 02 Apr 2012)
New Revision: 10243

Removed:
   trunk/packages/last-align/trunk/debian/get-orig-source
Modified:
   trunk/packages/last-align/trunk/debian/changelog
   trunk/packages/last-align/trunk/debian/rules
Log:
New upstream version; Simplified downloading original source


Modified: trunk/packages/last-align/trunk/debian/changelog
===================================================================
--- trunk/packages/last-align/trunk/debian/changelog	2012-04-02 09:53:50 UTC (rev 10242)
+++ trunk/packages/last-align/trunk/debian/changelog	2012-04-02 12:23:37 UTC (rev 10243)
@@ -1,3 +1,11 @@
+last-align (198-1) UNRELEASED; urgency=low
+
+  * New upstream version
+  * debian/rules,debian/get-orig-source: Simplified downloading original
+    source
+
+ -- Andreas Tille <tille at debian.org>  Mon, 02 Apr 2012 14:16:35 +0200
+
 last-align (193-1) unstable; urgency=low
 
   * New upstream version

Deleted: trunk/packages/last-align/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/last-align/trunk/debian/get-orig-source	2012-04-02 09:53:50 UTC (rev 10242)
+++ trunk/packages/last-align/trunk/debian/get-orig-source	2012-04-02 12:23:37 UTC (rev 10243)
@@ -1,20 +0,0 @@
-#!/bin/sh -e
-# Upstream provides source in ZIP file so we have to repack to get a tar.gz
-
-UNAME=last
-PKG=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
-UVERSION=`uscan --verbose --force-download | \
-          grep "Newest version on remote site is .* local version is .*" | \
-          head -n 1 | \
-          sed "s?Newest .* \([-0-9.]\+\),.* \([0-9.]\+\)?\1?"`
-
-UPSTREAMZIP=${UNAME}-${UVERSION}.zip
-
-mkdir -p ../tarballs
-cd ../tarballs
-mv ../${UPSTREAMZIP} .
-
-unzip ${UPSTREAMZIP} >/dev/null
-
-tar -cJf "$PKG"_"$UVERSION".orig.tar.xz ${UNAME}-${UVERSION}
-rm -rf ${UNAME}-${UVERSION}

Modified: trunk/packages/last-align/trunk/debian/rules
===================================================================
--- trunk/packages/last-align/trunk/debian/rules	2012-04-02 09:53:50 UTC (rev 10242)
+++ trunk/packages/last-align/trunk/debian/rules	2012-04-02 12:23:37 UTC (rev 10243)
@@ -68,7 +68,6 @@
                  --name="Read alignments of paired DNA reads to a genome" \
                  $(CURDIR)/scripts/last-pair-probs.py > $(mandir)/last-pair-probs.1
 
-# The unzip command from the unzip package is needed for this one.
-# This target obtains the latest upstream version and not the latest packaged version
 get-orig-source:
-	. debian/get-orig-source
+	mkdir -p ../tarballs
+	uscan --verbose --force-download --repack --rename --destdir=../tarballs




More information about the debian-med-commit mailing list