[med-svn] [garli] 03/10: Some progress in packaging

Andreas Tille tille at debian.org
Tue Nov 14 09:53:47 UTC 2017


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

tille pushed a commit to branch master
in repository garli.

commit 09cafcac3a4ecb79c1df6bd4beacfbd3725b4fe0
Author: Andreas Tille <tille at debian.org>
Date:   Thu Jun 2 20:28:05 2016 +0000

    Some progress in packaging
---
 debian/bin/garli               | 15 +++++++++++++++
 debian/clean                   |  3 +++
 debian/control                 | 18 ++++++++++++++++--
 debian/garli-examples.examples |  1 +
 debian/garli.docs              |  1 +
 debian/garli.examples          |  1 +
 debian/garli.install           |  2 ++
 debian/rules                   | 17 ++---------------
 8 files changed, 41 insertions(+), 17 deletions(-)

diff --git a/debian/bin/garli b/debian/bin/garli
new file mode 100644
index 0000000..5551794
--- /dev/null
+++ b/debian/bin/garli
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+if [ ! -e garli.conf ] ; then
+    cp -a /usr/share/doc/garli/examples/basic/garli.conf .
+    cat <<EOT
+You need to create a garli.conf file first.
+There was a basic example copied to your current directory which you
+most probably need to adapt.  For more information please read
+
+    zless /usr/share/doc/garli/QuickStart.txt*
+
+EOT
+    exit 1
+fi
+/usr/lib/garli/bin/Garli $*
diff --git a/debian/clean b/debian/clean
index 4a4989e..ec8481c 100644
--- a/debian/clean
+++ b/debian/clean
@@ -1,2 +1,5 @@
 tests/*.log
 tests/*.tre
+tests/*.check
+tests/out*.phy
+tests/test.out.*.nex
diff --git a/debian/control b/debian/control
index 23f3e1b..90c0295 100644
--- a/debian/control
+++ b/debian/control
@@ -8,8 +8,8 @@ Build-Depends: debhelper (>= 9),
                libncl-dev (>= 2.1.18+dfsg-2),
                ncl-tools,
                bc
-Standards-Version: 3.9.6
-Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/garli/trunk/
+Standards-Version: 3.9.8
+Vcs-Browser: https://anonscm.debian.org/viewvc/debian-med/trunk/packages/garli/trunk/
 Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/garle/trunk/
 Homepage: https://github.com/Ashod/garli
 
@@ -25,3 +25,17 @@ Description: phylogenetic analysis of molecular sequence data using maximum-like
  score. It implements nucleotide, amino acid and codon-based models of
  sequence evolution, and runs on all platforms. The latest version adds
  support for partitioned models and morphology-like datatypes.
+
+Package: garli-examples
+Architecture: all
+Depends: ${misc:Depends}
+Description: phylogenetic analysis of molecular sequence data using maximum-likelihood (examples)
+ GARLI, Genetic Algorithm for Rapid Likelihood Inference is a program for
+ inferring phylogenetic trees. Using an approach similar to a classical
+ genetic algorithm, it rapidly searches the space of evolutionary trees
+ and model parameters to find the solution maximizing the likelihood
+ score. It implements nucleotide, amino acid and codon-based models of
+ sequence evolution, and runs on all platforms. The latest version adds
+ support for partitioned models and morphology-like datatypes.
+ .
+ This package contains example data for garli.
diff --git a/debian/garli-examples.examples b/debian/garli-examples.examples
new file mode 100644
index 0000000..0ae8e92
--- /dev/null
+++ b/debian/garli-examples.examples
@@ -0,0 +1 @@
+example/partition
diff --git a/debian/garli.docs b/debian/garli.docs
new file mode 100644
index 0000000..2211df6
--- /dev/null
+++ b/debian/garli.docs
@@ -0,0 +1 @@
+*.txt
diff --git a/debian/garli.examples b/debian/garli.examples
new file mode 100644
index 0000000..e38b078
--- /dev/null
+++ b/debian/garli.examples
@@ -0,0 +1 @@
+example/basic
diff --git a/debian/garli.install b/debian/garli.install
new file mode 100644
index 0000000..c078804
--- /dev/null
+++ b/debian/garli.install
@@ -0,0 +1,2 @@
+usr/bin		usr/lib/garli
+debian/bin	usr
diff --git a/debian/rules b/debian/rules
index 0a68a0e..2d19585 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,22 +1,9 @@
 #!/usr/bin/make -f
 
-# DH_VERBOSE := 1
-
-# some helpful variables - uncomment them if needed
-# shamelessly stolen from http://jmtd.net/log/awk/
-#DEBVERS        := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')
-#VERSION        := $(shell echo '$(DEBVERS)' | sed -e 's/^[0-9]*://' -e 's/-.*//')
-#DEBFLAVOR      := $(shell dpkg-parsechangelog | awk '/^Distribution:/ {print $$2}')
-#DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
-#DEBIAN_BRANCH  := $(shell awk 'BEGIN{FS="[= ]+"} /debian-branch/ {print $$2}' debian/gbp.conf)
-#GIT_TAG        := $(subst ~,_,$(VERSION))
-
-# alternatively to manually set those variables, you can
-#  include /usr/share/dpkg/default.mk
-# and use what is set there.
+DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
 
 %:
 	dh $@ --with autoreconf
 
 override_dh_auto_configure:
-	dh_auto_configure -- --with-ncl=/usr
\ No newline at end of file
+	dh_auto_configure -- --with-ncl=/usr

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/garli.git



More information about the debian-med-commit mailing list