[med-svn] [python-multipletau] 01/01: d/control: - fix Homepage - add pythonX-sphinx to Build-Depends - added stanza for the documentation package python-multipletau-doc - improved Description d/rules: build docs using dh_sphinxdoc d/python-multipletau-doc.doc-base: added doc-base d/copyright: fixed license syntax

Alex Mestiashvili malex-guest at moszumanska.debian.org
Fri May 2 12:26:27 UTC 2014


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

malex-guest pushed a commit to branch master
in repository python-multipletau.

commit d225eb446ad8fca846b287df904ce73e9dd7413e
Author: Alexandre Mestiashvili <alex at biotec.tu-dresden.de>
Date:   Fri May 2 11:03:30 2014 +0200

    d/control:
     - fix Homepage
     - add pythonX-sphinx to Build-Depends
     - added stanza for the documentation package python-multipletau-doc
     - improved Description
    d/rules: build docs using dh_sphinxdoc
    d/python-multipletau-doc.doc-base: added doc-base
    d/copyright: fixed license syntax
---
 debian/control                         | 31 ++++++++++++++-------
 debian/copyright                       | 49 +++++++++++++++-------------------
 debian/python-multipletau-doc.doc-base |  9 +++++++
 debian/rules                           | 12 ++++++++-
 4 files changed, 64 insertions(+), 37 deletions(-)

diff --git a/debian/control b/debian/control
index 034c365..30e48d3 100644
--- a/debian/control
+++ b/debian/control
@@ -8,43 +8,56 @@ Build-Depends:
  dh-python,
  python-all (>= 2.6.6-3),
  python-setuptools,
+ python-sphinx,
  python3-all,
  python3-setuptools,
  python-numpy,
  python3-numpy,
+ python3-sphinx,
 X-Python-Version: >= 2.6
 X-Python3-Version: >= 3.2
 Standards-Version: 3.9.5
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-med/python-multipletau.git
 Vcs-Git: git://anonscm.debian.org/debian-med/python-multipletau.git
-Homepage: http://paulmueller.github.io/python-multipletau
+Homepage: http://paulmueller.github.io/multipletau
 
 
 Package: python-multipletau
 Architecture: all
 Depends: ${misc:Depends}, ${python:Depends},
  python-numpy,
-Description: A multiple-tau algorithm for Python/NumPy.
+Description: multiple-tau algorithm for Python/NumPy
  Multipe-tau correlation is computed on a logarithmic scale (less
  data points are computed) and is thus much faster than conventional
- correlation on a linear scale such as `numpy.correlate`.
+ correlation on a linear scale such as `numpy.correlate`
  . 
  An online reference is available
- at http://paulmueller.github.io/multipletau/.
+ at http://paulmueller.github.io/multipletau
  .
- This is the Python 2 version of the package.
+ This is the Python 2 version of the package
 
 
 Package: python3-multipletau
 Architecture: all
 Depends: ${misc:Depends}, ${python3:Depends},
  python3-numpy,
-Description: A multiple-tau algorithm for Python/NumPy.
+Description: multiple-tau algorithm for Python/NumPy
  Multipe-tau correlation is computed on a logarithmic scale (less
  data points are computed) and is thus much faster than conventional
- correlation on a linear scale such as `numpy.correlate`.
+ correlation on a linear scale such as `numpy.correlate`
  . 
  An online reference is available
- at http://paulmueller.github.io/multipletau/.
+ at http://paulmueller.github.io/multipletau
  .
- This is the Python 3 version of the package.
+ This is the Python 3 version of the package
+
+
+Package: python-multipletau-doc
+Architecture: all
+Depends: ${misc:Depends}, ${sphinxdoc:Depends}
+Section: doc
+Description: documentation for multipletau python module
+ This package contains HTML documentation for python-multipletau
+ . 
+ An online reference is available
+ at http://paulmueller.github.io/multipletau
diff --git a/debian/copyright b/debian/copyright
index 9c0ba3f..adc8e34 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -12,30 +12,25 @@ License: BSD-3-Clause
 
 License: BSD-3-Clause
  Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are
- met:
- 
-   1. Redistributions of source code must retain the above copyright
-      notice, this list of conditions and the following disclaimer.
- 
-   2. Redistributions in binary form must reproduce the above copyright
-      notice, this list of conditions and the following disclaimer in
-      the documentation and/or other materials provided with the
-      distribution.
- 
-   3. Neither the name of multipletau nor the names of its contributors
-      may be used to endorse or promote products derived from this
-      software without specific prior written permission.
- 
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL INFRAE OR
- CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
+ modification, are permitted provided that the following conditions are met:
+ .
+ Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+ .
+ Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+ .
+ The name of the author may not be used to endorse or promote products
+ derived from this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+ EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+ OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+ OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/debian/python-multipletau-doc.doc-base b/debian/python-multipletau-doc.doc-base
new file mode 100644
index 0000000..5ed55f0
--- /dev/null
+++ b/debian/python-multipletau-doc.doc-base
@@ -0,0 +1,9 @@
+Document: python-multipletau
+Title: multiple-tau algorithm for Python/NumPy
+Author: Paul Mueller
+Abstract: Documentation for multipe-tau algorithm.
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-multipletau-doc/html/index.html
+Files: /usr/share/doc/python-multipletau-doc/html/*
diff --git a/debian/rules b/debian/rules
index 0f75e5d..0785313 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,16 @@
 
 export DH_VERBOSE=1
 export PYBUILD_NAME=multipletau
+pkg := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
 
 %:
-	dh $@ --with python2,python3 --buildsystem=pybuild
+	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+
+overrdie_dh_auto_build:
+	dh_auto_build
+	cd $(CURDIR)/doc && make html
+
+override_dh_installdocs:
+	PYTHONPATH=`pwd` make -C doc html
+	dh_installdocs -ppython-multipletau-doc doc/_build/html
+	dh_installdocs -A

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



More information about the debian-med-commit mailing list