[Python-modules-commits] r8179 - in packages/sphinx/trunk/debian (5 files)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Tue Apr 7 18:34:33 UTC 2009


    Date: Tuesday, April 7, 2009 @ 18:34:33
  Author: piotr
Revision: 8179

* add_missing_sphinx-autogen.patch
* link _sources (docs in rst format) from html directory instead of copying doc directory

Added:
  packages/sphinx/trunk/debian/patches/add_missing_sphinx-autogen.patch
Modified:
  packages/sphinx/trunk/debian/changelog
  packages/sphinx/trunk/debian/docs
  packages/sphinx/trunk/debian/patches/series
  packages/sphinx/trunk/debian/rules

Modified: packages/sphinx/trunk/debian/changelog
===================================================================
--- packages/sphinx/trunk/debian/changelog	2009-04-07 16:22:06 UTC (rev 8178)
+++ packages/sphinx/trunk/debian/changelog	2009-04-07 18:34:33 UTC (rev 8179)
@@ -1,4 +1,4 @@
-sphinx (0.6.1-1) UNRELEASED; urgency=low
+sphinx (0.6.1-1) unstable; urgency=low
 
   [ Piotr Ożarowski ]
   * New upstream release
@@ -6,13 +6,13 @@
   * Add move_static_files_outside_site-packages patch
   * Build depend on python-all (>= 2.5.4-1) (py_libdir is now used in
     debian/rules)
-  TODO:
-  * add working sphinx-autogen script
+  * add_missing_sphinx-autogen.patch added (missing file will be added in next
+    upstream release)
 
   [ Jan Dittberner ]
   * add man page debian/sphinx-autogen.1
 
- -- Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>  Thu, 26 Mar 2009 20:04:41 +0100
+ -- Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>  Thu, 07 Apr 2009 18:24:25 +0100
 
 sphinx (0.5.2-1) unstable; urgency=low
 

Modified: packages/sphinx/trunk/debian/docs
===================================================================
--- packages/sphinx/trunk/debian/docs	2009-04-07 16:22:06 UTC (rev 8178)
+++ packages/sphinx/trunk/debian/docs	2009-04-07 18:34:33 UTC (rev 8179)
@@ -1,4 +1,3 @@
 README
-TODO
-doc
+AUTHORS
 _build/html

Added: packages/sphinx/trunk/debian/patches/add_missing_sphinx-autogen.patch
===================================================================
--- packages/sphinx/trunk/debian/patches/add_missing_sphinx-autogen.patch	                        (rev 0)
+++ packages/sphinx/trunk/debian/patches/add_missing_sphinx-autogen.patch	2009-04-07 18:34:33 UTC (rev 8179)
@@ -0,0 +1,22 @@
+file taken from upstream's hg repository
+(already added to MANIFEST.in so will be available in next tarball)
+Index: sphinx-0.6.1/sphinx-autogen.py
+===================================================================
+--- /dev/null
++++ sphinx-0.6.1/sphinx-autogen.py
+@@ -0,0 +1,15 @@
++#!/usr/bin/env python
++# -*- coding: utf-8 -*-
++"""
++    Sphinx - Python documentation toolchain
++    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
++
++    :copyright: 2007-2009 by Georg Brandl.
++    :license: BSD.
++"""
++
++import sys
++
++if __name__ == '__main__':
++    from sphinx.ext.autosummary.generate import main
++    sys.exit(main(sys.argv))

Modified: packages/sphinx/trunk/debian/patches/series
===================================================================
--- packages/sphinx/trunk/debian/patches/series	2009-04-07 16:22:06 UTC (rev 8178)
+++ packages/sphinx/trunk/debian/patches/series	2009-04-07 18:34:33 UTC (rev 8179)
@@ -1,2 +1,3 @@
+add_missing_sphinx-autogen.patch
 move_static_files_outside_site-packages.patch
 disable_ez_setup.patch

Modified: packages/sphinx/trunk/debian/rules
===================================================================
--- packages/sphinx/trunk/debian/rules	2009-04-07 16:22:06 UTC (rev 8178)
+++ packages/sphinx/trunk/debian/rules	2009-04-07 18:34:33 UTC (rev 8179)
@@ -51,6 +51,7 @@
 	# install scripts not touched by easy install
 	install -m 755 $(CURDIR)/sphinx-build.py $(PACKAGE_DIR)/usr/bin/sphinx-build
 	install -m 755 $(CURDIR)/sphinx-quickstart.py $(PACKAGE_DIR)/usr/bin/sphinx-quickstart
+	install -m 755 $(CURDIR)/sphinx-autogen.py $(PACKAGE_DIR)/usr/bin/sphinx-autogen
 
 binary-indep: build install
 	dh_testdir
@@ -58,6 +59,7 @@
 	dh_installchangelogs CHANGES
 	dh_installdocs
 	rm -rf $(PACKAGE_DIR)/usr/share/doc/python-sphinx/html/.doctrees
+	dh_link /usr/share/doc/python-sphinx/html/_sources/ /usr/share/doc/python-sphinx/rst
 	dh_installexamples
 	dh_installman
 	dh_pysupport




More information about the Python-modules-commits mailing list