[Python-modules-commits] r18888 - in packages/sphinx/branches/1.1/debian (4 files)
jwilk at users.alioth.debian.org
jwilk at users.alioth.debian.org
Thu Oct 13 17:30:04 UTC 2011
Date: Thursday, October 13, 2011 @ 17:30:02
Author: jwilk
Revision: 18888
Reimplement sphinx-apidoc script without using pkg-resources.
Added:
packages/sphinx/branches/1.1/debian/patches/sphinx-apidoc_script.diff
Modified:
packages/sphinx/branches/1.1/debian/changelog
packages/sphinx/branches/1.1/debian/patches/series
packages/sphinx/branches/1.1/debian/rules
Modified: packages/sphinx/branches/1.1/debian/changelog
===================================================================
--- packages/sphinx/branches/1.1/debian/changelog 2011-10-12 20:29:50 UTC (rev 18887)
+++ packages/sphinx/branches/1.1/debian/changelog 2011-10-13 17:30:02 UTC (rev 18888)
@@ -16,12 +16,13 @@
* Texinfo output format is now supported (closes: #586747).
* Update version numbers in the manual pages. Add a build-time warning to be
emitted if they ever get out of date again.
+ * Reimplement sphinx-apidoc script without using pkg-resources.
* Refactor the code responsible for moving data into a private directory.
Rename some variables to make them lowercase. Don't use CURDIR where it's
not necessary.
* Run nosetests with --verbose --no-skip.
- -- Jakub Wilk <jwilk at debian.org> Wed, 12 Oct 2011 19:54:37 +0200
+ -- Jakub Wilk <jwilk at debian.org> Thu, 13 Oct 2011 19:29:49 +0200
sphinx (1.0.8+dfsg-2) unstable; urgency=low
Modified: packages/sphinx/branches/1.1/debian/patches/series
===================================================================
--- packages/sphinx/branches/1.1/debian/patches/series 2011-10-12 20:29:50 UTC (rev 18887)
+++ packages/sphinx/branches/1.1/debian/patches/series 2011-10-13 17:30:02 UTC (rev 18888)
@@ -3,3 +3,4 @@
move_static_files_outside_site-packages.patch
unversioned_grammar_pickle.diff
show_more_stack_frames.diff
+sphinx-apidoc_script.diff
Added: packages/sphinx/branches/1.1/debian/patches/sphinx-apidoc_script.diff
===================================================================
--- packages/sphinx/branches/1.1/debian/patches/sphinx-apidoc_script.diff (rev 0)
+++ packages/sphinx/branches/1.1/debian/patches/sphinx-apidoc_script.diff 2011-10-13 17:30:02 UTC (rev 18888)
@@ -0,0 +1,14 @@
+Description: Provide a stand-alone sphinx-apidoc.py script.
+Author: Jakub Wilk <jwilk at debian.org>
+Forwarded: no
+Last-Update: 2011-10-13
+--- /dev/null
++++ b/sphinx-apidoc.py
+@@ -0,0 +1,7 @@
++#!/usr/bin/python
++
++import sys
++
++if __name__ == '__main__':
++ from sphinx.apidoc import main
++ sys.exit(main(sys.argv))
Modified: packages/sphinx/branches/1.1/debian/rules
===================================================================
--- packages/sphinx/branches/1.1/debian/rules 2011-10-12 20:29:50 UTC (rev 18887)
+++ packages/sphinx/branches/1.1/debian/rules 2011-10-13 17:30:02 UTC (rev 18888)
@@ -72,6 +72,7 @@
install -m 755 sphinx-build.py $(debroot)/usr/bin/sphinx-build
install -m 755 sphinx-quickstart.py $(debroot)/usr/bin/sphinx-quickstart
install -m 755 sphinx-autogen.py $(debroot)/usr/bin/sphinx-autogen
+ install -m 755 sphinx-apidoc.py $(debroot)/usr/bin/sphinx-apidoc
# Move JavaScript code to libjs-sphinxdoc:
set -e; \
for js in $$(find build/html/_static/ -name '*.js'); do \
More information about the Python-modules-commits
mailing list