[med-svn] [eagle] 01/04: Fix the test

Dylan Aïssi bob.dybian-guest at moszumanska.debian.org
Sun Oct 23 20:56:38 UTC 2016


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

bob.dybian-guest pushed a commit to branch master
in repository eagle.

commit c1b65d98dc35af8c8cde2fd8cceba25c1e6ce73c
Author: Dylan Aïssi <bob.dybian at gmail.com>
Date:   Sun Oct 23 22:23:04 2016 +0200

    Fix the test
---
 debian/bio-eagle-examples.install | 2 +-
 debian/changelog                  | 7 +++++++
 debian/rules                      | 5 +++++
 debian/tests/run-sample-analysis  | 6 +-----
 4 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/debian/bio-eagle-examples.install b/debian/bio-eagle-examples.install
index 4e0822b..784167d 100644
--- a/debian/bio-eagle-examples.install
+++ b/debian/bio-eagle-examples.install
@@ -1,2 +1,2 @@
-example/* /usr/share/doc/bio-eagle/examples/
+example/examples.tar.xz /usr/share/doc/bio-eagle/examples/
 tables /usr/share/doc/bio-eagle/examples/
diff --git a/debian/changelog b/debian/changelog
index ce49509..ffc895a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+bio-eagle (2.3-2) UNRELEASED; urgency=medium
+
+  * Add a comment in the description about the renaming.
+  * Fix the test.
+
+ -- Dylan Aïssi <bob.dybian at gmail.com>  Sun, 23 Oct 2016 22:20:50 +0200
+
 bio-eagle (2.3-1) unstable; urgency=medium
 
   * Initial release. (Closes: #838070)
diff --git a/debian/rules b/debian/rules
index 9ed8893..65e44fc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,11 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 %:
 	dh $@ --sourcedirectory=src
 
+override_dh_install:
+	cd $(CURDIR)/example/ && \
+		tar Jcvf examples.tar.xz * --sort=name --mode=go=rX,u+rw,a-s --owner=root --group=root --numeric-owner
+	dh_install
+
 override_dh_installchangelogs:
 	dh_installchangelogs debian/upstream.changelog
 
diff --git a/debian/tests/run-sample-analysis b/debian/tests/run-sample-analysis
index 21b2d59..96b6419 100755
--- a/debian/tests/run-sample-analysis
+++ b/debian/tests/run-sample-analysis
@@ -11,11 +11,7 @@ fi
 cd $ADTTMP
 cp -a /usr/share/doc/${pkg}/examples/* $ADTTMP
 
-gunzip EUR_test.bed.gz
-gunzip EUR_test.bim.gz
-gunzip EUR_test.fam.gz
-gunzip phased.sample.gz
-gunzip ref.bcf.gz
+tar Jxvf $ADTTMP/examples.tar.xz
 
 # From upstream run_example.sh
 bio-eagle \

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



More information about the debian-med-commit mailing list