[Python-modules-commits] r29126 - in packages/sphinxcontrib-spelling/trunk/debian (5 files)

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Wed May 28 03:53:51 UTC 2014


    Date: Wednesday, May 28, 2014 @ 03:53:49
  Author: eriol-guest
Revision: 29126

Added python-sphinxcontrib.spelling-doc package

Added:
  packages/sphinxcontrib-spelling/trunk/debian/python-sphinxcontrib.spelling-doc.doc-base
  packages/sphinxcontrib-spelling/trunk/debian/python-sphinxcontrib.spelling-doc.docs
Modified:
  packages/sphinxcontrib-spelling/trunk/debian/changelog
  packages/sphinxcontrib-spelling/trunk/debian/control
  packages/sphinxcontrib-spelling/trunk/debian/rules

Modified: packages/sphinxcontrib-spelling/trunk/debian/changelog
===================================================================
--- packages/sphinxcontrib-spelling/trunk/debian/changelog	2014-05-28 02:17:22 UTC (rev 29125)
+++ packages/sphinxcontrib-spelling/trunk/debian/changelog	2014-05-28 03:53:49 UTC (rev 29126)
@@ -2,6 +2,7 @@
 
   * New upstream release
   * Switched to pybuild (Closes: #745382)
+  * Added python-sphinxcontrib.spelling-doc package
   * debian/compat
     - Bumped debhelper compatibility level to 9
   * debian/control
@@ -9,10 +10,18 @@
     - Bumped python-all to (>= 2.6.6-3)
     - Bumped debhelper B-D to (>= 9)
     - Bumped Standards-Version to 3.9.5 (no changes needed)
+    - Added stanza for python-sphinxcontrib.spelling.doc package
+  * debian/python-sphinxcontrib.spelling-doc.doc-base
+    - Added doc-base
+  * debian/python-sphinxcontrib.spelling-doc.docs
+    - Added
+  * debian/rules
+    - Built documentation using sphinx-build inside override_dh_auto_build
+    - Cleaned build documentation inside override_dh_auto_clean
   * debian/watch
     - Switched download URL to HTTPS
 
- -- Daniele Tricoli <eriol at mornie.org>  Wed, 28 May 2014 04:16:55 +0200
+ -- Daniele Tricoli <eriol at mornie.org>  Wed, 28 May 2014 05:40:00 +0200
 
 sphinxcontrib-spelling (1.4-1) unstable; urgency=low
 

Modified: packages/sphinxcontrib-spelling/trunk/debian/control
===================================================================
--- packages/sphinxcontrib-spelling/trunk/debian/control	2014-05-28 02:17:22 UTC (rev 29125)
+++ packages/sphinxcontrib-spelling/trunk/debian/control	2014-05-28 03:53:49 UTC (rev 29126)
@@ -41,3 +41,25 @@
     terminology that may not appear in the global dictionaries.
   - Suggests alternatives to words not found in the dictionary, when
     possible.
+
+Package: python-sphinxcontrib.spelling-doc
+Architecture: all
+Section: doc
+Depends:
+ ${misc:Depends},
+ ${sphinxdoc:Depends},
+Description: Sphinx "spelling" extension (documentation)
+ This package contains the spelling extension for the Sphinx documentation
+ system.
+ The extension enables a spelling checker which uses PyEnchant to produce a
+ report showing misspelled words.
+ .
+ The extension also:
+  - Supports multiple source languages using the standard enchant
+    dictionaries.
+  - Supports project-specific dictionaries for localized jargon and other
+    terminology that may not appear in the global dictionaries.
+  - Suggests alternatives to words not found in the dictionary, when
+    possible.
+ .
+ This package contains the HTML documentation.

Added: packages/sphinxcontrib-spelling/trunk/debian/python-sphinxcontrib.spelling-doc.doc-base
===================================================================
--- packages/sphinxcontrib-spelling/trunk/debian/python-sphinxcontrib.spelling-doc.doc-base	                        (rev 0)
+++ packages/sphinxcontrib-spelling/trunk/debian/python-sphinxcontrib.spelling-doc.doc-base	2014-05-28 03:53:49 UTC (rev 29126)
@@ -0,0 +1,9 @@
+Document: python-sphinxcontrib.spelling-doc
+Title: sphinxcontrib.spelling Documentation
+Author: Doug Hellmann
+Abstract: A spelling checker for Sphinx-based documentation.
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-sphinxcontrib.spelling-doc/html/index.html
+Files: /usr/share/doc/python-sphinxcontrib.spelling-doc/html/*

Added: packages/sphinxcontrib-spelling/trunk/debian/python-sphinxcontrib.spelling-doc.docs
===================================================================
--- packages/sphinxcontrib-spelling/trunk/debian/python-sphinxcontrib.spelling-doc.docs	                        (rev 0)
+++ packages/sphinxcontrib-spelling/trunk/debian/python-sphinxcontrib.spelling-doc.docs	2014-05-28 03:53:49 UTC (rev 29126)
@@ -0,0 +1 @@
+docs/_build/html

Modified: packages/sphinxcontrib-spelling/trunk/debian/rules
===================================================================
--- packages/sphinxcontrib-spelling/trunk/debian/rules	2014-05-28 02:17:22 UTC (rev 29125)
+++ packages/sphinxcontrib-spelling/trunk/debian/rules	2014-05-28 03:53:49 UTC (rev 29126)
@@ -4,8 +4,16 @@
 export PYBUILD_NAME=sphinxcontrib.spelling
 
 %:
-	dh $@ --with python2 --buildsystem=pybuild
+	dh $@ --with python2,sphinxdoc --buildsystem=pybuild
 
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -rf docs/_build
+
+override_dh_auto_build:
+	dh_auto_build
+	PYTHONPATH=. sphinx-build -N -bhtml docs/source docs/_build/html
+
 override_dh_auto_test:
 ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
 	set -e; \




More information about the Python-modules-commits mailing list