pkgsrc/textproc/py-docutils/Makefile
adam 1e44993a0c Release 0.14:
As rc2.

* docutils/docs/ref/docutils.dtd:
  - Enable validation of Docutils XML documents against the DTD:

* docutils/parsers/rst/:
  - Added functionality: escaped whitespace in URI contexts.
  - Consistent handling of all whitespace characters in inline markup
    recognition. (May break documents that relied on some whitespace
    characters (NBSP, ...) *not* to be recognized as whitespace.)

* docutils/utils/smartquotes.py:
  - Update quote definitions for et, fi, fr, ro, sv, tr, uk.
  - Add quote definitions for hr, hsb, hu, lv, sh, sl, sr.
  - Differentiate apostrophe from closing single quote (if possible).
  - Add command line interface for stand-alone use (requires 2.7).

* docutils/writers/_html_base:
  - Provide default title in metadata.
  - The MathJax CDN shut down on April 30, 2017. For security reasons, we
    don't use a third party public installation as default but warn
    if `math-output` is set to MathJax without specifying a URL.
    See math-output_ for details.

* docutils/writers/html4css1:
  - Respect automatic table column sizing.

* docutils/writers/latex2e/__init__.py
  - Handle class arguments for block-level elements by wrapping them
    in a "DUclass" environment. This replaces the special handling for
    "epigraph" and "topic" elements.

* docutils/writers/odf_odt:
  - Language option sets ODF document's default language
  - Image width, scale, ... set image size in generated ODF.

* tools/
  - New front-end ``rst2html4.py``.
2017-09-04 18:05:58 +00:00

36 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.47 2017/09/04 18:05:58 adam Exp $
DISTNAME= docutils-0.14
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
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 rst2html4 rst2html5 rst2latex rst2man rst2odt rst2odt_prepstyles
CMDS+= rst2pseudoxml rst2s5 rst2xetex rst2xml rstpep2html
post-install:
for f in ${CMDS}; do \
${MV} ${DESTDIR}${PREFIX}/bin/$$f.py ${DESTDIR}${PREFIX}/bin/$$f-${PYVERSSUFFIX}.py || ${TRUE}; \
done
.include "../../lang/python/application.mk"
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"