[med-svn] r3257 - trunk/packages/plink/trunk/debian

tille at alioth.debian.org tille at alioth.debian.org
Tue Mar 31 20:30:56 UTC 2009


Author: tille
Date: 2009-03-31 20:30:56 +0000 (Tue, 31 Mar 2009)
New Revision: 3257

Added:
   trunk/packages/plink/trunk/debian/get-orig-source
Modified:
   trunk/packages/plink/trunk/debian/changelog
   trunk/packages/plink/trunk/debian/control
   trunk/packages/plink/trunk/debian/rules
Log:
new upstream source, get-orig-source to convert zip into tar


Modified: trunk/packages/plink/trunk/debian/changelog
===================================================================
--- trunk/packages/plink/trunk/debian/changelog	2009-03-31 19:31:34 UTC (rev 3256)
+++ trunk/packages/plink/trunk/debian/changelog	2009-03-31 20:30:56 UTC (rev 3257)
@@ -1,3 +1,11 @@
+plink (1.05-1) unstable; urgency=low
+
+  * New upstream version
+  * debian/get-orig-source
+  * Standards-Version: 3.8.1 (no changes needed)
+
+ -- Andreas Tille <tille at debian.org>  Tue, 31 Mar 2009 22:28:25 +0200
+
 plink (1.03p1-1) unstable; urgency=low
 
   * Initial release (Closes: #490832).

Modified: trunk/packages/plink/trunk/debian/control
===================================================================
--- trunk/packages/plink/trunk/debian/control	2009-03-31 19:31:34 UTC (rev 3256)
+++ trunk/packages/plink/trunk/debian/control	2009-03-31 20:30:56 UTC (rev 3257)
@@ -2,9 +2,10 @@
 Section: science
 Priority: optional
 Maintainer: Debian-Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
-Uploaders: Steffen Moeller <moeller at debian.org>
+Uploaders: Steffen Moeller <moeller at debian.org>,
+ Andreas Tille <tille at debian.org>
 Build-Depends: debhelper (>= 5), quilt
-Standards-Version: 3.8.0
+Standards-Version: 3.8.1
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/plink/trunk/?rev=0&sc=0
 Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/plink/trunk/
 Homepage: http://pngu.mgh.harvard.edu/~purcell/plink/

Added: trunk/packages/plink/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/plink/trunk/debian/get-orig-source	                        (rev 0)
+++ trunk/packages/plink/trunk/debian/get-orig-source	2009-03-31 20:30:56 UTC (rev 3257)
@@ -0,0 +1,29 @@
+#!/bin/sh
+# script to download and repack source package
+# Repackaging is needed because original archive is in zip format
+
+BUILDTARBALLDEPENDS="unzip"
+missingdepends=`dpkg -l ${BUILDTARBALLDEPENDS} ${BUILDDEPS} | \
+    grep -v -e "^ii" -e "^|" -e "^++" -e "^ " -e "^..[^[:space:]]" | \
+    sed 's/^[a-z][a-z][[:space:]]\+\([^[:space:]]\+\)[[:space:]]\+.*/\1/'`
+
+if [ "$missingdepends" != "" ] ; then
+    echo "Please install the following packages to rebuild the upstream source tarball:"
+    echo $missingdepends
+    exit -1
+fi
+
+set -x
+PKG=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
+VERSION=`uscan --verbose --force-download | \
+    grep "Newest version on remote site is .* local version is .*" | \
+    head -n 1 | \
+    sed "s/Newest version on remote site is \([-0-9.]\+\),.*/\1/"`
+
+mkdir -p ../tarballs
+cd ../tarballs
+
+UPSTREAMDIR="${PKG}-${VERSION}-src"
+unzip ../"$UPSTREAMDIR".zip
+GZIP=-9 tar -czf "$PKG"_"$VERSION".orig.tar.gz "$UPSTREAMDIR"
+rm -rf "$UPSTREAMDIR"

Modified: trunk/packages/plink/trunk/debian/rules
===================================================================
--- trunk/packages/plink/trunk/debian/rules	2009-03-31 19:31:34 UTC (rev 3256)
+++ trunk/packages/plink/trunk/debian/rules	2009-03-31 20:30:56 UTC (rev 3257)
@@ -40,4 +40,7 @@
 
 binary: binary-indep binary-arch
 
+get-orig-source:
+	. debian/get-orig-source
+
 .PHONY: build clean binary-indep binary-arch binary




More information about the debian-med-commit mailing list