[med-svn] [jellyfish1] 08/12: Split libjellyfish and libjellyfish-dev packages up from single package, add jellyfish-examples package containing test suite

Andreas Tille tille at debian.org
Tue Nov 17 07:42:31 UTC 2015


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

tille pushed a commit to tag debian/2.1.4-1
in repository jellyfish1.

commit 24bb68f4b8b39e89a80b8b3c99054423f156ae7e
Author: Andreas Tille <tille at debian.org>
Date:   Wed Oct 8 21:13:58 2014 +0200

    Split libjellyfish and libjellyfish-dev packages up from single package, add jellyfish-examples package containing test suite
---
 debian/changelog                                   |  2 +
 debian/control                                     | 73 +++++++++++++++++++++-
 debian/jellyfish-examples.examples                 |  2 +
 debian/jellyfish-examples.install                  |  2 +
 debian/{docs => jellyfish.docs}                    |  0
 debian/jellyfish.install                           |  1 +
 ...ntian-overrides => jellyfish.lintian-overrides} |  0
 debian/{manpages => jellyfish.manpages}            |  0
 debian/rules                                       | 10 ++-
 9 files changed, 88 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 01343b3..4f688a4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,8 @@ jellyfish (2.1.4-1) UNRELEASED; urgency=medium
      - Additional copyright paragraph for unit tests
   * checking whether it is possible to use Debian packaged libjsoncpp
     failed - add lintian override to use internal one
+  * Split libjellyfish and libjellyfish-dev packages up from single
+    package, add jellyfish-examples package containing test suite
 
  -- Andreas Tille <tille at debian.org>  Sat, 04 Oct 2014 19:06:43 +0200
 
diff --git a/debian/control b/debian/control
index 2cde7a7..42cd984 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,7 @@ Section: science
 Priority: optional
 Build-Depends: debhelper (>= 9),
                dh-autoreconf,
+               d-shlibs,
                yaggo,
                pkg-config,
                bc,
@@ -19,7 +20,8 @@ Homepage: http://www.cbcb.umd.edu/software/jellyfish/
 Package: jellyfish
 Architecture: any-amd64
 Depends: ${shlibs:Depends},
-         ${misc:Depends}
+         ${misc:Depends},
+         libjellyfish-2.0-2 (= ${source:Version})
 Description: count k-mers in DNA sequences
  JELLYFISH is a tool for fast, memory-efficient counting of k-mers in
  DNA. A k-mer is a substring of length k, and counting the occurrences
@@ -34,3 +36,72 @@ Description: count k-mers in DNA sequences
  files containing DNA sequences. It outputs its k-mer counts in an
  binary format, which can be translated into a human-readable text
  format using the "jellyfish dump" command.
