pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/46573: [Update]textproc/py-docutils:update to 0.9



>Number:         46573
>Category:       pkg
>Synopsis:       [Update]textproc/py-docutils:update to 0.9
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 10 08:20:00 +0000 2012
>Originator:     wen heping
>Release:        NetBSD-5.1.2
>Organization:
netbsd
>Environment:
>Description:
1 update to 0.9
ChangeLog:

Release 0.9 (2012-05-02)
========================

* General:

  - New reStructuredText "code" role and directive and "code" option
    of the "include" directive with syntax highlighting by Pygments_.
  - Fix parse_option_marker for option arguments containing ``=``.

.. _Pygments: http://pygments.org/

* setup.py

  - Fix [ 2971827 ] and [ 3442827 ]
    extras/roman.py moved to docutils/utils/roman.py

* docutils/frontend.py

  - Fix [ 3481980 ] Use os.getcwdu() in make_paths_absolute().

* docutils/io.py

  - Fix [ 3395948 ] (Work around encoding problems in Py3k).
  - `mode` argument for FileOutput avoids code replication in
    BinaryFileOutput.
  - New exceptions InputError and OutputError for IO errors in
    FileInput/FileOutput.

* docutils/core.py:

  - No "hard" system exit on file IO errors: catch and report them in
    `Publisher.reportException` instead. Allows handling by a calling
    application if the configuration setting `traceback` is True.

* docutils/utils.py -> docutils/utils/__init__.py

  - docutils.utils is now a package (providing a place for sub-modules)

  .. note:: docutils/math, docutils/error_reporting.py, and
     docutils/urischemes.py will move to the utils package in the next
     release, too. See RELEASE-NOTES__

     __ RELEASE-NOTES.html

  - DependencyList uses io.FileOutput and 'utf8' encoding to prevent
    errors recording non-ASCII filenames (fixes [ 3434355 ]).

  - Fix relative_path() with source=None and `unicode` target.

* docutils/parsers/rst/states.py

  - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
    characters and "international" quotes around inline markup.
  - Use `field_marker` pattern to look for start of a
    directive option block (fixes [ 3484857 ]).

* docutils/parsers/rst/tableparser.py

  - Fix [ 2926161 ] for simple tables.
    (Combining chars in grid tables still contribute to cell width.)

* docutils/writers/latex2e/__init__.py

  - Support the `abbreviation` and `acronym` standard roles.
  - Record only files required to generate the LaTeX source as dependencies.
  - Fix handling of missing stylesheets.
  - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
    when suppressing LaTeX section numbering.
  - Use ``\DUtitle`` for unsupported section levels
  - Apply [ 3512791 ] do not compare string literals with "is"

* docutils/writers/xetex/__init__.py

  - Avoid code duplication with latex2e writer (solves [ 3512728 ]).

* docutils/writers/html4css1/__init__.py

  - Change default for `math-output` setting to MathJax.
  - Fix handling of missing stylesheets.

* docutils/writers/docutils_xml.py

  - Use the visitor pattern with default_visit()/default_depart() methods
    instead of minidom to facilitate special handling of selected nodes.
  - Support raw XML (inserted as-is inside a <raw></raw> node).

* docutils/writers/manpage.py

  - Do not emit comment line with trailing blank. Problematic for VCS.
>How-To-Repeat:

>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/py-docutils/Makefile,v
retrieving revision 1.34
diff -u -p -r1.34 Makefile
--- Makefile    4 Feb 2012 13:10:16 -0000       1.34
+++ Makefile    10 Jun 2012 08:11:21 -0000
@@ -1,7 +1,6 @@
 # $NetBSD: Makefile,v 1.34 2012/02/04 13:10:16 obache Exp $

-DISTNAME=      docutils-0.8.1
-PKGREVISION=   1
+DISTNAME=      docutils-0.9
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=docutils/}
@@ -14,6 +13,7 @@ LICENSE=      public-domain AND 2-clause-bsd
 PKG_DESTDIR_SUPPORT=   user-destdir

 DEPENDS+=      ${PYPKGPREFIX}-roman>=1.4:../../math/py-roman
+DEPENDS+=      ${PYPKGPREFIX}-expat>=0:../../textproc/py-expat

 USE_LANGUAGES= #none

