pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/py-docutils Update to 0.9.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/f556ceb7cf9c
branches: trunk
changeset: 609847:f556ceb7cf9c
user: wen <wen%pkgsrc.org@localhost>
date: Thu Oct 11 12:22:26 2012 +0000
description:
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:
textproc/py-docutils/Makefile | 12 +++++++++---
textproc/py-docutils/distinfo | 8 ++++----
2 files changed, 13 insertions(+), 7 deletions(-)
diffs (40 lines):
diff -r 3d23e97a4fa6 -r f556ceb7cf9c textproc/py-docutils/Makefile
--- a/textproc/py-docutils/Makefile Thu Oct 11 11:36:20 2012 +0000
+++ b/textproc/py-docutils/Makefile Thu Oct 11 12:22:26 2012 +0000
@@ -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/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 -r 3d23e97a4fa6 -r f556ceb7cf9c textproc/py-docutils/distinfo
--- a/textproc/py-docutils/distinfo Thu Oct 11 11:36:20 2012 +0000
+++ b/textproc/py-docutils/distinfo Thu Oct 11 12:22:26 2012 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index