Release 1.2.3 (released Sep 1, 2014) ==================================== Features added -------------- * #1518: `sphinx-apidoc` command now have a `--version` option to show version information and exit * New locales: Hebrew, European Portuguese, Vietnamese. Bugs fixed ---------- * #636: Keep straight single quotes in literal blocks in the LaTeX build. * #1419: Generated i18n sphinx.js files are missing message catalog entries from '.js_t' and '.html'. The issue was introduced from Sphinx-1.1 * #1363: Fix i18n: missing python domain's cross-references with currentmodule directive or currentclass directive. * #1444: autosummary does not create the description from attributes docstring. * #1457: In python3 environment, make linkcheck cause "Can't convert 'bytes' object to str implicitly" error when link target url has a hash part. Thanks to Jorge_C. * #1467: Exception on Python3 if nonexistent method is specified by automethod * #1441: autosummary can't handle nested classes correctly. * #1499: With non-callable `setup` in a conf.py, now sphinx-build emits user-friendly error message. * #1502: In autodoc, fix display of parameter defaults containing backslashes. * #1226: autodoc, autosummary: importing setup.py by automodule will invoke setup process and execute `sys.exit()`. Now sphinx avoids SystemExit exception and emits warnings without unexpected termination. * #1503: py:function directive generate incorrectly signature when specifying a default parameter with an empty list `[]`. Thanks to Geert Jansen. * #1508: Non-ASCII filename raise exception on make singlehtml, latex, man, texinfo and changes. * #1531: On Python3 environment, docutils.conf with 'source_link=true' in the general section cause type error. * PR#270, #1533: Non-ASCII docstring cause UnicodeDecodeError when uses with inheritance-diagram directive. Thanks to WAKAYAMA shirou. * PR#281, PR#282, #1509: TODO extension not compatible with websupport. Thanks to Takeshi Komiya. * #1477: gettext does not extract nodes.line in a table or list. * #1544: `make text` generate wrong table when it has empty table cells. * #1522: Footnotes from table get displayed twice in LaTeX. This problem has been appeared from Sphinx-1.2.1 by #949. * #508: Sphinx every time exit with zero when is invoked from setup.py command. ex. `python setup.py build_sphinx -b doctest` return zero even if doctest failed.
28 lines
865 B
Makefile
28 lines
865 B
Makefile
# $NetBSD: Makefile,v 1.25 2014/09/14 17:55:38 wiz Exp $
|
|
|
|
DISTNAME= Sphinx-1.2.3
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= http://pypi.python.org/packages/source/S/Sphinx/
|
|
|
|
MAINTAINER= markd@NetBSD.org
|
|
HOMEPAGE= http://sphinx.pocoo.org/
|
|
COMMENT= Python documentation generator
|
|
LICENSE= modified-bsd
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-docutils>=0.8.1:../../textproc/py-docutils
|
|
DEPENDS+= ${PYPKGPREFIX}-jinja2>=2.2:../../textproc/py-jinja2
|
|
DEPENDS+= ${PYPKGPREFIX}-pygments>=0.8:../../textproc/py-pygments
|
|
|
|
USE_LANGUAGES= #none
|
|
|
|
REPLACE_PYTHON+= sphinx/pycode/pgen2/token.py
|
|
|
|
#USE_TOOLS+= makeinfo
|
|
# also needs LaTeX with additional packages (tex-mdwtools, tex-parskip)
|
|
#do-test:
|
|
# cd ${WRKSRC}/tests && ${PYTHONBIN} run.py
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|