[med-svn] [python-pbh5tools] 01/07: Split command-line executables into a separate binary package
Afif Elghraoui
afif-guest at moszumanska.debian.org
Mon Feb 15 07:17:34 UTC 2016
This is an automated email from the git hooks/post-receive script.
afif-guest pushed a commit to branch master
in repository python-pbh5tools.
commit e4b13ad8e8df4659e02ed1ff099735c63776bf45
Author: Afif Elghraoui <afif at ghraoui.name>
Date: Sun Feb 14 21:15:28 2016 -0800
Split command-line executables into a separate binary package
Users will most likely only want the command line tools. They
shouldn't be concerned with the fact that the implementation is
in Python and have to find the package as python-pbh5tools.
The source package ought to be renamed as well, but that is less
critical and more difficult.
---
debian/control | 21 ++++++++++++++++++---
debian/{python-pbh5tools.links => pbh5tools.links} | 0
...python-pbh5tools.manpages => pbh5tools.manpages} | 0
debian/rules | 6 +++---
4 files changed, 21 insertions(+), 6 deletions(-)
diff --git a/debian/control b/debian/control
index 39b17d3..a2598d5 100644
--- a/debian/control
+++ b/debian/control
@@ -16,19 +16,34 @@ Homepage: https://github.com/PacificBiosciences/pbh5tools
Vcs-Git: git://anonscm.debian.org/debian-med/python-pbh5tools.git
Vcs-Browser: http://anonscm.debian.org/cgit/debian-med/python-pbh5tools.git
+Package: pbh5tools
+Section: science
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python:Depends},
+ python-pbh5tools (>= ${binary:Version})
+ python-pkg-resources,
+Description: tools for manipulating HDF5 files produced by Pacific Biosciences
+ This package provides functionality for manipulating and extracting data
+ from cmp.h5 and bas.h5 files produced by the Pacific Biosciences sequencers.
+ cmp.h5 files contain alignment information while bas.h5 files contain
+ base-call information.
+ .
+ This package is part of the SMRTAnalysis suite.
+
Package: python-pbh5tools
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends},
${python:Depends},
- python-pkg-resources
-Description: tools for manipulating HDF5 files produced by Pacific Biosciences
+Description: tools for manipulating HDF5 files produced by Pacific Biosciences -- Python 2 library
This package provides functionality for manipulating and extracting data
from cmp.h5 and bas.h5 files produced by the Pacific Biosciences sequencers.
cmp.h5 files contain alignment information while bas.h5 files contain
base-call information.
.
- This package is part of the SMRTAnalysis suite.
+ This package is part of the SMRTAnalysis suite and provides the Python 2 backend library
Package: python-pbh5tools-doc
Section: doc
diff --git a/debian/python-pbh5tools.links b/debian/pbh5tools.links
similarity index 100%
rename from debian/python-pbh5tools.links
rename to debian/pbh5tools.links
diff --git a/debian/python-pbh5tools.manpages b/debian/pbh5tools.manpages
similarity index 100%
rename from debian/python-pbh5tools.manpages
rename to debian/pbh5tools.manpages
diff --git a/debian/rules b/debian/rules
index d112c6d..2adcaae 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
-BINDIR=$(CURDIR)/debian/$(DEB_SOURCE)/usr/bin
+BINDIR=$(CURDIR)/debian/pbh5tools/usr/bin
export PYBUILD_NAME = pbh5tools
@@ -18,8 +18,8 @@ override_dh_install:
dh_install
# We do this here rather than in .install files so that debhelper
# takes care of the #!/usr/bin/env lines for us
- mv $(BINDIR)/bash5tools.py $(BINDIR)/bash5tools
- mv $(BINDIR)/cmph5tools.py $(BINDIR)/cmph5tools
+ mv debian/python-pbh5tools/usr/bin/bash5tools.py $(BINDIR)/bash5tools
+ mv debian/python-pbh5tools/usr/bin/cmph5tools.py $(BINDIR)/cmph5tools
override_dh_auto_test:
PYBUILD_SYSTEM=custom \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-pbh5tools.git
More information about the debian-med-commit
mailing list