--- sphinx-1.0.1.orig/debian/watch +++ sphinx-1.0.1/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=uversionmangle=s/b/~b/ \ +http://pypi.python.org/packages/source/S/Sphinx/Sphinx-(.*)\.tar\.gz --- sphinx-1.0.1.orig/debian/doc-base +++ sphinx-1.0.1/debian/doc-base @@ -0,0 +1,12 @@ +Document: sphinx-manual +Title: Sphinx documentation builder manual +Author: Georg Brandl +Abstract: Sphinx is a tool that translates a set of reStructuredText_ source + files into various output formats, automatically producing cross-references, + indices etc. It can also generate a LaTeX file that you can compile into a PDF + version of the documents. +Section: Text + +Format: HTML +Index: /usr/share/doc/python-sphinx/html/index.html +Files: /usr/share/doc/python-sphinx/html/* --- sphinx-1.0.1.orig/debian/dirs +++ sphinx-1.0.1/debian/dirs @@ -0,0 +1 @@ +/usr/share/sphinx/locale --- sphinx-1.0.1.orig/debian/compat +++ sphinx-1.0.1/debian/compat @@ -0,0 +1 @@ +7 --- sphinx-1.0.1.orig/debian/sphinx-autogen.1 +++ sphinx-1.0.1/debian/sphinx-autogen.1 @@ -0,0 +1,42 @@ +.TH sphinx\-autogen 1 "Sat, 28 Mar 2009" "Jan Dittberner" "User Commands" + +.SH NAME +sphinx\-autogen \- generate ReStructuredText using \fBautosummary\fR +directives + +.SH SYNOPSIS +.B sphinx\-autogen +[\fI\-o output_dir\fR] +[\fI\-s suffix\fR] +.BI sourcefile ... + +.SH OPTIONS +.TP +\fB\-o output_dir\fR +the directory the output files should be written to +.TP +\fB\-s suffix\fR +the suffix of the written files (defaults to rst) + +.SH DESCRIPTION +.B sphinx\-autogen +is a frontend to the \fBsphinx.ext.autosummary.generate\fR it +generates the ReStructuredText files from the \fBautosummary\fR +directives contained in the given input files. + +The format of the \fBautosummary\fR directive is documented in the +\fBsphinx.ext.autosummary\fR Python module and can be read using + +.B pydoc +.I sphinx.ext.autosummary + +.SH SEE ALSO +.BR sphinx\-quickstart (1), +.BR sphinx\-build (1) + +.mso www.tmac +.URL "http://sphinx.pocoo.org/" "The Sphinx website" + +.SH AUTHOR +This man page was written by Jan Dittberner for +the Debian GNU/Linux System (but may be used by others). --- sphinx-1.0.1.orig/debian/sphinx-build.1 +++ sphinx-1.0.1/debian/sphinx-build.1 @@ -0,0 +1,79 @@ +.TH sphinx-build 1 "Apr 2008" "Sphinx 0.1.61950" "User Commands" +.SH NAME +sphinx-build \- Sphinx documentation generator tool +.SH SYNOPSIS +.B sphinx-build +[\fIoptions\fR] <\fIsourcedir\fR> <\fIoutdir\fR> [\fIfilenames\fR...] +.SH DESCRIPTION +sphinx-build generates documentation from the files in and places it +to the . + +sphinx-build looks for /conf.py for the configuration settings. +.B sphinx-quickstart(1) +may be used to generate template files, including conf.py. + +sphinx-build can create documentation in different formats. Format is selected +by specifying builder in command line and defaults to HTML. Builders can +also perform other tasks related to the documentation processing. + +List of available builders: +.TP +\fBhtml\fR +HTML files generation. This is default builder. +.TP +\fBweb\fR +Generating files for sphinx-web (currently undergo the full rewrite, and not working). +.TP +\fBhtmlhelp\fR +Generates files for CHM generation. +.TP +\fBlatex\fR +Generates LaTeX version of documentation. This builder uses PAPER environment variable (e.g. PAPER=a4 or PAPER=letter) if available. +.TP +\fBchanges\fR +Shows changed/added/deprecated items since last documentation generation. +.TP +\fBlinkcheck\fR +Checks the integrity of all external links in documentation +.SH OPTIONS +.TP +\fB-b\fR +Builder to use; defaults to html. See the full list of builders above. +.TP +\fB\fR +Force to generate documentation for the file +.TP +\fB-a\fR +Generate all files; without this option only documentation for new and changed files is generated +.TP +\fB-E\fR +Ignore cached files, forces to re-read all files from disk. +.TP +\fB-d\fR +Path to cached environment; defaults to /.doctrees +.TP +\fB-D\fR = +Overrides setting from /conf.py +.TP +\fB-N\fR +Do not do colored output +.TP +\fB-q\fR +Quiet operation, just prints warnings and errors on stderr +.TP +\fB-P\fR +Run Pdb on exception +.SH "SEE ALSO" +.BR sphinx-quickstart(1) +.br +The full documentation for +.B Sphinx +is installed to +.B /usr/share/doc/python-sphinx +. +.SH AUTHOR +Georg Brandl , Armin Ronacher et +al. +.PP +This manual page was written by Mikhail Gusarov , for +the Debian project (but may be used by others). --- sphinx-1.0.1.orig/debian/README.source +++ sphinx-1.0.1/debian/README.source @@ -0,0 +1,57 @@ +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +To configure quilt to use debian/patches instead of patches, you want +either to export QUILT_PATCHES=debian/patches in your environment +or use this snippet in your ~/.quiltrc: + + for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do + if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then + export QUILT_PATCHES=debian/patches + fi + done + +To get the fully patched source after unpacking the source package, cd to +the root level of the source package and run: + + quilt push -a + +The last patch listed in debian/patches/series will become the current +patch. + +To add a new set of changes, first run quilt push -a, and then run: + + quilt new + +where is a descriptive name for the patch, used as the filename in +debian/patches. Then, for every file that will be modified by this patch, +run: + + quilt add + +before editing those files. You must tell quilt with quilt add what files +will be part of the patch before making changes or quilt will not work +properly. After editing the files, run: + + quilt refresh + +to save the results as a patch. + +Alternately, if you already have an external patch and you just want to +add it to the build system, run quilt push -a and then: + + quilt import -P /path/to/patch + quilt push -a + +(add -p 0 to quilt import if needed). as above is the filename to +use in debian/patches. The last quilt push -a will apply the patch to +make sure it works properly. + +To remove an existing patch from the list of patches that will be applied, +run: + + quilt delete + +You may need to run quilt pop -a to unapply patches first before running +this command. --- sphinx-1.0.1.orig/debian/copyright +++ sphinx-1.0.1/debian/copyright @@ -0,0 +1,75 @@ +This package was first debianized by Mikhail Gusarov +on Mon, 08 Apr 2008 01:52:52 +0600 + +It was downloaded from http://sphinx.pocoo.org/ + +Copyright Holders: Georg Brandl , Armin Ronacher +, Josip Dzolonga, Gerold Penz, Vivake Gupta + + +License: + +Copyright (c) 2007-2008 by the respective authors (see AUTHORS file). +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + * The names of the contributors may not be used to endorse or + promote products derived from this software without specific + prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +AUTHORS file: + +The doctools are written and maintained by Georg Brandl . +Substantial parts of the templates and the web application were written by +Armin Ronacher . + +Other contributors are noted in the :copyright: fields within the docstrings +of the respective files. + +Many thanks for all contributions! + +Copyright strings: + +spinx/search.py, +sphinx/web/{feed.py,antispam.py,userdb.py,wsgiutil.py,markup.py,} + +:copyright: 2007-2008 by Armin Ronacher. + +sphinx/ext/coverage.py + +:copyright: 2007 by Josip Dzolonga, Georg Brandl. + +sphinx/web/mail.py + +:copyright: 2004-2007 by Gerold Penz. + +sphinx/util/stemmer.py + +:copyright: 2001 by Vivake Gupta + +All the other files: + +:copyright: 2007-2008 by Georg Brandl --- sphinx-1.0.1.orig/debian/rules +++ sphinx-1.0.1/debian/rules @@ -0,0 +1,81 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +include /usr/share/quilt/quilt.make +include /usr/share/python/python.mk + +PACKAGE_NAME=python-sphinx +PACKAGE_DIR=$(CURDIR)/debian/$(PACKAGE_NAME) +SITE_PACKAGES_DIR=$(PACKAGE_DIR)$(call py_libdir,$(shell pyversions -d)) + +build: build-stamp + +build-stamp: + dh_testdir + mkdir -p _build/html + python sphinx-build.py doc _build/html + touch build-stamp + +clean: clean-patched unpatch + dh_testdir + dh_testroot + find . -name '*.py[co]' -delete + rm -rf _build build + dh_clean sphinx/pycode/*.pickle + +clean-patched: patch + dh_testdir + python setup.py clean + +install: build patch + dh_testdir + dh_testroot + dh_installdirs + + python setup.py install --no-compile --install-layout=deb --root $(PACKAGE_DIR) + # move static files outside {site,dist}-packages + mv $(SITE_PACKAGES_DIR)/sphinx/texinputs $(PACKAGE_DIR)/usr/share/sphinx/ + mv $(SITE_PACKAGES_DIR)/sphinx/themes $(PACKAGE_DIR)/usr/share/sphinx/ + for lang in `find $(SITE_PACKAGES_DIR)/sphinx/locale\ + -maxdepth 1 -mindepth 1 -type d -printf "%f "`;\ + do\ + mkdir $(PACKAGE_DIR)/usr/share/sphinx/locale/$$lang;\ + mkdir -p $(PACKAGE_DIR)/usr/share/locale/$$lang/LC_MESSAGES;\ + mv $(SITE_PACKAGES_DIR)/sphinx/locale/$$lang/LC_MESSAGES/sphinx.js\ + $(PACKAGE_DIR)/usr/share/sphinx/locale/$$lang/;\ + mv $(SITE_PACKAGES_DIR)/sphinx/locale/$$lang/LC_MESSAGES/sphinx.mo\ + $(PACKAGE_DIR)/usr/share/locale/$$lang/LC_MESSAGES;\ + rm -rf $(SITE_PACKAGES_DIR)/sphinx/locale/$$lang;\ + done + rm -f $(SITE_PACKAGES_DIR)/sphinx/locale/sphinx.pot + # use packaged jQuery + dh_link /usr/share/javascript/jquery/jquery.js \ + /usr/share/sphinx/themes/basic/static/jquery.js + # 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 + dh_testroot + 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 + dh_compress -X.py -X.js -X.rst -X.json -X.doctree -X.txt + dh_link /usr/share/javascript/jquery/jquery.js \ + /usr/share/doc/python-sphinx/html/_static/jquery.js + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: build install + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- sphinx-1.0.1.orig/debian/pyversions +++ sphinx-1.0.1/debian/pyversions @@ -0,0 +1 @@ +2.4- --- sphinx-1.0.1.orig/debian/sphinx-quickstart.1 +++ sphinx-1.0.1/debian/sphinx-quickstart.1 @@ -0,0 +1,23 @@ +.TH sphinx-quickstart 1 "Apr 2008" "Sphinx 0.1.61950" "User Commands" +.SH NAME +sphinx-quickstart \- Sphinx documentation template generator +.SH SYNOPSIS +.B sphinx-quickstart +.SH DESCRIPTION +sphinx-quickstart is the interactive tool which asks some questions about your +Python project and then generates template documentation directory and sample +Makefile to be used with \fBsphinx-build(1)\fR. +.SH "SEE ALSO" +.BR sphinx-build(1) +.br +The full documentation for +.B Sphinx +is installed to +.B /usr/share/doc/python-sphinx +. +.SH AUTHOR +Georg Brandl , Armin Ronacher et +al. +.PP +This manual page was written by Mikhail Gusarov for +the Debian project (but may be used by others). --- sphinx-1.0.1.orig/debian/changelog +++ sphinx-1.0.1/debian/changelog @@ -0,0 +1,231 @@ +sphinx (1.0.1-1) experimental; urgency=low + + [ Mikhail Gusarov ] + * Fix preinst script to correctly remove python-central remnants (Closes: + #559572). + + [ Jakub Wilk ] + * Add myself to uploaders. + * New upstream release, fixing HTML generation bugs (closes: #588825, + #588829). + * Bump standards version to 3.9.1 (no changes needed). + + -- Jakub Wilk Sat, 07 Aug 2010 17:34:29 +0200 + +sphinx (1.0~b1-1) experimental; urgency=low + + [ Piotr Ożarowski ] + * New upstream release + * Minimum required versions bumped: + - python-jinja2 >= 2.2 + - python-docutils >= 0.5 + * move_static_files_outside_site-packages.patch updated + + -- Debian Python Modules Team Tue, 25 May 2010 23:01:44 +0200 + +sphinx (0.6.6-1) unstable; urgency=low + + [ Piotr Ożarowski ] + * New upstream release + - disable_ez_setup.patch removed, no longer needed + - move_static_files_outside_site-packages.patch updated + * Bump Standards-Version to 3.8.4, no changes needed. + + -- Debian Python Modules Team Tue, 25 May 2010 22:30:46 +0200 + +sphinx (0.6.5-1) unstable; urgency=low + + [ Piotr Ożarowski ] + * New upstream release + + -- Debian Python Modules Team Mon, 29 Mar 2010 23:08:45 +0200 + +sphinx (0.6.4-1) unstable; urgency=low + + [ Piotr Ożarowski ] + * New upstream release + + -- Debian Python Modules Team Wed, 13 Jan 2010 23:26:40 +0100 + +sphinx (0.6.3-2) unstable; urgency=low + + [ Piotr Ożarowski ] + * Add preinst maintainer script to remove python-central leftovers; thanks to + Jakub Wilk for the report; Closes: #559572 + + [ Sandro Tosi ] + * debian/control + - added misc:Depends to the binary package Depends line + + -- Mikhail Gusarov Sun, 03 Jan 2010 22:37:20 +0600 + +sphinx (0.6.3-1) unstable; urgency=low + + * New upstream release (Closes: #545042): + - handle error when using autoclass with a non-class (Closes: #537165) + - all patches refreshed. + * Use debian/pyversions instead of X[SB]-Python-Version. + * Add doc-base file for manual. + * Bump Standards-Version, no changes needed. + + -- Mikhail Gusarov Fri, 04 Sep 2009 17:49:20 +0700 + +sphinx (0.6.2-1) unstable; urgency=low + + [ Piotr Ożarowski ] + * New upstream release (Closes: #527538) + - add_missing_sphinx-autogen and rfind-invocation patches removed, no + longer needed + - move_static_files_outside_site-packages.patch updated + * Standards-Version bumped to 3.8.2, no changes needed. + + -- Debian Python Modules Team Wed, 17 Jun 2009 19:32:26 +0200 + +sphinx (0.6.1-2) unstable; urgency=low + + [ Mikhail Gusarov ] + * Fix debian/README.source: s/dpatch/quilt/ (Closes: #523293). + * Add debian/rfind-invocation.patch, fixing breakage on python-werkzeug + docs. + + [ Piotr Ożarowski ] + * Install .mo files (Closes: #526027) + + -- Mikhail Gusarov Sun, 12 Apr 2009 14:37:30 +0700 + +sphinx (0.6.1-1) unstable; urgency=low + + [ Piotr Ożarowski ] + * New upstream release + + depend on python-jinja2 instead of python-jinja + * 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) + * 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 Thu, 07 Apr 2009 18:24:25 +0100 + +sphinx (0.5.2-1) unstable; urgency=low + + [ Piotr Ożarowski ] + * New upstream release (Closes: #517735) + + bump python-jinja minimum required version to 1.2 + * Switch to python-support + * remove .pickle file in clean rule + * Standards-Version bumped to 3.8.1, no changes needed. + + -- Debian Python Modules Team Tue, 24 Mar 2009 21:26:26 +0100 + +sphinx (0.5.1-2) unstable; urgency=low + + [ Piotr Ożarowski ] + * Upload to unstable + * Add debian/README.source file + + -- Debian Python Modules Team Sat, 07 Feb 2009 15:31:02 +0100 + +sphinx (0.5.1-1) experimental; urgency=low + + [ Piotr Ożarowski ] + * New upstream release + + Closes: #507647 + + upload to experimental due to Lenny freeze, to ease testing rev. + dependencies + * Add disable_ez_setup patch (and quilt to build dependencies) so that it + will not try to download stuff that is already installed on the system + * Add jsmath to suggested packages (Closes: #507691) + + -- Debian Python Modules Team Wed, 17 Dec 2008 18:42:59 +0100 + +sphinx (0.5-1) experimental; urgency=low + + [ Sandro Tosi ] + * debian/control + - switch Vcs-Browser field to viewsvn + + [ Piotr Ożarowski ] + * New upstream release (upload to experimental due to Lenny freeze, to ease + testing rev. dependencies) + * Add python (>=2.6) | python-simplejson and python-imaging to Recommends + * Remove .doctrees directory from docs/html + * Bump python-jinja's required version to >= 1.1 + + -- Debian Python Modules Team Sun, 23 Nov 2008 21:49:50 +0100 + +sphinx (0.4.2-1) unstable; urgency=medium + + * New upstream version. Fixes bug with broken show-inheritance in + automodule (Closes: #492732) + * Urgency medium, fixes RC bug. + * Using jQuery from Debian package, not bundled one: + - Added dependency on libjs-jquery, + - Replaced jquery.js by symlink to /usr/share/javascript/jquery/jquery.js + + -- Mikhail Gusarov Tue, 29 Jul 2008 17:55:27 +0700 + +sphinx (0.4.1-2) unstable; urgency=low + + * debian/control: sphinx is not compatible with python 2.3, so + XS-Python-Version: >= 2.4 (Closes: #490537). + + -- Mikhail Gusarov Sat, 12 Jul 2008 20:13:12 +0700 + +sphinx (0.4.1-1) unstable; urgency=low + + * New upstream version. + * All patches removed, applied upstream: + - Removed quilt build-dep + - Removed quilt patch/unpatch targets in debian/rules. + + -- Mikhail Gusarov Wed, 09 Jul 2008 02:57:25 +0700 + +sphinx (0.4-1) unstable; urgency=low + + * New upstream version. + * Standards-Version bumped to 3.8.0, no changes needed. + * Vcs-{Svn,Browser} added. + + -- Mikhail Gusarov Mon, 23 Jun 2008 19:31:00 +0700 + +sphinx (0.3-2) unstable; urgency=medium + + * Added missing python-docutils dependency (Closes: #482916). + + -- Mikhail Gusarov Mon, 26 May 2008 04:44:14 +0700 + +sphinx (0.3-1) unstable; urgency=low + + * New upstream version. + * Fixed typo in package description (Closes: #479285). + * debhelper compatibility level bumped to 7: + - Updated debhelper dependency + - debian/rules: stamp files are removed automatically + * Removed empty debian/examples file. + + -- Mikhail Gusarov Sun, 04 May 2008 13:44:34 +0700 + +sphinx (0.2-1) unstable; urgency=low + + * New upstream version. + * sphinx no longer bundles jinja in tarball: + - nuked jinja removal code from debian/rules, + - added build-depencency to python-jinja for documentation generation, + - updated debian/copyright, removing information about jinja copyrights + + -- Mikhail Gusarov Thu, 01 May 2008 11:00:18 +0700 + +sphinx (0.1.61950-1) unstable; urgency=low + + * Initial release (Closes: #474782) + * Added patch disable-sphinx-web.patch, disabling installation of + sphinx-web, which is not yet ready. + * Added patch add_shebangs.patch, adding shebangs in sphinx-build and + sphinx-quickstart + * Added manpages for sphinx-build(1) and sphinx-quickstart(1). + * Removed bundled jinja instance. + + -- Mikhail Gusarov Sun, 20 Apr 2008 23:01:50 +0200 --- sphinx-1.0.1.orig/debian/manpages +++ sphinx-1.0.1/debian/manpages @@ -0,0 +1,3 @@ +debian/sphinx-build.1 +debian/sphinx-quickstart.1 +debian/sphinx-autogen.1 --- sphinx-1.0.1.orig/debian/control +++ sphinx-1.0.1/debian/control @@ -0,0 +1,29 @@ +Source: sphinx +Section: python +Priority: optional +Maintainer: Mikhail Gusarov +Uploaders: Jakub Wilk , Debian Python Modules Team +Homepage: http://sphinx.pocoo.org/ +Build-Depends: debhelper (>= 7), python-all (>= 2.5.4-1~), python-setuptools (>= 0.6c5-1~), quilt (>= 0.40) +Build-Depends-Indep: python-support (>= 0.6.4), python-docutils, python-pygments (>= 0.8), python-jinja2 (>= 2.1) +Standards-Version: 3.9.1 +Vcs-Svn: svn://svn.debian.org/python-modules/packages/sphinx/trunk/ +Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/sphinx/trunk/ + +Package: python-sphinx +Architecture: all +Depends: ${misc:Depends}, ${python:Depends}, python-docutils (>= 0.5), python-pygments (>= 0.8), python-jinja2 (>= 2.2), libjs-jquery +Recommends: python (>= 2.6) | python-simplejson, python-imaging +Suggests: jsmath +Description: tool for producing documentation for Python projects + Sphinx is a tool for producing documentation for Python projects, using + reStructuredText as markup language. + . + Sphinx features: + * HTML, CHM, LaTeX output, + * Cross-referencing source code, + * Automatic indices, + * Code highlighting, using Pygments, + * Extensibility. Existing extensions: + - automatic testing of code snippets, + - including doctrings from Python modules. --- sphinx-1.0.1.orig/debian/docs +++ sphinx-1.0.1/debian/docs @@ -0,0 +1,3 @@ +README +AUTHORS +_build/html --- sphinx-1.0.1.orig/debian/preinst +++ sphinx-1.0.1/debian/preinst @@ -0,0 +1,10 @@ +#!/bin/sh +# TODO: remove this file after releasing Squeeze +set -e +if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt-nl 1.0~b1-2~; +then + pycentral pkgremove python-sphinx || true + rm -rf /usr/lib/python2.*/*-packages/sphinx/ +fi + +#DEBHELPER# --- sphinx-1.0.1.orig/debian/source/format +++ sphinx-1.0.1/debian/source/format @@ -0,0 +1 @@ +1.0 --- sphinx-1.0.1.orig/debian/patches/move_static_files_outside_site-packages.patch +++ sphinx-1.0.1/debian/patches/move_static_files_outside_site-packages.patch @@ -0,0 +1,15 @@ +# move static files outside site-packages so that they can be shared between +# different Python versions +Index: sphinx-1.0~b1/sphinx/__init__.py +=================================================================== +--- sphinx-1.0~b1.orig/sphinx/__init__.py ++++ sphinx-1.0~b1/sphinx/__init__.py +@@ -15,7 +15,7 @@ from os import path + __version__ = '1.0b1' + __released__ = '1.0b1' # used when Sphinx builds its own docs + +-package_dir = path.abspath(path.dirname(__file__)) ++package_dir = '/usr/share/sphinx/' + + if '+' in __version__ or 'pre' in __version__: + # try to find out the changeset hash if checked out from hg, and append --- sphinx-1.0.1.orig/debian/patches/series +++ sphinx-1.0.1/debian/patches/series @@ -0,0 +1 @@ +move_static_files_outside_site-packages.patch