Skip to content
Browse files

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.
  • Loading branch information...
1 parent 0ae58e7 commit df39707fa688506553ff60a7ac0f98a01822513f wen committed Oct 11, 2012
Showing with 13 additions and 7 deletions.
  1. +9 −3 textproc/py-docutils/Makefile
  2. +4 −4 textproc/py-docutils/distinfo
View
12 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"
View
8 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

0 comments on commit df39707

Please sign in to comment.
Something went wrong with that request. Please try again.