@@ -25,6 +25,7 @@ SUBST_FILES.env=      docutils/_string_templa
 SUBST_FILES.env+=      docutils/error_reporting.py
 SUBST_FILES.env+=      docutils/math/latex2mathml.py
 SUBST_FILES.env+=      docutils/math/math2html.py
+SUBST_FILES.env+=      utils/punctuation_chars.py
 SUBST_FILES.env+=      docutils/writers/xetex/__init__.py

 .include "../../lang/python/distutils.mk"
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/py-docutils/PLIST,v
retrieving revision 1.16
diff -u -p -r1.16 PLIST
--- PLIST       8 Apr 2012 20:21:57 -0000       1.16
+++ PLIST       10 Jun 2012 08:11:21 -0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.16 2012/04/08 20:21:57 wiz Exp $
+@comment $NetBSD$
 bin/rst2html.py
 bin/rst2latex.py
 bin/rst2man.py
@@ -112,9 +112,12 @@ ${PYSITELIB}/docutils/math/latex2mathml.
 ${PYSITELIB}/docutils/math/math2html.py
 ${PYSITELIB}/docutils/math/math2html.pyc
 ${PYSITELIB}/docutils/math/math2html.pyo
-${PYSITELIB}/docutils/math/unimathsymbols2tex.py
-${PYSITELIB}/docutils/math/unimathsymbols2tex.pyc
-${PYSITELIB}/docutils/math/unimathsymbols2tex.pyo
+${PYSITELIB}/docutils/math/tex2unichar.py
+${PYSITELIB}/docutils/math/tex2unichar.pyc
+${PYSITELIB}/docutils/math/tex2unichar.pyo
+${PYSITELIB}/docutils/math/unichar2tex.py
+${PYSITELIB}/docutils/math/unichar2tex.pyc
+${PYSITELIB}/docutils/math/unichar2tex.pyo
 ${PYSITELIB}/docutils/nodes.py
 ${PYSITELIB}/docutils/nodes.pyc
 ${PYSITELIB}/docutils/nodes.pyo
@@ -311,9 +314,18 @@ ${PYSITELIB}/docutils/transforms/writer_
 ${PYSITELIB}/docutils/urischemes.py
 ${PYSITELIB}/docutils/urischemes.pyc
 ${PYSITELIB}/docutils/urischemes.pyo
-${PYSITELIB}/docutils/utils.py
-${PYSITELIB}/docutils/utils.pyc
-${PYSITELIB}/docutils/utils.pyo
+${PYSITELIB}/docutils/utils/__init__.py
+${PYSITELIB}/docutils/utils/__init__.pyc
+${PYSITELIB}/docutils/utils/__init__.pyo
+${PYSITELIB}/docutils/utils/code_analyzer.py
+${PYSITELIB}/docutils/utils/code_analyzer.pyc
+${PYSITELIB}/docutils/utils/code_analyzer.pyo
+${PYSITELIB}/docutils/utils/punctuation_chars.py
+${PYSITELIB}/docutils/utils/punctuation_chars.pyc
+${PYSITELIB}/docutils/utils/punctuation_chars.pyo
+${PYSITELIB}/docutils/utils/roman.py
+${PYSITELIB}/docutils/utils/roman.pyc
+${PYSITELIB}/docutils/utils/roman.pyo
 ${PYSITELIB}/docutils/writers/__init__.py
 ${PYSITELIB}/docutils/writers/__init__.pyc
 ${PYSITELIB}/docutils/writers/__init__.pyo
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/py-docutils/distinfo,v
retrieving revision 1.13
diff -u -p -r1.13 distinfo
--- distinfo    5 Oct 2011 07:47:28 -0000       1.13
+++ distinfo    10 Jun 2012 08:11:21 -0000
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.13 2011/10/05 07:47:28 obache Exp $

-SHA1 (docutils-0.8.1.tar.gz) = 5c23bf94b46d5ad786dd6f278233d1f16c3047e8
-RMD160 (docutils-0.8.1.tar.gz) = 372abf9f47af11f0e63ae11f35f7db450097d960
-Size (docutils-0.8.1.tar.gz) = 1499832 bytes
+SHA1 (docutils-0.9.tar.gz) = 6c5c949bc50073dc60536d54323cd94d9d3f2ed3
+RMD160 (docutils-0.9.tar.gz) = 954e242a8d7bea889308bc4608126aa3e07f0dbb
+Size (docutils-0.9.tar.gz) = 1534138 bytes



Home | Main Index | Thread Index | Old Index