[Python-modules-commits] r9426 - in packages/argparse/trunk/debian (changelog control rules)

rrs-guest at users.alioth.debian.org rrs-guest at users.alioth.debian.org
Sat Aug 22 07:56:16 UTC 2009


    Date: Saturday, August 22, 2009 @ 07:56:15
  Author: rrs-guest
Revision: 9426

argparse new upstream release preparation

Bump standards version to 3.8.3
Many build target changes in debian/rules
Generate docs for python-argparse-doc from the upstream doc sources
Many more minor changes

Modified:
  packages/argparse/trunk/debian/changelog
  packages/argparse/trunk/debian/control
  packages/argparse/trunk/debian/rules

Modified: packages/argparse/trunk/debian/changelog
===================================================================
--- packages/argparse/trunk/debian/changelog	2009-08-22 07:56:12 UTC (rev 9425)
+++ packages/argparse/trunk/debian/changelog	2009-08-22 07:56:15 UTC (rev 9426)
@@ -1,3 +1,16 @@
+argparse (1.0-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/rules
+    - Fix build targets
+    - Clean up doc build directory
+  * debian/control
+    - Remove python-epydoc build dependency
+    - Add python-sphinx as build dependency to generate the docs
+  * Update Standards Version to 3.8.3. No changes required.
+
+ -- Ritesh Raj Sarraf <rrs at researchut.com>  Sat, 22 Aug 2009 11:27:43 +0530
+
 argparse (0.9.1-1) unstable; urgency=low
 
   * Initial release (Closes: #532564)

Modified: packages/argparse/trunk/debian/control
===================================================================
--- packages/argparse/trunk/debian/control	2009-08-22 07:56:12 UTC (rev 9425)
+++ packages/argparse/trunk/debian/control	2009-08-22 07:56:15 UTC (rev 9426)
@@ -3,8 +3,8 @@
 Section: python
 Maintainer: Ritesh Raj Sarraf <rrs at researchut.com>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 7), python-epydoc, python-support, python
-Standards-Version: 3.8.2
+Build-Depends: debhelper (>= 7), python-support, python, python-sphinx
+Standards-Version: 3.8.3
 XS-Python-Version: >=2.4
 Vcs-Svn: svn://svn.debian.org/svn/python-modules/packages/argparse/trunk
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/argparse/trunk/

Modified: packages/argparse/trunk/debian/rules
===================================================================
--- packages/argparse/trunk/debian/rules	2009-08-22 07:56:12 UTC (rev 9425)
+++ packages/argparse/trunk/debian/rules	2009-08-22 07:56:15 UTC (rev 9426)
@@ -8,13 +8,23 @@
 build:
 	dh_testdir
 	python setup.py build
+
+	# Generate the docs from the doc sources
+	[ ! -e doc/source ] || sphinx-build doc/source html
+
+	#And clean the cruft
+	[ ! -e html/_sources ] || rm -rf html/_sources
+	[ ! -e html/.doctrees ] || rm -rf html/.doctrees
+	[ ! -e html/.buildinfo ] || rm -rf html/.buildinfo
+	[ ! -e html/objects.inv ] || rm -rf html/objects.inv
+
 	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
 
-	rm -rf html
+	[ ! -e html ] || rm -rf html
 	[ ! -e doc.orig ] || mv doc.orig doc
 
 	python setup.py clean --all
@@ -32,8 +42,6 @@
 
 	python setup.py install --root $(CURDIR)/debian/python-argparse
 
-	# epydoc warns about Indentation problems. But I've verified. It is fine.
-	epydoc argparse.py
 
 binary-indep: build install
 	dh_testdir




More information about the Python-modules-commits mailing list