+
+Package: libjellyfish-2.0-2
+Architecture: any-amd64
+Section: libs
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Description: count k-mers in DNA sequences (dynamic library of jellyfish)
+ JELLYFISH is a tool for fast, memory-efficient counting of k-mers in
+ DNA. A k-mer is a substring of length k, and counting the occurrences
+ of all such substrings is a central step in many analyses of DNA
+ sequence. JELLYFISH can count k-mers using an order of magnitude less
+ memory and an order of magnitude faster than other k-mer counting
+ packages by using an efficient encoding of a hash table and by
+ exploiting the "compare-and-swap" CPU instruction to increase
+ parallelism.
+ .
+ JELLYFISH is a command-line program that reads FASTA and multi-FASTA
+ files containing DNA sequences. It outputs its k-mer counts in an
+ binary format, which can be translated into a human-readable text
+ format using the "jellyfish dump" command.
+ .
+ This package contains the dynamic library the main executable of
+ jellyfish is linked to.
+
+Package: libjellyfish-2.0-dev
+Architecture: any-amd64
+Section: libdevel
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         libjellyfish-2.0-2 (= ${source:Version})
+Description: count k-mers in DNA sequences (development files of jellyfish)
+ JELLYFISH is a tool for fast, memory-efficient counting of k-mers in
+ DNA. A k-mer is a substring of length k, and counting the occurrences
+ of all such substrings is a central step in many analyses of DNA
+ sequence. JELLYFISH can count k-mers using an order of magnitude less
+ memory and an order of magnitude faster than other k-mer counting
+ packages by using an efficient encoding of a hash table and by
+ exploiting the "compare-and-swap" CPU instruction to increase
+ parallelism.
+ .
+ JELLYFISH is a command-line program that reads FASTA and multi-FASTA
+ files containing DNA sequences. It outputs its k-mer counts in an
+ binary format, which can be translated into a human-readable text
+ format using the "jellyfish dump" command.
+ .
+ This package contains the development files (static library and
+ header files)
+
+Package: jellyfish-examples
+Architecture: any-amd64
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Description: count k-mers in DNA sequences (examples for testing)
+ JELLYFISH is a tool for fast, memory-efficient counting of k-mers in
+ DNA. A k-mer is a substring of length k, and counting the occurrences
+ of all such substrings is a central step in many analyses of DNA
+ sequence. JELLYFISH can count k-mers using an order of magnitude less
+ memory and an order of magnitude faster than other k-mer counting
+ packages by using an efficient encoding of a hash table and by
+ exploiting the "compare-and-swap" CPU instruction to increase
+ parallelism.
+ .
+ JELLYFISH is a command-line program that reads FASTA and multi-FASTA
+ files containing DNA sequences. It outputs its k-mer counts in an
+ binary format, which can be translated into a human-readable text
+ format using the "jellyfish dump" command.
+ .
+ This package contains examples to test the package
+
diff --git a/debian/jellyfish-examples.examples b/debian/jellyfish-examples.examples
new file mode 100644
index 0000000..e58a471
--- /dev/null
+++ b/debian/jellyfish-examples.examples
@@ -0,0 +1,2 @@
+tests/*.sh*
+unit_tests/unit_tests.sh
diff --git a/debian/jellyfish-examples.install b/debian/jellyfish-examples.install
new file mode 100644
index 0000000..5f71f33
--- /dev/null
+++ b/debian/jellyfish-examples.install
@@ -0,0 +1,2 @@
+bin/.libs/generate_sequence	usr/lib/jellyfish/bin
+bin/.libs/test_all		usr/lib/jellyfish/bin
diff --git a/debian/docs b/debian/jellyfish.docs
similarity index 100%
rename from debian/docs
rename to debian/jellyfish.docs
diff --git a/debian/jellyfish.install b/debian/jellyfish.install
new file mode 100644
index 0000000..3357224
--- /dev/null
+++ b/debian/jellyfish.install
@@ -0,0 +1 @@
+bin/.libs/jellyfish	usr/bin
diff --git a/debian/lintian-overrides b/debian/jellyfish.lintian-overrides
similarity index 100%
rename from debian/lintian-overrides
rename to debian/jellyfish.lintian-overrides
diff --git a/debian/manpages b/debian/jellyfish.manpages
similarity index 100%
rename from debian/manpages
rename to debian/jellyfish.manpages
diff --git a/debian/rules b/debian/rules
index 7e6c876..f8f5524 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,12 +1,20 @@
 #!/usr/bin/make -f
 
+DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
+
 export DH_OPTIONS
 
 %:
 	dh $@ --with autoreconf
 
 override_dh_install:
-	dh_install -X*.a -X*.la -Xpkgconfig
+	# dh_install -X*.a -X*.la -Xpkgconfig
+	dh_install
+	d-shlibmove --commit \
+		    --multiarch \
+		    --devunversioned \
+		    --movedev "debian/tmp/usr/include/$(DEBPKGNAME)*/$(DEBPKGNAME)/*.hpp" usr/include/$(DEBPKGNAME) \
+		        debian/tmp/usr/lib/*/lib$(DEBPKGNAME)-*.so
 
 override_dh_clean:
 	dh_clean

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



More information about the debian-med-commit mailing list