[med-svn] [pipasic] 01/01: Add examples package

Andreas Tille tille at debian.org
Tue Sep 29 19:27:55 UTC 2015


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

tille pushed a commit to branch master
in repository pipasic.

commit 01bfded7280eac137816d46e55e8ff8c3aff8b44
Author: Andreas Tille <tille at debian.org>
Date:   Tue Sep 29 21:27:32 2015 +0200

    Add examples package
---
 debian/changelog                      |  2 +-
 debian/control                        | 30 ++++++++++++++++++++++++++++--
 debian/{install => pipasic.install}   |  0
 debian/{links => pipasic.links}       |  0
 debian/{manpages => pipasic.manpages} |  0
 debian/rules                          | 11 ++++++++++-
 6 files changed, 39 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index d088797..37c930c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-pipasic (0.0.15-1) UNRELEASED; urgency=low
+pipasic (0.0.r15-1) UNRELEASED; urgency=low
 
   * Initial release (Closes: #<bug>)
     TODO: Write test suite
diff --git a/debian/control b/debian/control
index 8101070..c76bdde 100644
--- a/debian/control
+++ b/debian/control
@@ -4,19 +4,20 @@ Priority: optional
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
 Uploaders: Andreas Tille <tille at debian.org>
 Build-Depends: debhelper (>= 9),
-               python-all-dev
+               python-all
 Standards-Version: 3.9.6
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/pipasic.git
 Vcs-Git: git://anonscm.debian.org/debian-med/pipasic.git
 Homepage: http://sourceforge.net/projects/pipasic/
 
 Package: pipasic
-Architecture: any
+Architecture: all
 Depends: ${python:Depends},
          ${misc:Depends},
          python-biopython,
          python-numpy,
          python-matplotlib
+Suggests: pipasic-example
 Description: Protein Abundance Correction in Metaproteomic Data 
  Metaproteomic analysis allows studying the interplay of organisms or
  functional groups and has become increasingly popular also for
@@ -35,3 +36,28 @@ Description: Protein Abundance Correction in Metaproteomic Data
  framework. pipasic has distinct advantages over approaches only
  regarding unique peptides or aggregating results to the lowest common
  ancestor.
+
+Package: pipasic-example
+Architecture: all
+Depends: ${misc:Depends}
+Enhances: pipasic
+Description: Protein Abundance Correction in Metaproteomic Data (example)
+ Metaproteomic analysis allows studying the interplay of organisms or
+ functional groups and has become increasingly popular also for
+ diagnostic purposes. However, difficulties arise due to the high
+ sequence similarity between related organisms. Further, the state of
+ conservation of proteins between species can be correlated with their
+ expression level which can lead to significant bias in results and
+ interpretation. These challenges are similar but not identical to the
+ challenges arising in the analysis of metagenomic samples and require
+ specific solutions.
+ .
+ pipasic (peptide intensity-weighted proteome abundance similarity
+ correction) is a tool which corrects identification and spectral
+ counting based quantification results using peptide similarity
+ estimation and expression level weighting within a non-negative lasso
+ framework. pipasic has distinct advantages over approaches only
+ regarding unique peptides or aggregating results to the lowest common
+ ancestor.
+ .
+ This package provides example data to test pipasic.
diff --git a/debian/install b/debian/pipasic.install
similarity index 100%
rename from debian/install
rename to debian/pipasic.install
diff --git a/debian/links b/debian/pipasic.links
similarity index 100%
rename from debian/links
rename to debian/pipasic.links
diff --git a/debian/manpages b/debian/pipasic.manpages
similarity index 100%
rename from debian/manpages
rename to debian/pipasic.manpages
diff --git a/debian/rules b/debian/rules
index 7d11dde..5adafdd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,16 @@
 
 # DH_VERBOSE := 1
 
-DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
+DEBPKGNAME	:= $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
+pkgexample	:= $(DEBPKGNAME)-example
 
 %:
 	dh $@ --with python2
+
+override_dh_install:
+	dh_install
+	mkdir -p debian/$(pkgexample)/usr/share/doc/$(DEBPKGNAME)
+	cd debian/$(pkgexample)/usr/share/doc/$(DEBPKGNAME) && \
+	    tar xaf $(CURDIR)/examples/example.tar.gz && \
+	    mv example examples && \
+	    find examples -type f -exec chmod 644 \{\} \;

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



More information about the debian-med-commit mailing list