[med-svn] [parsinsert] 01/02: Split testdata into separate package

Andreas Tille tille at debian.org
Wed Aug 23 06:35:45 UTC 2017


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

tille pushed a commit to tag debian/1.04-3
in repository parsinsert.

commit e05dd438a99c44bf2d4833ff89df4abceb7c963c
Author: Andreas Tille <tille at debian.org>
Date:   Wed Aug 23 08:13:40 2017 +0200

    Split testdata into separate package
---
 debian/README.test                 |  6 +++++-
 debian/control                     | 13 +++++++++++++
 debian/parsinsert-testdata.install |  1 +
 debian/{docs => parsinsert.docs}   |  1 -
 4 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/debian/README.test b/debian/README.test
index 39fbde9..643ebfc 100644
--- a/debian/README.test
+++ b/debian/README.test
@@ -1,7 +1,11 @@
 Notes on how this package can be tested.
 ────────────────────────────────────────
 
-This package can be tested by executing
+This package can be tested by installing the test data via
+
+    sudo apt-get install parsinsert-testdata
+
+and executing
 
     sh run-unit-test
 
diff --git a/debian/control b/debian/control
index 55e3615..3be6313 100644
--- a/debian/control
+++ b/debian/control
@@ -14,7 +14,20 @@ Package: parsinsert
 Architecture: any
 Depends: ${shlibs:Depends},
          ${misc:Depends}
+Suggests: parsinsert-testdata
 Description: Parsimonious Insertion of unclassified sequences into phylogenetic trees
  ParsInsert efficiently produces both a phylogenetic tree and taxonomic
  classification for sequences for microbial community sequence analysis. This
  is a C++ implementation of the Parsimonious Insertion algorithm.
+
+Package: parsinsert-testdata
+Architecture: all
+Depends: ${misc:Depends}
+Enhances: parsinsert
+Description: Test data for parsinsert
+ ParsInsert efficiently produces both a phylogenetic tree and taxonomic
+ classification for sequences for microbial community sequence analysis. This
+ is a C++ implementation of the Parsimonious Insertion algorithm.
+ .
+ This package provides test data enabling users to reproduce autopkgtest
+ on a local installation.
diff --git a/debian/parsinsert-testdata.install b/debian/parsinsert-testdata.install
new file mode 100644
index 0000000..a04839b
--- /dev/null
+++ b/debian/parsinsert-testdata.install
@@ -0,0 +1 @@
+debian/tests/test_data	/usr/share/doc/parsinsert
diff --git a/debian/docs b/debian/parsinsert.docs
similarity index 66%
rename from debian/docs
rename to debian/parsinsert.docs
index d5a881e..9a4f4f8 100644
--- a/debian/docs
+++ b/debian/parsinsert.docs
@@ -1,3 +1,2 @@
 debian/README.test
 debian/tests/run-unit-test
-debian/tests/test_data

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



More information about the debian-med-commit mailing list