557b468ff7
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.
38 lines
1.3 KiB
Makefile
38 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.43 2015/02/24 11:03:05 markd Exp $
|
|
|
|
DISTNAME= docutils-0.12
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=docutils/}
|
|
|
|
MAINTAINER= darcy@NetBSD.org
|
|
HOMEPAGE= http://docutils.sourceforge.net/
|
|
COMMENT= Python tool to generate documents
|
|
LICENSE= public-domain AND 2-clause-bsd
|
|
|
|
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
|
|
REPLACE_PYTHON+= docutils/utils/math/latex2mathml.py
|
|
REPLACE_PYTHON+= docutils/utils/math/math2html.py
|
|
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"
|