summaryrefslogtreecommitdiff
path: root/textproc/py-docutils
diff options
context:
space:
mode:
authorwen <wen@pkgsrc.org>2012-10-11 12:22:26 +0000
committerwen <wen@pkgsrc.org>2012-10-11 12:22:26 +0000
commit70f767791e78aed5c3380185a689ccae8f7e5af8 (patch)
tree0ee0b02ab3ba39d6da6384adc92b1b381e513464 /textproc/py-docutils
parenta469e857a87aaea7ca052cb8c3b38d1df15fc166 (diff)
downloadpkgsrc-70f767791e78aed5c3380185a689ccae8f7e5af8.tar.gz
Update to 0.9.1
Upstream changes: Release 0.9.1 (2012-06-17) ========================== * docutils/setup.py - Fix [ 3527842 ]. Under Python3, converted tests and tools were installed in the PYTHONPATH. Converted tests are now stored in ``test3/``, tools no longer need conversion. If you installed one of Docutils versions 0.7 ... 0.9 with ``setup.py install`` under Python3, remove the spurious ``test/`` and ``tools/`` directories in the site library root. * docutils/test/ - Make tests independent from the location of the ``test/`` directory. - Use converted sources (from the ``build/`` directory) for tests under Python3. * docutils/tools/ - Make tools compatible with both, Python 2 and 3 without 2to3-conversion. * docutils/io.py - Fix writing binary data to sys.stdout under Python3 (allows ``rst2odt.py`` to be used with output redirection). * docutils/parsers/rst/directives/misc.py - Fix [ 3525847 ]. Catch and report UnicodeEncodeError with ``locale == C`` and 8-bit char in path argument of `include` directive. * docutils/test/alltests.py - class `Tee`: catch UnicodeError when writing to "ascii" stream or file under Python3.
Diffstat (limited to 'textproc/py-docutils')
-rw-r--r--textproc/py-docutils/Makefile12
-rw-r--r--textproc/py-docutils/distinfo8
2 files changed, 13 insertions, 7 deletions
diff --git a/textproc/py-docutils/Makefile b/textproc/py-docutils/Makefile
index e23eccd8c89..536f6033cd4 100644
--- a/textproc/py-docutils/Makefile
+++ b/textproc/py-docutils/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.36 2012/09/21 12:39:41 obache Exp $
+# $NetBSD: Makefile,v 1.37 2012/10/11 12:22:26 wen Exp $
-DISTNAME= docutils-0.9
+DISTNAME= docutils-0.9.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=docutils/}
@@ -26,7 +26,13 @@ SUBST_FILES.env+= docutils/error_reporting.py
SUBST_FILES.env+= docutils/math/latex2mathml.py
SUBST_FILES.env+= docutils/math/math2html.py
SUBST_FILES.env+= docutils/writers/xetex/__init__.py
-SUBST_FILES.env+= utils/punctuation_chars.py
+SUBST_FILES.env+= docutils/utils/punctuation_chars.py
+
+SUBST_CLASSES+= python
+SUBST_SED.python= -e "s,\#!/usr/bin/python,\#!${PYTHONBIN},"
+SUBST_MESSAGE.python= Fixing path to python.
+SUBST_STAGE.python= post-patch
+SUBST_FILES.python= docutils/utils/code_analyzer.py
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-docutils/distinfo b/textproc/py-docutils/distinfo
index cfcc3ebc086..bd8436068df 100644
--- a/textproc/py-docutils/distinfo
+++ b/textproc/py-docutils/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.14 2012/09/20 12:43:50 darcy Exp $
+$NetBSD: distinfo,v 1.15 2012/10/11 12:22:26 wen Exp $
-SHA1 (docutils-0.9.tar.gz) = 6c5c949bc50073dc60536d54323cd94d9d3f2ed3
-RMD160 (docutils-0.9.tar.gz) = 954e242a8d7bea889308bc4608126aa3e07f0dbb
-Size (docutils-0.9.tar.gz) = 1534138 bytes
+SHA1 (docutils-0.9.1.tar.gz) = c55d1ccabe2de82dd93d0f14884d07bbe10a3d40
+RMD160 (docutils-0.9.1.tar.gz) = 6450fced34792934ed061aceef1afcde62630762
+Size (docutils-0.9.1.tar.gz) = 1541437 bytes