[Python-modules-commits] r11943 - in packages/python-whoosh/trunk/debian (4 files)

aelmahmoudy-guest at users.alioth.debian.org aelmahmoudy-guest at users.alioth.debian.org
Thu Feb 25 07:49:26 UTC 2010


    Date: Thursday, February 25, 2010 @ 07:49:25
  Author: aelmahmoudy-guest
Revision: 11943

* debian/control: add python-sphinx to Build-Depeneds-Indep to build
  documentation.
* debian/rules:
  + override dh_auto_build to also build documentation.
  + override dh_compress to avoid compressing Whoosh documentation files.

Added:
  packages/python-whoosh/trunk/debian/python-whoosh.docs
Modified:
  packages/python-whoosh/trunk/debian/changelog
  packages/python-whoosh/trunk/debian/control
  packages/python-whoosh/trunk/debian/rules

Modified: packages/python-whoosh/trunk/debian/changelog
===================================================================
--- packages/python-whoosh/trunk/debian/changelog	2010-02-25 07:16:53 UTC (rev 11942)
+++ packages/python-whoosh/trunk/debian/changelog	2010-02-25 07:49:25 UTC (rev 11943)
@@ -1,7 +1,12 @@
 python-whoosh (0.3.18-1) unstable; urgency=low
 
   * New upstream release.
-  * debian/rules: override dh_auto_test to run test suite.
+  * debian/control: add python-sphinx to Build-Depeneds-Indep to build
+    documentation.
+  * debian/rules:
+    + override dh_auto_test to run test suite.
+    + override dh_auto_build to also build documentation.
+    + override dh_compress to avoid compressing Whoosh documentation files.
 
  -- أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at users.sourceforge.net>  Thu, 25 Feb 2010 08:49:55 +0200
 

Modified: packages/python-whoosh/trunk/debian/control
===================================================================
--- packages/python-whoosh/trunk/debian/control	2010-02-25 07:16:53 UTC (rev 11942)
+++ packages/python-whoosh/trunk/debian/control	2010-02-25 07:49:25 UTC (rev 11943)
@@ -4,7 +4,7 @@
 Uploaders: Daniel Watkins <daniel.watkins at credativ.co.uk>, أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at users.sourceforge.net>
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Build-Depends: debhelper (>= 7.0.50), python-setuptools
-Build-Depends-Indep: python-support, python-pyparsing
+Build-Depends-Indep: python-support, python-pyparsing, python-sphinx
 Standards-Version: 3.8.4
 Homepage: http://whoosh.ca/
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-whoosh/trunk/

Added: packages/python-whoosh/trunk/debian/python-whoosh.docs
===================================================================
--- packages/python-whoosh/trunk/debian/python-whoosh.docs	                        (rev 0)
+++ packages/python-whoosh/trunk/debian/python-whoosh.docs	2010-02-25 07:49:25 UTC (rev 11943)
@@ -0,0 +1 @@
+docs/build/html/

Modified: packages/python-whoosh/trunk/debian/rules
===================================================================
--- packages/python-whoosh/trunk/debian/rules	2010-02-25 07:16:53 UTC (rev 11942)
+++ packages/python-whoosh/trunk/debian/rules	2010-02-25 07:49:25 UTC (rev 11943)
@@ -7,6 +7,10 @@
 
 PYVERS:=$(shell pyversions -vr)
 
+override_dh_auto_build:
+	dh_auto_build
+	mkdir docs/build && python setup.py build_sphinx
+
 override_dh_auto_test:
 	for py in $(PYVERS); do  \
 	  python$$py setup.py test ;\
@@ -19,3 +23,6 @@
 override_dh_fixperms:
 	dh_fixperms
 	chmod -x debian/python-whoosh/usr/share/pyshared/*.egg-info/*
+
+override_dh_compress:
+	dh_compress -Xdoc/python-whoosh/html




More information about the Python-modules-commits mailing list