[med-svn] [hmmer] 04/04: Create a separate examples package

Andreas Tille tille at debian.org
Tue Jun 21 12:09:50 UTC 2016


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

tille pushed a commit to branch master
in repository hmmer.

commit de35376de4ef747fd42eaf83226dfb827b108368
Author: Andreas Tille <tille at debian.org>
Date:   Tue Jun 21 14:03:14 2016 +0200

    Create a separate examples package
---
 debian/changelog |  1 +
 debian/control   | 21 ++++++++++++++++++---
 debian/rules     |  6 +++---
 3 files changed, 22 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a785fc6..d181498 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,7 @@ hmmer (3.1b2-3) UNRELEASED; urgency=medium
   * Clean up Uploaders from inactive maintainers
   * Better hardening
   * Remove useless .dropbox.attr files from package
+  * Create a separate examples package
 
  -- Canberk Koç <canberkkoc at gmail.com>  Thu, 16 Jun 2016 23:15:55 +0300
 
diff --git a/debian/control b/debian/control
index 00c0dda..d4bff89 100644
--- a/debian/control
+++ b/debian/control
@@ -28,8 +28,7 @@ Description: profile hidden Markov models for protein sequence analysis
 Package: hmmer-doc
 Architecture: all
 Section: doc
-Depends: ${shlibs:Depends},
-         ${misc:Depends}
+Depends: ${misc:Depends}
 Recommends: hmmer (>= ${source:Version}),
             evince | pdf-viewer
 Description: profile hidden Markov models for protein sequence analysis (docs)
@@ -42,4 +41,20 @@ Description: profile hidden Markov models for protein sequence analysis (docs)
  a sequence database to find (and/or align) additional homologues of the
  sequence family.
  .
- This package contains documents and example files for the hmmer package.
+ This package contains the documentation and a tutorial for the hmmer package.
+
+Package: hmmer-examples
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Description: profile hidden Markov models for protein sequence analysis (examples)
+ HMMER is an implementation of profile hidden Markov model methods for
+ sensitive searches of biological sequence databases using multiple sequence
+ alignments as queries.
+ .
+ Given a multiple sequence alignment as input, HMMER builds a statistical
+ model called a "hidden Markov model" which can then be used as a query into
+ a sequence database to find (and/or align) additional homologues of the
+ sequence family.
+ .
+ This package contains example files to test the hmmer package.
diff --git a/debian/rules b/debian/rules
index 1568298..e4ee70b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,8 +5,8 @@
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
-pkgdata:=hmmer
-sampledir:=$(CURDIR)/debian/$(pkgdata)/usr/share/doc/$(pkgdata)/examples
+DEBPKGNAME := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
+sampledir:=$(CURDIR)/debian/$(DEBPKGNAME)-examples/usr/share/doc/$(DEBPKGNAME)/examples
 
 %:
 	dh $@ --with autotools_dev
@@ -45,6 +45,6 @@ override_dh_installexamples:
 	cp -aR easel $(sampledir)/;
 	cp -aR tutorial $(sampledir)/;
 
-override_dh_fixperms
+override_dh_fixperms:
 	dh_fixperms
 	find debian -name .dropbox.attr -delete

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



More information about the debian-med-commit mailing list