Update to sphinx 0.6.2

* Incompatible changes:

  - Templating now requires the Jinja2 library

  - The "document" div tag has been moved out of the ``layout.html``
    template's "document" block

  - The ``autodoc_skip_member`` event now also gets to decide
    whether to skip members whose name starts with underscores.

* Theming support

* Markup:

  - Due to popular demand, added a ``:doc:`` role which directly
    links to another document without the need of creating a
    label to which a ``:ref:`` could link to.

  - Added a ``:download:`` role that marks a non-document file
    for inclusion into the HTML output and links to it.

  - Added an ``only`` directive that can selectively include text
    based on enabled "tags".

  - Added HTML section numbers, enabled by giving a
    ``:numbered:`` flag to the ``toctree`` directive.

  - Scaled images now get a link to the unscaled version.

  - SVG images are now supported in HTML (via ``<object>`` and
    ``<embed>`` tags).

* Builders:

  - New builder for Qt help collections, by Antonio Valentino.

  - The new ``DirectoryHTMLBuilder`` (short name ``dirhtml``) creates
    a separate directory for every page, and places the page there
    in a file called ``index.html``.

* New translations:

* Bug Fixes.
This commit is contained in:
markd 2009-08-05 10:41:17 +00:00
parent 3cad1a5f40
commit 896d4ba21b
4 changed files with 151 additions and 55 deletions

View file

@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.2 2009/02/02 09:44:44 markd Exp $
# $NetBSD: Makefile,v 1.3 2009/08/05 10:41:17 markd Exp $
#
DISTNAME= Sphinx-0.5.1
PKGREVISION= 1
DISTNAME= Sphinx-0.6.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
CATEGORIES= textproc python
MASTER_SITES= http://pypi.python.org/packages/source/S/Sphinx/
@ -14,7 +13,7 @@ COMMENT= Python documentation generator
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= ${PYPKGPREFIX}-docutils>=0.4:../../textproc/py-docutils
DEPENDS+= ${PYPKGPREFIX}-jinja>=1.1:../../textproc/py-jinja
DEPENDS+= ${PYPKGPREFIX}-jinja2>=2.1:../../textproc/py-jinja2
DEPENDS+= ${PYPKGPREFIX}-pygments>=0.8:../../textproc/py-pygments
.include "../../lang/python/egg.mk"

View file

