r35849 - in /packages/jhdf/trunk/debian: orig-tar.exclude orig-tar.sh watch

sylvestre-guest at users.alioth.debian.org sylvestre-guest at users.alioth.debian.org
Tue Sep 15 11:26:38 UTC 2009


Author: sylvestre-guest
Date: Tue Sep 15 11:26:38 2009
New Revision: 35849

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=35849
Log:
Include a repackaging script

Added:
    packages/jhdf/trunk/debian/orig-tar.exclude
    packages/jhdf/trunk/debian/orig-tar.sh   (with props)
Modified:
    packages/jhdf/trunk/debian/watch

Added: packages/jhdf/trunk/debian/orig-tar.exclude
URL: http://svn.debian.org/wsvn/debian-science/packages/jhdf/trunk/debian/orig-tar.exclude?rev=35849&op=file
==============================================================================
--- packages/jhdf/trunk/debian/orig-tar.exclude (added)
+++ packages/jhdf/trunk/debian/orig-tar.exclude Tue Sep 15 11:26:38 2009
@@ -1,0 +1,1 @@
+*.jar

Added: packages/jhdf/trunk/debian/orig-tar.sh
URL: http://svn.debian.org/wsvn/debian-science/packages/jhdf/trunk/debian/orig-tar.sh?rev=35849&op=file
==============================================================================
--- packages/jhdf/trunk/debian/orig-tar.sh (added)
+++ packages/jhdf/trunk/debian/orig-tar.sh Tue Sep 15 11:26:38 2009
@@ -1,0 +1,20 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+DIR=jhdf-$2
+TAR=../jhdf_$2.orig.tar.gz
+
+# clean up the upstream tarball
+tar xvf $3
+mv hdf-java $DIR
+tar -c -z -f $TAR -X debian/orig-tar.exclude $DIR
+rm -rf $DIR $3
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+    . .svn/deb-layout
+    mv $TAR $origDir
+    echo "moved $TAR to $origDir"
+fi
+
+exit 0

Propchange: packages/jhdf/trunk/debian/orig-tar.sh
------------------------------------------------------------------------------
    svn:executable = *

Modified: packages/jhdf/trunk/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/jhdf/trunk/debian/watch?rev=35849&op=diff
==============================================================================
--- packages/jhdf/trunk/debian/watch (original)
+++ packages/jhdf/trunk/debian/watch Tue Sep 15 11:26:38 2009
@@ -1,3 +1,5 @@
 version=3
 http://www.hdfgroup.org/ftp/HDF5/hdf-java/src/ \
-hdf-java-([\d\.]+)-src.tar
+hdf-java-([\d\.]+)-src.tar \
+debian debian/orig-tar.sh
+




More information about the debian-science-commits mailing list