[med-svn] [python-pbcommand] 01/01: Simple doc packaging

Afif Elghraoui afif-guest at moszumanska.debian.org
Mon Oct 26 07:50:09 UTC 2015


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

afif-guest pushed a commit to branch topic/doc-package
in repository python-pbcommand.

commit 36312db1990056592f991b067e2f998b43343fda
Author: Afif Elghraoui <afif at ghraoui.name>
Date:   Mon Oct 26 00:32:35 2015 -0700

    Simple doc packaging
---
 debian/control | 18 ++++++++++++++++++
 debian/rules   |  2 +-
 2 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 66e26c2..a5af504 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Build-Depends:
 	debhelper (>= 9),
 	dh-python,
 	python-all,
+	python-sphinx,
 	python-setuptools,
 	python-xmlbuilder,
 	python-jsonschema,
@@ -26,6 +27,7 @@ Depends: ${misc:Depends},
 	 ${python:Depends},
 	 python-numpy
 Recommends: python-pbcore
+Suggests: python-pbcommand-doc
 Description: common command-line interface for Pacific Biosciences analysis modules
  To integrate with the pbsmrtpipe workflow engine, one must to be able to
  generate a Tool Contract and to be able to run from a Resolved Tool Contract.
@@ -35,3 +37,19 @@ Description: common command-line interface for Pacific Biosciences analysis modu
  have been defined in external Python packages, or scripts. Second, creating a
  CLI tool that supports emitting tool contracts, running resolved tool contracts
  and complete argparse-style CLI.
+
+Package: python-pbcommand-doc
+Architecture: all
+Depends: ${misc:Depends},
+	 ${sphinxdoc:Depends}
+Description: common command-line interface for Pacific Biosciences analysis modules (API documentation)
+ To integrate with the pbsmrtpipe workflow engine, one must to be able to
+ generate a Tool Contract and to be able to run from a Resolved Tool Contract.
+ A Tool Contract contains the metadata of the exe, such as the file types of
+ inputs, outputs and options.
+ There are two principal use cases, first wrapping/calling python functions that
+ have been defined in external Python packages, or scripts. Second, creating a
+ CLI tool that supports emitting tool contracts, running resolved tool contracts
+ and complete argparse-style CLI.
+ .
+ This package contains the API documentation
diff --git a/debian/rules b/debian/rules
index 5ceedab..7e7eb57 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,7 +8,7 @@ include /usr/share/dpkg/default.mk
 export PYBUILD_NAME=pbcommand
 
 %:
-	LC_ALL=C.UTF-8 dh $@ --with python2 --buildsystem=pybuild
+	LC_ALL=C.UTF-8 dh $@ --with python2,sphinxdoc --buildsystem=pybuild
 
 override_dh_auto_test:
 	PYTHONPATH=$(CURDIR) \

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



More information about the debian-med-commit mailing list