[SCM] Packaging for python-demgengeo. Library for creating geometry-files of packed spheres for DEM-programms. branch, master, updated. upstream/0.99_bzr106-18-g61b2494

Anton Gladky gladky.anton at gmail.com
Wed May 8 20:13:17 UTC 2013


The following commit has been merged in the master branch:
commit 05b72d95198cb3de516956ffa3ed84357de8e9c2
Author: Anton Gladky <gladky.anton at gmail.com>
Date:   Wed May 8 21:45:46 2013 +0200

    Add script to get an upstream tarball from bzr.

diff --git a/debian/scripts/get_orig_src.sh b/debian/scripts/get_orig_src.sh
new file mode 100755
index 0000000..f7b0976
--- /dev/null
+++ b/debian/scripts/get_orig_src.sh
@@ -0,0 +1,26 @@
+#!/bin/bash
+
+# The script creates a tar.xz tarball from git-repository of LAMMPS-project
+# ./get_orig_src.sh commitID   -   creates a tarball of specified commit
+# ./get_orig_src.sh   - creates a tarball of the latest version
+# Packages, that needs to be installed to use the script:
+# atool, bzr
+
+bzr checkout lp:esys-particle/gengeo 
+cd gengeo
+
+BZR_REV=$(bzr revno)
+VER_DEB=0.99~bzr$BZR_REV
+FOLDER_NAME=python-demgengeo-$VER_DEB
+TARBALL_NAME=python-demgengeo_$VER_DEB.orig.tar.xz
+
+
+echo $VER_DEB
+echo $FOLDER_NAME
+echo $TARBALL_NAME
+
+cd ..
+mv gengeo $FOLDER_NAME
+rm -rf $FOLDER_NAME/.bzr
+apack $TARBALL_NAME $FOLDER_NAME
+rm -rf $FOLDER_NAME

-- 
Packaging for python-demgengeo. Library for creating geometry-files of packed spheres for DEM-programms.



More information about the debian-science-commits mailing list