r36928 - in /packages/sundials/trunk/debian: orig-tar.exclude orig-tarball.sh

sylvestre at users.alioth.debian.org sylvestre at users.alioth.debian.org
Sat Oct 9 16:16:25 UTC 2010


Author: sylvestre
Date: Sat Oct  9 16:16:19 2010
New Revision: 36928

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=36928
Log:
remove the pdf from upstream tarball

Added:
    packages/sundials/trunk/debian/orig-tar.exclude
Modified:
    packages/sundials/trunk/debian/orig-tarball.sh

Added: packages/sundials/trunk/debian/orig-tar.exclude
URL: http://svn.debian.org/wsvn/debian-science/packages/sundials/trunk/debian/orig-tar.exclude?rev=36928&op=file
==============================================================================
--- packages/sundials/trunk/debian/orig-tar.exclude (added)
+++ packages/sundials/trunk/debian/orig-tar.exclude Sat Oct  9 16:16:19 2010
@@ -1,0 +1,2 @@
+*.pdf
+

Modified: packages/sundials/trunk/debian/orig-tarball.sh
URL: http://svn.debian.org/wsvn/debian-science/packages/sundials/trunk/debian/orig-tarball.sh?rev=36928&op=diff
==============================================================================
--- packages/sundials/trunk/debian/orig-tarball.sh (original)
+++ packages/sundials/trunk/debian/orig-tarball.sh Sat Oct  9 16:16:19 2010
@@ -3,7 +3,15 @@
 # called by uscan with '--upstream-version' <version> <file>
 PKG=sundials
 VER=$2
+echo "plop :" $3
+tar zxvf $3
+tar -c -z -f $3 -X debian/orig-tar.exclude $PKG-$VER
+rm -rf $PKG-$VER
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+    . .svn/deb-layout
+    mv $TAR $origDir
+    echo "moved $TAR to $origDir"
+fi
 
-URL=https://computation.llnl.gov/casc/sundials/download/code/$PKG-$VER.tar.gz
-
-wget $URL --output-document=../tarballs/${PKG}_$VER.orig.tar.gz
+exit 0




More information about the debian-science-commits mailing list