]> git.parisson.com Git - timeside.git/commitdiff
debian/: new package python-timeside-doc
authorPaul Brossier <piem@piem.org>
Wed, 2 Oct 2013 09:49:45 +0000 (04:49 -0500)
committerPaul Brossier <piem@piem.org>
Wed, 2 Oct 2013 09:49:45 +0000 (04:49 -0500)
debian/control
debian/patches/disable-numpydoc.patch [new file with mode: 0644]
debian/patches/series [new file with mode: 0644]
debian/python-timeside-doc.doc-base [new file with mode: 0644]
debian/python-timeside-doc.docs [new file with mode: 0644]
debian/rules

index c90f4ffdb1230ab1632ea3e253f51c5b41956748..263d5a1bb82e7d9ae3e99ec824881c7744b00201 100644 (file)
@@ -2,15 +2,17 @@ Source: timeside
 Section: python
 Priority: extra
 Maintainer: Paul Brossier <piem@debian.org>
-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 (file)
index 0000000..db6241b
--- /dev/null
@@ -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 (file)
index 0000000..442f4a8
--- /dev/null
@@ -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 (file)
index 0000000..459321e
--- /dev/null
@@ -0,0 +1,10 @@
+Document: python-timeside
+Title: TimeSide Manual
+Author: Guillaume Pellerin <pellerin@parisson.com>
+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 (file)
index 0000000..8137b04
--- /dev/null
@@ -0,0 +1 @@
+doc/build/html
index 2ebce130e5cbe9b461322403fa00af29ad42902e..698cfe8b22b771b8250ae8b39f5549348871f369 100755 (executable)
 
 %:
        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