[med-svn] [python-ruffus] 01/01: Generate doc package
Andreas Tille
tille at debian.org
Sun Feb 1 15:34:56 UTC 2015
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository python-ruffus.
commit c9d69bc7f938fc3ca813898fa4a54636c9f8265c
Author: Andreas Tille <tille at debian.org>
Date: Sun Feb 1 16:34:41 2015 +0100
Generate doc package
---
debian/control | 24 +++++++++++++++++++++---
debian/rules | 23 +++++------------------
2 files changed, 26 insertions(+), 21 deletions(-)
diff --git a/debian/control b/debian/control
index 090224e..7390a57 100644
--- a/debian/control
+++ b/debian/control
@@ -8,14 +8,15 @@ Build-Depends: debhelper (>= 9),
python-all-dev,
python-setuptools,
python3-all-dev,
- python3-setuptools
+ python3-setuptools,
+ python-sphinx
Standards-Version: 3.9.6
Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/python-ruffus.git
Vcs-Git: git://anonscm.debian.org/debian-med/python-ruffus.git
Homepage: http://www.ruffus.org.uk/
Package: python-ruffus
-Architecture: any
+Architecture: all
Depends: ${shlibs:Depends},
${misc:Depends},
${python:Depends}
@@ -31,7 +32,7 @@ Description: Python computation pipeline library widely used in bioinformatics
small thing well.
Package: python3-ruffus
-Architecture: any
+Architecture: all
Depends: ${shlibs:Depends},
${misc:Depends},
${python3:Depends}
@@ -48,4 +49,21 @@ Description: Python3 computation pipeline library widely used in bioinformatics
.
This package provides python3 modules.
+Package: python-ruffus-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends},
+ ${sphinxdoc:Depends}
+Description: documentation for Python computation pipeline library widely used in bioinformatics
+ Ruffus is designed to allow scientific and other analyses to be automated
+ with the minimum of fuss and the least effort.
+ .
+ * Lightweight: Suitable for the simplest of tasks
+ * Scalable: Handles even fiendishly complicated pipelines which would cause
+ make or scons to go cross-eyed and recursive.
+ * Standard Python: No "clever magic", no pre-processing.
+ * Unintrusive: Unambitious, lightweight syntax which tries to do this one
+ small thing well.
+ .
+ This package provides modules documentation.
diff --git a/debian/rules b/debian/rules
index 519bacb..92c0d45 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,25 +2,12 @@
DH_VERBOSE := 1
-# some helpful variables - uncomment them if needed
-# shamelessly stolen from http://jmtd.net/log/awk/
-#DEBVERS := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')
-#VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/^[0-9]*://' -e 's/-.*//')
-#DEBFLAVOR := $(shell dpkg-parsechangelog | awk '/^Distribution:/ {print $$2}')
-#DEBPKGNAME := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
-#DEBIAN_BRANCH := $(shell awk 'BEGIN{FS="[= ]+"} /debian-branch/ {print $$2}' debian/gbp.conf)
-#GIT_TAG := $(subst ~,_,$(VERSION))
-
-# alternatively to manually set those variables you can
-# include /usr/share/cdbs/1/rules/buildvars.mk
-# and use what is set there. Any hint whether dh might set variables in
-# a similar manner are welcome.
-
-# Uncomment this to turn on verbose mode.
export PYBUILD_NAME=ruffus
%:
- dh $@ --with python2,python3 --buildsystem=pybuild
+ dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
-#get-orig-source:
-# . debian/get-orig-source
+override_dh_installdocs:
+ PYTHONPATH=`pwd` make -C doc html
+ dh_installdocs -ppython-ruffus-doc doc/_build/html
+ dh_installdocs -A
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-ruffus.git
More information about the debian-med-commit
mailing list