[Python-modules-commits] r34413 - in packages/pywavelets/trunk/debian (5 files)

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Tue Sep 29 16:51:34 UTC 2015


    Date: Tuesday, September 29, 2015 @ 16:51:32
  Author: eriol-guest
Revision: 34413

Build python-pywt-doc to ship documentation

Added:
  packages/pywavelets/trunk/debian/python-pywt-doc.docs
Modified:
  packages/pywavelets/trunk/debian/changelog
  packages/pywavelets/trunk/debian/control
  packages/pywavelets/trunk/debian/docs
  packages/pywavelets/trunk/debian/rules

Modified: packages/pywavelets/trunk/debian/changelog
===================================================================
--- packages/pywavelets/trunk/debian/changelog	2015-09-29 11:00:18 UTC (rev 34412)
+++ packages/pywavelets/trunk/debian/changelog	2015-09-29 16:51:32 UTC (rev 34413)
@@ -3,12 +3,18 @@
   * New upstream release (Closes: #796767).
   * Switch packaging to pybuild.
   * Build Python3 package.
+  * Build python-pywt-doc to ship documentation.
   * debian/compat
     - Bump debhelper compatibility level to 9.
   * debian/control
     - Bump debhelper B-D to (>= 9).
     - Add dh-python, python{,3}-nose, python3-all-dev and python3-numpy to B-D.
     - Add python3-pywt stanza.
+    - Add python-pywt-doc stanza.
+  * debian/docs
+    - Rename README.rts into README.
+  * debian/python-pywt-doc.docs
+    - Ship documentation created with Python Sphinx.
   * debian/patches/01-get_version_from_source.patch
     - Grab version from the source code instead of importing pywt to build
       documentation at package build time.
@@ -17,7 +23,7 @@
   * debian/watch
     - Use pypi.debian.net redirector.
 
- -- Daniele Tricoli <eriol at mornie.org>  Mon, 14 Sep 2015 03:16:39 +0200
+ -- Daniele Tricoli <eriol at mornie.org>  Tue, 29 Sep 2015 18:50:56 +0200
 
 pywavelets (0.2.2-2) unstable; urgency=low
 

Modified: packages/pywavelets/trunk/debian/control
===================================================================
--- packages/pywavelets/trunk/debian/control	2015-09-29 11:00:18 UTC (rev 34412)
+++ packages/pywavelets/trunk/debian/control	2015-09-29 16:51:32 UTC (rev 34413)
@@ -49,3 +49,15 @@
  dimensions.
  .
  This package contains the Python 3 version of the library.
+
+Package: python-pywt-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Description: Python extension implementing of wavelet transformations (Documentation)
+ PyWavelets implements the discrete wavelet transform (DWT) popular in
+ numerical harmonic analysis for numerous families of wavelets, including
+ Haar, Daubechies, Symlet, Coiflet, biorthogonal wavelets in one and two
+ dimensions.
+ .
+ This package contains documentation and examples.

Modified: packages/pywavelets/trunk/debian/docs
===================================================================
--- packages/pywavelets/trunk/debian/docs	2015-09-29 11:00:18 UTC (rev 34412)
+++ packages/pywavelets/trunk/debian/docs	2015-09-29 16:51:32 UTC (rev 34413)
@@ -1,3 +1,2 @@
-README.rst
+README
 THANKS.txt
-doc/build/html

Added: packages/pywavelets/trunk/debian/python-pywt-doc.docs
===================================================================
--- packages/pywavelets/trunk/debian/python-pywt-doc.docs	                        (rev 0)
+++ packages/pywavelets/trunk/debian/python-pywt-doc.docs	2015-09-29 16:51:32 UTC (rev 34413)
@@ -0,0 +1 @@
+doc/build/html

Modified: packages/pywavelets/trunk/debian/rules
===================================================================
--- packages/pywavelets/trunk/debian/rules	2015-09-29 11:00:18 UTC (rev 34412)
+++ packages/pywavelets/trunk/debian/rules	2015-09-29 16:51:32 UTC (rev 34413)
@@ -4,10 +4,14 @@
 export PYTHONWARNINGS=d
 
 %:
-	dh $@ --with python2,python3 --buildsystem=pybuild
+	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
 
 override_dh_auto_test:
 
+override_dh_auto_build:
+	dh_auto_build
+	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml doc/source doc/build/html
+
 override_dh_auto_install:
 	dh_auto_install
 	# Unfortunately, we need to run tests after install because numpy does not




More information about the Python-modules-commits mailing list