diff options
author | markd <markd@pkgsrc.org> | 2015-02-24 11:03:05 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2015-02-24 11:03:05 +0000 |
commit | b2a89480b438a28d05ea343852bbdcdfa5a30a93 (patch) | |
tree | db6ff33240237ebdc7816cd2373a9c0381c9b5a9 /textproc/py-docutils/Makefile | |
parent | 28f537f709e397c9a6d058c6c9f4d1cfc79fd26f (diff) | |
download | pkgsrc-b2a89480b438a28d05ea343852bbdcdfa5a30a93.tar.gz |
Update to 0.12
Also use ALTERNATIVES framework to allow concurrent installation under
multiple pythons.
Release 0.12 (2014-07-06)
=========================
* docs/ref/rst/directives.txt
- Update "math" and "csv-table" descriptions.
* docutils/parsers/rst/directives/images.py
- Fix [258] figwidth="image" generates unitless width value.
* docutils/parsers/rst/states.py
- Improve error report when a non-ASCII character is specified as
delimiter, quote or escape character under Python 2.
Fixes [ 249 ] and [ 250 ].
* docutils/writers/html4css1/__init__.py
- Don't add newline after inline math.
Thanks to Yury G. Kudryashov for the patch.
* docutils/writers/latex2e/__init__.py
- Fix [ 239 ] Latex writer glues paragraphs with figure floats.
- Apply [ 116 ] by Kirill Smelkov. Don't hardcode \large for subtitle.
* docutils/writers/odf_odt/__init__.py
- Apply patch by Jakub Wilk to fix bug [ 100 ].
* test/test_error_reporting.py
- Fix [ 223 ] by removing redundant tests we do not have control over.
* test/test_nodes.py
- Apply [ 115 ] respect fixed 2to3 string literal conversion behavior.
Diffstat (limited to 'textproc/py-docutils/Makefile')
-rw-r--r-- | textproc/py-docutils/Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/textproc/py-docutils/Makefile b/textproc/py-docutils/Makefile index 5dfcd0bc24c..0cf8111aa3a 100644 --- a/textproc/py-docutils/Makefile +++ b/textproc/py-docutils/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.42 2014/01/25 10:30:24 wiz Exp $ +# $NetBSD: Makefile,v 1.43 2015/02/24 11:03:05 markd Exp $ -DISTNAME= docutils-0.11 +DISTNAME= docutils-0.12 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= textproc python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=docutils/} @@ -14,6 +14,8 @@ DEPENDS+= ${PYPKGPREFIX}-roman>=1.4:../../math/py-roman DEPENDS+= ${PYPKGPREFIX}-expat>=0:../../textproc/py-expat USE_LANGUAGES= #none +PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX} +FILES_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX} REPLACE_PYTHON+= docutils/utils/code_analyzer.py REPLACE_PYTHON+= docutils/utils/error_reporting.py @@ -23,6 +25,14 @@ REPLACE_PYTHON+= docutils/utils/punctuation_chars.py REPLACE_PYTHON+= docutils/utils/smartquotes.py REPLACE_PYTHON+= docutils/writers/xetex/__init__.py +CMDS= rst2html rst2latex rst2man rst2odt rst2odt_prepstyles rst2pseudoxml rst2s5 +CMDS+= rst2xetex rst2xml rstpep2html + +post-install: + for f in ${CMDS}; do \ + ${MV} ${DESTDIR}${PREFIX}/bin/$$f.py ${DESTDIR}${PREFIX}/bin/$$f-${PYVERSSUFFIX}.py; \ + done + .include "../../lang/python/application.mk" .include "../../lang/python/distutils.mk" .include "../../mk/bsd.pkg.mk" |