[med-svn] [python-biom-format] 08/11: Provide command-line tools in separate package.
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Sat Mar 5 18:16:16 UTC 2016
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository python-biom-format.
commit e8a9c8693cbddf1e078b6b169d9971d771feee2a
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Sat Mar 5 17:30:39 2016 +0000
Provide command-line tools in separate package.
---
debian/control | 30 ++++++++++++++++++++++++++++++
debian/manpages | 1 -
debian/rules | 17 +++++++++--------
3 files changed, 39 insertions(+), 9 deletions(-)
diff --git a/debian/control b/debian/control
index f71de43..c4ef680 100644
--- a/debian/control
+++ b/debian/control
@@ -81,3 +81,33 @@ Description: documentation for BIOM format
observed in each genome.
.
This package provides the documentation for the BIOM format Python package.
+
+Package: biom-format-tools
+Architecture: any
+Section: misc
+Depends: ${misc:Depends},
+ ${python:Depends},
+ python-biom-format (= ${binary:Version})
+Description: command-line tools for BIOM format
+ The BIOM file format (canonically pronounced biome) is designed to be a
+ general-use format for representing biological sample by observation
+ contingency tables. BIOM is a recognized standard for the Earth
+ Microbiome Project and is a Genomics Standards Consortium candidate
+ project.
+ .
+ The BIOM format is designed for general use in broad areas of
+ comparative -omics. For example, in marker-gene surveys, the primary use
+ of this format is to represent OTU tables: the observations in this case
+ are OTUs and the matrix contains counts corresponding to the number of
+ times each OTU is observed in each sample. With respect to metagenome
+ data, this format would be used to represent metagenome tables: the
+ observations in this case might correspond to SEED subsystems, and the
+ matrix would contain counts corresponding to the number of times each
+ subsystem is observed in each metagenome. Similarly, with respect to
+ genome data, this format may be used to represent a set of genomes: the
+ observations in this case again might correspond to SEED subsystems, and
+ the counts would correspond to the number of times each subsystem is
+ observed in each genome.
+ .
+ This package provides the command-line tools for the BIOM format Python
+ package.
diff --git a/debian/manpages b/debian/manpages
deleted file mode 100644
index b19f8c8..0000000
--- a/debian/manpages
+++ /dev/null
@@ -1 +0,0 @@
-build/man/*
diff --git a/debian/rules b/debian/rules
index f5c8e4c..b803c33 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,11 +8,12 @@ bindir := $(CURDIR)/debian/$(pkg)/usr/bin
mandir := $(CURDIR)/debian/$(pkg)/usr/share/man/man1
export PYBUILD_NAME=biom-format
+export PYBUILD_DESTDIR_python2=debian/python-$(PYBUILD_NAME)
export PYBUILD_AFTER_INSTALL_python2=dh_numpy
export PYBUILD_BEFORE_TEST=cp -r {dir}/examples {dir}/tests {build_dir}
%:
- dh $@ --with python2 --buildsystem=pybuild
+ dh $@ --with python2,bash-completion --buildsystem=pybuild
override_dh_auto_build-arch:
USE_CYTHON=true dh_auto_build
@@ -21,6 +22,13 @@ override_dh_auto_build-indep:
PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -b html doc build/html
PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -b man doc build/man
+override_dh_auto_install:
+ dh_auto_install
+ # Install command-line scripts in separate tools package.
+ dh_install --sourcedir=$(PYBUILD_DESTDIR_python2) \
+ --package=$(PYBUILD_NAME)-tools usr/bin
+ rm -rf $(PYBUILD_DESTDIR_python2)/usr/bin
+
override_dh_auto_clean:
rm -rf build/tests
dh_auto_clean
@@ -30,13 +38,6 @@ override_dh_auto_clean:
rm -f python-code/support-code/_*.cpp
rm -rf *.egg-info
-override_dh_install:
- dh_install
- dh_bash-completion
- # All *.py scripts simply say
- # "This script no longer exists. ..."
- rm -f $(bindir)/*.py
-
override_dh_installdocs-indep:
dh_installdocs --indep
dh_sphinxdoc --indep
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-biom-format.git
More information about the debian-med-commit
mailing list