[med-svn] r16957 - trunk/packages/plastimatch/trunk/debian

Andreas Tille tille at moszumanska.debian.org
Mon May 19 11:09:26 UTC 2014


Author: tille
Date: 2014-05-19 11:09:26 +0000 (Mon, 19 May 2014)
New Revision: 16957

Removed:
   trunk/packages/plastimatch/trunk/debian/get-orig-source
Modified:
   trunk/packages/plastimatch/trunk/debian/changelog
   trunk/packages/plastimatch/trunk/debian/copyright
   trunk/packages/plastimatch/trunk/debian/rules
Log:
use uscan in get-orig-source target


Modified: trunk/packages/plastimatch/trunk/debian/changelog
===================================================================
--- trunk/packages/plastimatch/trunk/debian/changelog	2014-05-19 07:30:34 UTC (rev 16956)
+++ trunk/packages/plastimatch/trunk/debian/changelog	2014-05-19 11:09:26 UTC (rev 16957)
@@ -1,8 +1,13 @@
 plastimatch (1.5.16+dfsg-1) unstable; urgency=low
 
+  [ Gregory C. Sharp ]
   * new upstream release
     Closes: #748155
 
+  [ Andreas Tille ]
+  * debian/rules: use uscan in get-orig-source target
+  * debian/get-orig-source: deleted since not needed with latest devscripts
+
  -- Gregory C. Sharp <gregsharp.geo at yahoo.com>  Sun, 18 May 2014 15:59:50 -0400
 
 plastimatch (1.5.15+dfsg-1) unstable; urgency=low

Modified: trunk/packages/plastimatch/trunk/debian/copyright
===================================================================
--- trunk/packages/plastimatch/trunk/debian/copyright	2014-05-19 07:30:34 UTC (rev 16956)
+++ trunk/packages/plastimatch/trunk/debian/copyright	2014-05-19 11:09:26 UTC (rev 16957)
@@ -15,8 +15,8 @@
     doc/man/proton_dose.7
     doc/man/README.TXT
     doc/sphinx
-    extra/
-    FindCUDA/
+    extra
+    FindCUDA
     src/fatm
     src/ise
     src/mondoshot

Deleted: trunk/packages/plastimatch/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/plastimatch/trunk/debian/get-orig-source	2014-05-19 07:30:34 UTC (rev 16956)
+++ trunk/packages/plastimatch/trunk/debian/get-orig-source	2014-05-19 11:09:26 UTC (rev 16957)
@@ -1,67 +0,0 @@
-#!/bin/sh -e
-
-# Remark: A new uscan that enables easier handling of removing files can be
-#         obtained via
-#   git clone git://tille@git.debian.org/git/users/tille/devscripts.git
-#         and then copy scripts/uscan.pl as uscan at the beginning of your PATH
-if uscan --help | grep -q -- --repack-compression ; then
-    echo "Use new enhanced uscan"
-    uscan --verbose --force-download --repack-compression bz2
-    exit
-fi
-
-# This lets us use a different (local) tarball during debugging.
-# Just put file name on the command line.
-if test -z "$1"; then
-    download_name=`uscan --verbose --force-download | grep Source | head -n 2 | tail -n 1 | sed -e 's/.*\///' | sed -e 's/\ .*$//'`;
-    echo Downloaded $download_name
-else
-    download_name=$1
-    echo Using local file $download_name
-fi
-
-PKG=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
-VERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 's/\([0-9\.]\+\)-[0-9]\+$/\1/' | sed 's/dfsg-.*$/dfsg/'`
-
-cd ..
-mkdir -p tarballs
-rm -rf tarballs/*
-cd tarballs
-tar xf ../$download_name
-base=`ls`
-echo "Repackaging $base into ${PKG}-${VERSION}"
-cp -a $base ${PKG}-${VERSION}
-cd ${PKG}-${VERSION}
-rm -rf doc/*.doc
-rm -rf doc/*.odt
-rm -rf doc/*.pdf
-rm -rf doc/*.ppt
-rm -rf doc/*.txt
-rm -rf doc/*.TXT
-rm -rf doc/2.0
-rm -rf doc/figures
-rm -rf doc/man/bspline.7
-rm -rf doc/man/proton_dose.7
-rm -rf doc/man/README.TXT
-rm -rf doc/sphinx
-rm -rf extra
-rm -rf FindCUDA
-rm -rf src/fatm
-rm -rf src/ise
-rm -rf src/mondoshot
-rm -rf src/oraifutils
-rm -rf src/reg-2-3
-rm -rf src/slicer
-rm -rf src/plastimatch/test/opencl_test.*
-rm -rf libs/getopt
-rm -rf libs/libf2c
-rm -rf libs/msinttypes
-rm -rf libs/sqlite-3.6.21
-
-cd ..
-GZIP="--best --no-name" tar -czf "$PKG"_"$VERSION".orig.tar.gz "$PKG"-"$VERSION"
-rm -rf $base
-rm -rf "$PKG"-"$VERSION"
-rm ../"$download_name" 2> /dev/null
-
-mv "$PKG"_"$VERSION".orig.tar.gz ..

Modified: trunk/packages/plastimatch/trunk/debian/rules
===================================================================
--- trunk/packages/plastimatch/trunk/debian/rules	2014-05-19 07:30:34 UTC (rev 16956)
+++ trunk/packages/plastimatch/trunk/debian/rules	2014-05-19 11:09:26 UTC (rev 16957)
@@ -30,4 +30,5 @@
 
 
 get-orig-source:
-	. debian/get-orig-source
+	mkdir -p ../tarballs
+	uscan --verbose --force-download --repack --compression xz --destdir=../tarballs




More information about the debian-med-commit mailing list