@ -1,4 +1,5 @@
@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:17:25 joerg Exp $
@comment $NetBSD: PLIST,v 1.3 2009/08/05 10:41:17 markd Exp $
bin/sphinx-autogen
bin/sphinx-build
bin/sphinx-quickstart
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
@ -11,9 +12,6 @@ ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/sphinx/__init__.py
${PYSITELIB}/sphinx/__init__.pyc
${PYSITELIB}/sphinx/__init__.pyo
${PYSITELIB}/sphinx/_jinja.py
${PYSITELIB}/sphinx/_jinja.pyc
${PYSITELIB}/sphinx/_jinja.pyo
${PYSITELIB}/sphinx/addnodes.py
${PYSITELIB}/sphinx/addnodes.pyc
${PYSITELIB}/sphinx/addnodes.pyo
@ -23,6 +21,30 @@ ${PYSITELIB}/sphinx/application.pyo
${PYSITELIB}/sphinx/builder.py
${PYSITELIB}/sphinx/builder.pyc
${PYSITELIB}/sphinx/builder.pyo
${PYSITELIB}/sphinx/builders/__init__.py
${PYSITELIB}/sphinx/builders/__init__.pyc
${PYSITELIB}/sphinx/builders/__init__.pyo
${PYSITELIB}/sphinx/builders/changes.py
${PYSITELIB}/sphinx/builders/changes.pyc
${PYSITELIB}/sphinx/builders/changes.pyo
${PYSITELIB}/sphinx/builders/html.py
${PYSITELIB}/sphinx/builders/html.pyc
${PYSITELIB}/sphinx/builders/html.pyo
${PYSITELIB}/sphinx/builders/htmlhelp.py
${PYSITELIB}/sphinx/builders/htmlhelp.pyc
${PYSITELIB}/sphinx/builders/htmlhelp.pyo
${PYSITELIB}/sphinx/builders/latex.py
${PYSITELIB}/sphinx/builders/latex.pyc
${PYSITELIB}/sphinx/builders/latex.pyo
${PYSITELIB}/sphinx/builders/linkcheck.py
${PYSITELIB}/sphinx/builders/linkcheck.pyc
${PYSITELIB}/sphinx/builders/linkcheck.pyo
${PYSITELIB}/sphinx/builders/qthelp.py
${PYSITELIB}/sphinx/builders/qthelp.pyc
${PYSITELIB}/sphinx/builders/qthelp.pyo
${PYSITELIB}/sphinx/builders/text.py
${PYSITELIB}/sphinx/builders/text.pyc
${PYSITELIB}/sphinx/builders/text.pyo
${PYSITELIB}/sphinx/cmdline.py
${PYSITELIB}/sphinx/cmdline.pyc
${PYSITELIB}/sphinx/cmdline.pyo
@ -44,21 +66,37 @@ ${PYSITELIB}/sphinx/directives/other.pyo
${PYSITELIB}/sphinx/environment.py
${PYSITELIB}/sphinx/environment.pyc
${PYSITELIB}/sphinx/environment.pyo
${PYSITELIB}/sphinx/errors.py
${PYSITELIB}/sphinx/errors.pyc
${PYSITELIB}/sphinx/errors.pyo
${PYSITELIB}/sphinx/ext/__init__.py
${PYSITELIB}/sphinx/ext/__init__.pyc
${PYSITELIB}/sphinx/ext/__init__.pyo
${PYSITELIB}/sphinx/ext/autodoc.py
${PYSITELIB}/sphinx/ext/autodoc.pyc
${PYSITELIB}/sphinx/ext/autodoc.pyo
${PYSITELIB}/sphinx/ext/autosummary/__init__.py
${PYSITELIB}/sphinx/ext/autosummary/__init__.pyc
${PYSITELIB}/sphinx/ext/autosummary/__init__.pyo
${PYSITELIB}/sphinx/ext/autosummary/generate.py
${PYSITELIB}/sphinx/ext/autosummary/generate.pyc
${PYSITELIB}/sphinx/ext/autosummary/generate.pyo
${PYSITELIB}/sphinx/ext/autosummary/templates/module
${PYSITELIB}/sphinx/ext/coverage.py
${PYSITELIB}/sphinx/ext/coverage.pyc
${PYSITELIB}/sphinx/ext/coverage.pyo
${PYSITELIB}/sphinx/ext/doctest.py
${PYSITELIB}/sphinx/ext/doctest.pyc
${PYSITELIB}/sphinx/ext/doctest.pyo
${PYSITELIB}/sphinx/ext/graphviz.py
${PYSITELIB}/sphinx/ext/graphviz.pyc
${PYSITELIB}/sphinx/ext/graphviz.pyo
${PYSITELIB}/sphinx/ext/ifconfig.py
${PYSITELIB}/sphinx/ext/ifconfig.pyc
${PYSITELIB}/sphinx/ext/ifconfig.pyo
${PYSITELIB}/sphinx/ext/inheritance_diagram.py
${PYSITELIB}/sphinx/ext/inheritance_diagram.pyc
${PYSITELIB}/sphinx/ext/inheritance_diagram.pyo
${PYSITELIB}/sphinx/ext/intersphinx.py
${PYSITELIB}/sphinx/ext/intersphinx.pyc
${PYSITELIB}/sphinx/ext/intersphinx.pyo
@ -80,18 +118,9 @@ ${PYSITELIB}/sphinx/ext/todo.pyo
${PYSITELIB}/sphinx/highlighting.py
${PYSITELIB}/sphinx/highlighting.pyc
${PYSITELIB}/sphinx/highlighting.pyo
${PYSITELIB}/sphinx/htmlhelp.py
${PYSITELIB}/sphinx/htmlhelp.pyc
${PYSITELIB}/sphinx/htmlhelp.pyo
${PYSITELIB}/sphinx/htmlwriter.py
${PYSITELIB}/sphinx/htmlwriter.pyc
${PYSITELIB}/sphinx/htmlwriter.pyo
${PYSITELIB}/sphinx/latexwriter.py
${PYSITELIB}/sphinx/latexwriter.pyc
${PYSITELIB}/sphinx/latexwriter.pyo
${PYSITELIB}/sphinx/linkcheck.py
${PYSITELIB}/sphinx/linkcheck.pyc
${PYSITELIB}/sphinx/linkcheck.pyo
${PYSITELIB}/sphinx/jinja2glue.py
${PYSITELIB}/sphinx/jinja2glue.pyc
${PYSITELIB}/sphinx/jinja2glue.pyo
${PYSITELIB}/sphinx/locale/__init__.py
${PYSITELIB}/sphinx/locale/__init__.pyc
${PYSITELIB}/sphinx/locale/__init__.pyo
@ -104,9 +133,15 @@ ${PYSITELIB}/sphinx/locale/de/LC_MESSAGES/sphinx.po
${PYSITELIB}/sphinx/locale/es/LC_MESSAGES/sphinx.js
${PYSITELIB}/sphinx/locale/es/LC_MESSAGES/sphinx.mo
${PYSITELIB}/sphinx/locale/es/LC_MESSAGES/sphinx.po
${PYSITELIB}/sphinx/locale/fi/LC_MESSAGES/sphinx.js
${PYSITELIB}/sphinx/locale/fi/LC_MESSAGES/sphinx.mo
${PYSITELIB}/sphinx/locale/fi/LC_MESSAGES/sphinx.po
${PYSITELIB}/sphinx/locale/fr/LC_MESSAGES/sphinx.js
${PYSITELIB}/sphinx/locale/fr/LC_MESSAGES/sphinx.mo
${PYSITELIB}/sphinx/locale/fr/LC_MESSAGES/sphinx.po
${PYSITELIB}/sphinx/locale/it/LC_MESSAGES/sphinx.js
${PYSITELIB}/sphinx/locale/it/LC_MESSAGES/sphinx.mo
${PYSITELIB}/sphinx/locale/it/LC_MESSAGES/sphinx.po
${PYSITELIB}/sphinx/locale/ja/LC_MESSAGES/sphinx.js
${PYSITELIB}/sphinx/locale/ja/LC_MESSAGES/sphinx.mo
${PYSITELIB}/sphinx/locale/ja/LC_MESSAGES/sphinx.po
@ -119,13 +154,50 @@ ${PYSITELIB}/sphinx/locale/pl/LC_MESSAGES/sphinx.po
${PYSITELIB}/sphinx/locale/pt_BR/LC_MESSAGES/sphinx.js
${PYSITELIB}/sphinx/locale/pt_BR/LC_MESSAGES/sphinx.mo
${PYSITELIB}/sphinx/locale/pt_BR/LC_MESSAGES/sphinx.po
${PYSITELIB}/sphinx/locale/ru/LC_MESSAGES/sphinx.js
${PYSITELIB}/sphinx/locale/ru/LC_MESSAGES/sphinx.mo
${PYSITELIB}/sphinx/locale/ru/LC_MESSAGES/sphinx.po
${PYSITELIB}/sphinx/locale/sl/LC_MESSAGES/sphinx.js
${PYSITELIB}/sphinx/locale/sl/LC_MESSAGES/sphinx.mo
${PYSITELIB}/sphinx/locale/sl/LC_MESSAGES/sphinx.po
${PYSITELIB}/sphinx/locale/sphinx.pot
${PYSITELIB}/sphinx/locale/uk_UA/LC_MESSAGES/sphinx.js
${PYSITELIB}/sphinx/locale/uk_UA/LC_MESSAGES/sphinx.mo
${PYSITELIB}/sphinx/locale/uk_UA/LC_MESSAGES/sphinx.po
${PYSITELIB}/sphinx/locale/zh_TW/LC_MESSAGES/sphinx.js
${PYSITELIB}/sphinx/locale/zh_TW/LC_MESSAGES/sphinx.mo
${PYSITELIB}/sphinx/locale/zh_TW/LC_MESSAGES/sphinx.po
${PYSITELIB}/sphinx/pycode/Grammar.txt
${PYSITELIB}/sphinx/pycode/__init__.py
${PYSITELIB}/sphinx/pycode/__init__.pyc
${PYSITELIB}/sphinx/pycode/__init__.pyo
${PYSITELIB}/sphinx/pycode/nodes.py
${PYSITELIB}/sphinx/pycode/nodes.pyc
${PYSITELIB}/sphinx/pycode/nodes.pyo
${PYSITELIB}/sphinx/pycode/pgen2/__init__.py
${PYSITELIB}/sphinx/pycode/pgen2/__init__.pyc
${PYSITELIB}/sphinx/pycode/pgen2/__init__.pyo
${PYSITELIB}/sphinx/pycode/pgen2/driver.py
${PYSITELIB}/sphinx/pycode/pgen2/driver.pyc
${PYSITELIB}/sphinx/pycode/pgen2/driver.pyo
${PYSITELIB}/sphinx/pycode/pgen2/grammar.py
${PYSITELIB}/sphinx/pycode/pgen2/grammar.pyc
${PYSITELIB}/sphinx/pycode/pgen2/grammar.pyo
${PYSITELIB}/sphinx/pycode/pgen2/literals.py
${PYSITELIB}/sphinx/pycode/pgen2/literals.pyc
${PYSITELIB}/sphinx/pycode/pgen2/literals.pyo
${PYSITELIB}/sphinx/pycode/pgen2/parse.py
${PYSITELIB}/sphinx/pycode/pgen2/parse.pyc
${PYSITELIB}/sphinx/pycode/pgen2/parse.pyo
${PYSITELIB}/sphinx/pycode/pgen2/pgen.py
${PYSITELIB}/sphinx/pycode/pgen2/pgen.pyc
${PYSITELIB}/sphinx/pycode/pgen2/pgen.pyo
${PYSITELIB}/sphinx/pycode/pgen2/token.py
${PYSITELIB}/sphinx/pycode/pgen2/token.pyc
${PYSITELIB}/sphinx/pycode/pgen2/token.pyo
${PYSITELIB}/sphinx/pycode/pgen2/tokenize.py
${PYSITELIB}/sphinx/pycode/pgen2/tokenize.pyc
${PYSITELIB}/sphinx/pycode/pgen2/tokenize.pyo
${PYSITELIB}/sphinx/quickstart.py
${PYSITELIB}/sphinx/quickstart.pyc
${PYSITELIB}/sphinx/quickstart.pyo
@ -138,31 +210,6 @@ ${PYSITELIB}/sphinx/search.pyo
${PYSITELIB}/sphinx/setup_command.py
${PYSITELIB}/sphinx/setup_command.pyc
${PYSITELIB}/sphinx/setup_command.pyo
${PYSITELIB}/sphinx/static/contents.png
${PYSITELIB}/sphinx/static/default.css
${PYSITELIB}/sphinx/static/doctools.js
${PYSITELIB}/sphinx/static/file.png
${PYSITELIB}/sphinx/static/jquery.js
${PYSITELIB}/sphinx/static/minus.png
${PYSITELIB}/sphinx/static/navigation.png
${PYSITELIB}/sphinx/static/plus.png
${PYSITELIB}/sphinx/static/rightsidebar.css
${PYSITELIB}/sphinx/static/searchtools.js
${PYSITELIB}/sphinx/static/sphinxdoc.css
${PYSITELIB}/sphinx/static/stickysidebar.css
${PYSITELIB}/sphinx/static/traditional.css
${PYSITELIB}/sphinx/templates/changes/frameset.html
${PYSITELIB}/sphinx/templates/changes/rstsource.html
${PYSITELIB}/sphinx/templates/changes/versionchanges.html
${PYSITELIB}/sphinx/templates/defindex.html
${PYSITELIB}/sphinx/templates/genindex-single.html
${PYSITELIB}/sphinx/templates/genindex-split.html
${PYSITELIB}/sphinx/templates/genindex.html
${PYSITELIB}/sphinx/templates/layout.html
${PYSITELIB}/sphinx/templates/modindex.html
${PYSITELIB}/sphinx/templates/opensearch.xml
${PYSITELIB}/sphinx/templates/page.html
${PYSITELIB}/sphinx/templates/search.html
${PYSITELIB}/sphinx/texinputs/Makefile
${PYSITELIB}/sphinx/texinputs/fncychap.sty
${PYSITELIB}/sphinx/texinputs/howto.cls
@ -170,9 +217,38 @@ ${PYSITELIB}/sphinx/texinputs/manual.cls
${PYSITELIB}/sphinx/texinputs/python.ist
${PYSITELIB}/sphinx/texinputs/sphinx.sty
${PYSITELIB}/sphinx/texinputs/tabulary.sty
${PYSITELIB}/sphinx/textwriter.py
${PYSITELIB}/sphinx/textwriter.pyc
${PYSITELIB}/sphinx/textwriter.pyo
${PYSITELIB}/sphinx/themes/basic/changes/frameset.html
${PYSITELIB}/sphinx/themes/basic/changes/rstsource.html
${PYSITELIB}/sphinx/themes/basic/changes/versionchanges.html
${PYSITELIB}/sphinx/themes/basic/defindex.html
${PYSITELIB}/sphinx/themes/basic/genindex-single.html
${PYSITELIB}/sphinx/themes/basic/genindex-split.html
${PYSITELIB}/sphinx/themes/basic/genindex.html
${PYSITELIB}/sphinx/themes/basic/layout.html
${PYSITELIB}/sphinx/themes/basic/modindex.html
${PYSITELIB}/sphinx/themes/basic/opensearch.xml
${PYSITELIB}/sphinx/themes/basic/page.html
${PYSITELIB}/sphinx/themes/basic/search.html
${PYSITELIB}/sphinx/themes/basic/static/basic.css
${PYSITELIB}/sphinx/themes/basic/static/doctools.js
${PYSITELIB}/sphinx/themes/basic/static/file.png
${PYSITELIB}/sphinx/themes/basic/static/jquery.js
${PYSITELIB}/sphinx/themes/basic/static/minus.png
${PYSITELIB}/sphinx/themes/basic/static/plus.png
${PYSITELIB}/sphinx/themes/basic/static/searchtools.js
${PYSITELIB}/sphinx/themes/basic/theme.conf
${PYSITELIB}/sphinx/themes/default/static/default.css_t
${PYSITELIB}/sphinx/themes/default/theme.conf
${PYSITELIB}/sphinx/themes/sphinxdoc/layout.html
${PYSITELIB}/sphinx/themes/sphinxdoc/static/contents.png
${PYSITELIB}/sphinx/themes/sphinxdoc/static/navigation.png
${PYSITELIB}/sphinx/themes/sphinxdoc/static/sphinxdoc.css
${PYSITELIB}/sphinx/themes/sphinxdoc/theme.conf
${PYSITELIB}/sphinx/themes/traditional/static/traditional.css
${PYSITELIB}/sphinx/themes/traditional/theme.conf
${PYSITELIB}/sphinx/theming.py
${PYSITELIB}/sphinx/theming.pyc
${PYSITELIB}/sphinx/theming.pyo
${PYSITELIB}/sphinx/util/__init__.py
${PYSITELIB}/sphinx/util/__init__.pyc
${PYSITELIB}/sphinx/util/__init__.pyo
@ -182,18 +258,39 @@ ${PYSITELIB}/sphinx/util/compat.pyo
${PYSITELIB}/sphinx/util/console.py
${PYSITELIB}/sphinx/util/console.pyc
${PYSITELIB}/sphinx/util/console.pyo
${PYSITELIB}/sphinx/util/docstrings.py
${PYSITELIB}/sphinx/util/docstrings.pyc
${PYSITELIB}/sphinx/util/docstrings.pyo
${PYSITELIB}/sphinx/util/jsdump.py
${PYSITELIB}/sphinx/util/jsdump.pyc
${PYSITELIB}/sphinx/util/jsdump.pyo
${PYSITELIB}/sphinx/util/png.py
${PYSITELIB}/sphinx/util/png.pyc
${PYSITELIB}/sphinx/util/png.pyo
${PYSITELIB}/sphinx/util/pycompat.py
${PYSITELIB}/sphinx/util/pycompat.pyc
${PYSITELIB}/sphinx/util/pycompat.pyo
${PYSITELIB}/sphinx/util/smartypants.py
${PYSITELIB}/sphinx/util/smartypants.pyc
${PYSITELIB}/sphinx/util/smartypants.pyo
${PYSITELIB}/sphinx/util/stemmer.py
${PYSITELIB}/sphinx/util/stemmer.pyc
${PYSITELIB}/sphinx/util/stemmer.pyo
${PYSITELIB}/sphinx/util/tags.py
${PYSITELIB}/sphinx/util/tags.pyc
${PYSITELIB}/sphinx/util/tags.pyo
${PYSITELIB}/sphinx/util/texescape.py
${PYSITELIB}/sphinx/util/texescape.pyc
${PYSITELIB}/sphinx/util/texescape.pyo
${PYSITELIB}/sphinx/writers/__init__.py
${PYSITELIB}/sphinx/writers/__init__.pyc
${PYSITELIB}/sphinx/writers/__init__.pyo
${PYSITELIB}/sphinx/writers/html.py
${PYSITELIB}/sphinx/writers/html.pyc
${PYSITELIB}/sphinx/writers/html.pyo
${PYSITELIB}/sphinx/writers/latex.py
${PYSITELIB}/sphinx/writers/latex.pyc
${PYSITELIB}/sphinx/writers/latex.pyo
${PYSITELIB}/sphinx/writers/text.py
${PYSITELIB}/sphinx/writers/text.pyc
${PYSITELIB}/sphinx/writers/text.pyo

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.2 2009/02/02 09:44:44 markd Exp $
$NetBSD: distinfo,v 1.3 2009/08/05 10:41:17 markd Exp $
SHA1 (Sphinx-0.5.1.tar.gz) = 77d53689391d8e8086f373ce4bbb8828a6ca2d7f
RMD160 (Sphinx-0.5.1.tar.gz) = 53cc1dcb57c36ba5fcfb1c0c76ded95c419c4058
Size (Sphinx-0.5.1.tar.gz) = 722568 bytes
SHA1 (patch-aa) = 206b12e22310fb1172363afe91182851efe89eb3
SHA1 (Sphinx-0.6.2.tar.gz) = d4da9d09f2df184dc010f9d78faaa76af90f748d
RMD160 (Sphinx-0.6.2.tar.gz) = fc893d0cfcc4c006952c706165246268da3c51d4
Size (Sphinx-0.6.2.tar.gz) = 961608 bytes
SHA1 (patch-aa) = f41f5104f535a14e82e868b261832cc98a2ac609

View file

@ -1,4 +1,4 @@
$NetBSD: patch-aa,v 1.1 2009/02/02 09:44:44 markd Exp $
$NetBSD: patch-aa,v 1.2 2009/08/05 10:41:18 markd Exp $
pkgsrc's docutils doesn't install an egg-info
@ -9,7 +9,7 @@ pkgsrc's docutils doesn't install an egg-info
sys.exit(1)
-if sys.version_info < (2, 5):
+if sys.version_info < (2, 6):
+if sys.version_info < (2, 7):
# Python 2.4's distutils doesn't automatically install an egg-info,
# so an existing docutils install won't be detected -- in that case,
# remove the dependency from setup.py