[Python-modules-commits] r20796 - in packages/routes/trunk/debian (6 files)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Thu Mar 15 21:22:36 UTC 2012


    Date: Thursday, March 15, 2012 @ 21:22:34
  Author: piotr
Revision: 20796

Rebuild and install documentation

Added:
  packages/routes/trunk/debian/dirs
  packages/routes/trunk/debian/links
Modified:
  packages/routes/trunk/debian/changelog
  packages/routes/trunk/debian/control
  packages/routes/trunk/debian/rules
Deleted:
  packages/routes/trunk/debian/docs

Modified: packages/routes/trunk/debian/changelog
===================================================================
--- packages/routes/trunk/debian/changelog	2012-03-15 20:57:34 UTC (rev 20795)
+++ packages/routes/trunk/debian/changelog	2012-03-15 21:22:34 UTC (rev 20796)
@@ -1,7 +1,9 @@
-routes (1.13-1) UNRELEASED; urgency=low
+routes (1.13-1) unstable; urgency=low
 
   * New upstream release
   * Switch from dh_pysupport to dh_python2
+  * Rebuild and install documentation
+    - python-sphinx added to Build-Depends
   * Add build-arch and build-indep targets to debian/rules
   * debhelper's compatibility bumped to 7
   * debian/copyright updated

Modified: packages/routes/trunk/debian/control
===================================================================
--- packages/routes/trunk/debian/control	2012-03-15 20:57:34 UTC (rev 20795)
+++ packages/routes/trunk/debian/control	2012-03-15 21:22:34 UTC (rev 20796)
@@ -3,9 +3,10 @@
 Priority: optional
 Maintainer: Piotr Ożarowski <piotr at debian.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 5)
-Build-Depends-Indep: python (>= 2.3.5-7), python-all, python-support (>= 0.6.4), python-setuptools (>= 0.6b3)
-Standards-Version: 3.8.4
+Build-Depends: debhelper (>= 7)
+Build-Depends-Indep: python-all (>= 2.6.6-3~), python-setuptools (>= 0.6b3), python-sphinx (>= 1.0.7+dfsg),
+ python-repoze.lru
+Standards-Version: 3.9.3
 Homepage: http://routes.groovie.org/
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/routes/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/routes/trunk/

Added: packages/routes/trunk/debian/dirs
===================================================================
--- packages/routes/trunk/debian/dirs	                        (rev 0)
+++ packages/routes/trunk/debian/dirs	2012-03-15 21:22:34 UTC (rev 20796)
@@ -0,0 +1 @@
+/usr/share/doc/python-routes/html

Deleted: packages/routes/trunk/debian/docs
===================================================================
--- packages/routes/trunk/debian/docs	2012-03-15 20:57:34 UTC (rev 20795)
+++ packages/routes/trunk/debian/docs	2012-03-15 21:22:34 UTC (rev 20796)
@@ -1 +0,0 @@
-README

Added: packages/routes/trunk/debian/links
===================================================================
--- packages/routes/trunk/debian/links	                        (rev 0)
+++ packages/routes/trunk/debian/links	2012-03-15 21:22:34 UTC (rev 20796)
@@ -0,0 +1 @@
+/usr/share/doc/python-routes/html/_sources /usr/share/doc/python-routes/rst

Modified: packages/routes/trunk/debian/rules
===================================================================
--- packages/routes/trunk/debian/rules	2012-03-15 20:57:34 UTC (rev 20795)
+++ packages/routes/trunk/debian/rules	2012-03-15 21:22:34 UTC (rev 20796)
@@ -10,11 +10,18 @@
 	rm -rf dist build
 	find . -name "*\.py[co]" -delete
 	find . -name "\._*" -delete
-	dh_clean
+	rm -rf docs/_build
+	dh_clean Routes.egg-info/*
 
 build: build-indep
 build-arch:
-build-indep:
+build-indep: build-docs
+build-docs:
+	dh_testdir
+	dh_installdirs
+	PYTHONPATH=. sphinx-build -N -q -E -b html docs/ \
+		debian/python-routes/usr/share/doc/python-routes/html/
+	touch $@
 
 install: $(PYVERS:%=install-python%)
 install-python%:
@@ -27,6 +34,8 @@
 	dh_testroot -i
 	dh_installchangelogs -i
 	dh_installdocs -i
+	dh_sphinxdoc -i
+	dh_link -i
 	dh_python2 -i
 	dh_compress -i -X.py
 	dh_fixperms -i




More information about the Python-modules-commits mailing list