[getdp] 25/60: add a script to create orig tarball from svn

Matteo F. Vescovi mfv at moszumanska.debian.org
Thu Feb 11 10:12:34 UTC 2016


This is an automated email from the git hooks/post-receive script.

mfv pushed a commit to branch master
in repository getdp.

commit 6aca15fcdd3bd5025a08dbbb260468a7f165b573
Author: Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>
Date:   Thu Jun 7 13:52:21 2012 +0000

    add a script to create orig tarball from svn
---
 debian/changelog                    |  7 +++----
 debian/getdp-get-orig-source-svn.sh | 15 +++++++++++++++
 debian/patches/series               |  2 +-
 3 files changed, 19 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 8b628d1..942f61d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,6 @@
-getdp (2.1.2~beta2~svn2304-1) unstable; urgency=low
+getdp (2.1.2~beta2~svn2357-1) unstable; urgency=low
 
-  * New upstream release
-  * Update to svn rev 2274
+  * Update to svn rev 2357
   * Remove unneeded patches
   * debian/rules:
        - rewrite rules for getdp-sparskit (add --disable-gmsh)
@@ -9,7 +8,7 @@ getdp (2.1.2~beta2~svn2304-1) unstable; urgency=low
   * Update the minimal version of hdf5
   * Update dependencies to libpetsc3.2-dev & libslepc3.2-dev
 
- -- Christophe Trophime <christophe.trophime at lncmi.cnrs.fr>  Fri, 8 Mar 2012 09:45:45 +0100
+ -- Christophe Trophime <christophe.trophime at lncmi.cnrs.fr>  Fri, 25 May 2012 08:13:31 +0200
 
 getdp (2.1.0-1) unstable; urgency=low
 
diff --git a/debian/getdp-get-orig-source-svn.sh b/debian/getdp-get-orig-source-svn.sh
new file mode 100755
index 0000000..9390a86
--- /dev/null
+++ b/debian/getdp-get-orig-source-svn.sh
@@ -0,0 +1,15 @@
+#!/bin/bash -x
+
+export GMSH_VERSION=$1
+
+mkdir -p tmp
+(cd tmp && svn co https://geuz.org/svn/getdp/trunk getdp)
+pwd
+ls tmp
+export GMSH_VERSION=$(echo $1~svn$(cd tmp/getdp && svnversion .))
+echo "Building getdp_$GMSH_VERSION.orig.tar.gz" 
+(cd tmp && mv getdp getdp-$GMSH_VERSION-1)
+(cd tmp && tar --exclude-vcs -czf getdp_$GMSH_VERSION.orig.tar.gz getdp-$GMSH_VERSION-1)
+(cd tmp && rm -rf getdp-$GMSH_VERSION)
+(cd tmp && mv getdp_$GMSH_VERSION.orig.tar.gz ..)
+rm -rf tmp
diff --git a/debian/patches/series b/debian/patches/series
index 96c826b..9583ae8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,4 @@
 Makefile.diff
 configure.diff
 #slepc3.2.patch
-fix_latest_svn.patch
+#fix_latest_svn.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/getdp.git



More information about the debian-science-commits mailing list