From: Paul Brossier Date: Wed, 2 Oct 2013 09:49:45 +0000 (-0500) Subject: debian/: new package python-timeside-doc X-Git-Tag: 0.5.0~50 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=a89065f9a0294d57c2aabf97eef835f86c75f1b4;p=timeside.git debian/: new package python-timeside-doc --- diff --git a/debian/control b/debian/control index c90f4ff..263d5a1 100644 --- a/debian/control +++ b/debian/control @@ -2,15 +2,17 @@ Source: timeside Section: python Priority: extra Maintainer: Paul Brossier -Build-Depends: debhelper (>= 8.0.0), python +Build-Depends: debhelper (>= 8.0.0), python, python-sphinx Standards-Version: 3.9.3 Homepage: http://code.google.com/p/timeside +Vcs-Browser: https://github.com/yomguy/TimeSide +Vcs-Git: https://github.com/yomguy/TimeSide.git Package: python-timeside Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-gst0.10, python-aubio, python-yaafe +Depends: ${misc:Depends}, ${shlibs:Depends}, ${python:Depends}, python-gst0.10, python-aubio, python-yaafe Description: open and fast web audio components - TimeSide is a set of python components enabling easy audio processing, + TimeSide is a set of Python components enabling easy audio processing, transcoding, imaging and streaming. Its simple architecture and high-level API have been design to process serial pipelines. . @@ -20,3 +22,14 @@ Description: open and fast web audio components . The engine (server side) is fully written in Python, the player (client side) in HTML, CSS and JavaScript. + +Package: python-timeside-doc +Architecture: all +Section: doc +Depends: ${misc:Depends}, libjs-underscore, libjs-jquery +Description: open and fast web audio components -- documentation + TimeSide is a set of Python components enabling easy audio processing, + transcoding, imaging and streaming. Its simple architecture and high-level + API have been design to process serial pipelines. + . + This package provides the HTML documentation for TimeSide. diff --git a/debian/patches/disable-numpydoc.patch b/debian/patches/disable-numpydoc.patch new file mode 100644 index 0000000..db6241b --- /dev/null +++ b/debian/patches/disable-numpydoc.patch @@ -0,0 +1,12 @@ +disable numpydoc for wheezy +--- a/doc/source/conf.py ++++ b/doc/source/conf.py +@@ -26,7 +26,7 @@ + + # Add any Sphinx extension module names here, as strings. They can be extensions + # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. +-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.coverage', 'sphinx.ext.viewcode', 'sphinx.ext.autosummary', 'numpydoc', 'sphinx.ext.doctest', 'sphinx.ext.coverage'] ++extensions = ['sphinx.ext.autodoc', 'sphinx.ext.coverage', 'sphinx.ext.viewcode', 'sphinx.ext.autosummary', 'sphinx.ext.doctest', 'sphinx.ext.coverage'] + + doctest_path = os.path.abspath('../../') + diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..442f4a8 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +disable-numpydoc.patch diff --git a/debian/python-timeside-doc.doc-base b/debian/python-timeside-doc.doc-base new file mode 100644 index 0000000..459321e --- /dev/null +++ b/debian/python-timeside-doc.doc-base @@ -0,0 +1,10 @@ +Document: python-timeside +Title: TimeSide Manual +Author: Guillaume Pellerin +Abstract: This is a programming manual for the TimeSide Python module. +Section: Programming + +Format: HTML +Index: /usr/share/doc/python-timeside-doc/html/index.html +Files: /usr/share/doc/python-timeside-doc/html/*.html + diff --git a/debian/python-timeside-doc.docs b/debian/python-timeside-doc.docs new file mode 100644 index 0000000..8137b04 --- /dev/null +++ b/debian/python-timeside-doc.docs @@ -0,0 +1 @@ +doc/build/html diff --git a/debian/rules b/debian/rules index 2ebce13..698cfe8 100755 --- a/debian/rules +++ b/debian/rules @@ -11,3 +11,13 @@ %: dh $@ --with python2 + +override_dh_auto_clean: + dh_auto_clean + rm -rf doc/build + +override_dh_auto_build: + dh_auto_build + cd doc; make html; cd .. + ln -sf /usr/share/javascript/jquery/jquery.js doc/build/html/_static/jquery.js + ln -sf /usr/share/javascript/underscore/underscore.js doc/build/html/_static/underscore.js