[med-svn] [pbalign] 01/04: Create a pbalign package with no Python prefix

Afif Elghraoui afif-guest at moszumanska.debian.org
Mon Sep 7 21:50:44 UTC 2015


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

afif-guest pushed a commit to branch master
in repository pbalign.

commit f0ce7fc9b9b667e011e36d13bf9465212b903dd0
Author: Afif Elghraoui <afif at ghraoui.name>
Date:   Mon Sep 7 14:29:33 2015 -0700

    Create a pbalign package with no Python prefix
    
    * Place the scripts and manpages generated from building python-pbalign
      into pbalign
    * Remove python-pkg-resources dependency from python-pbalign and
      add it to pbalign, since it's only necessary for the scripts to
      work (and not the library itself).
---
 debian/control | 22 +++++++++++++++++++++-
 debian/rules   |  6 ++++--
 2 files changed, 25 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index 3579e7e..65978e4 100644
--- a/debian/control
+++ b/debian/control
@@ -17,10 +17,11 @@ Homepage: https://github.com/PacificBiosciences/pbalign
 Vcs-Git: git://anonscm.debian.org/debian-med/pbalign.git
 Vcs-Browser: http://anonscm.debian.org/cgit/debian-med/pbalign.git
 
-Package: python-pbalign
+Package: pbalign
 Architecture: all
 Depends: ${misc:Depends},
 	 ${python:Depends},
+	 python-pbalign,
 	 python-pkg-resources,
 	 blasr
 Recommends: python-pbh5tools,
@@ -36,6 +37,25 @@ Description: map Pacific Biosciences reads to reference DNA sequences
  .
  This package is part of the SMRTAnalysis suite.
 
+Package: python-pbalign
+Architecture: all
+Depends: ${misc:Depends},
+	 ${python:Depends},
+	 blasr
+Recommends: python-pbh5tools,
+	    hdf5-tools
+Suggests: bowtie2,
+	  gmap,
+	  python-pbalign-doc
+Description: map Pacific Biosciences reads to reference DNA sequences (Python2)
+ pbalign aligns PacBio reads to reference sequences, filters aligned
+ reads according to user-specific filtering criteria, and converts the
+ output to either the SAM format or PacBio Compare HDF5 (e.g., .cmp.h5)
+ format.
+ .
+ pbalign is part of the SMRTAnalysis suite. This package provides the
+ Python library backend.
+
 Package: python-pbalign-doc
 Section: doc
 Architecture: all
diff --git a/debian/rules b/debian/rules
index 253f061..6230d3a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,7 @@ export PYBUILD_NAME = pbalign
 BUILDDIR = $(CURDIR)/debian/python-pbalign
 BINDIR=$(BUILDDIR)/usr/bin
 HELP2MAN = help2man --no-info --version-string $(DEB_VERSION_UPSTREAM)
-MANDIR = $(BUILDDIR)/usr/share/man/man1
+MANDIR = $(CURDIR)/debian/$(DEB_SOURCE)/usr/share/man/man1
 
 %:
 	LC_ALL=C.UTF-8 dh $@ --with=python2 --buildsystem=pybuild
@@ -53,4 +53,6 @@ override_dh_install:
 	    mv $(BINDIR)/$$script.py $(BINDIR)/$$script;	\
 	    mv $(MANDIR)/$$script.py.1 $(MANDIR)/$$script.1;	\
 	done
-
+	# Place executables in the pbalign package
+	mkdir -p $(CURDIR)/debian/$(DEB_SOURCE)/usr/bin
+	mv $(BINDIR)/* $(CURDIR)/debian/$(DEB_SOURCE)/usr/bin

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



More information about the debian-med-commit mailing list