NetBSD Problem Report #46573

From www@NetBSD.org  Sun Jun 10 08:15:35 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 5ED7963B89C
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 10 Jun 2012 08:15:35 +0000 (UTC)
Message-Id: <20120610081533.D6DC863B882@www.NetBSD.org>
Date: Sun, 10 Jun 2012 08:15:33 +0000 (UTC)
From: wenheping@gmail.com
Reply-To: wenheping@gmail.com
To: gnats-bugs@NetBSD.org
Subject: [Update]textproc/py-docutils:update to 0.9
X-Send-Pr-Version: www-1.0

>Number:         46573
>Category:       pkg
>Synopsis:       [Update]textproc/py-docutils:update to 0.9
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wen
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 10 08:20:00 +0000 2012
>Closed-Date:    Thu Oct 11 12:39:23 +0000 2012
>Last-Modified:  Thu Oct 11 12:45:01 +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

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->darcy
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Thu, 19 Jul 2012 12:31:14 +0000
Responsible-Changed-Why:
Over to maintainer.


State-Changed-From-To: open->feedback
State-Changed-By: darcy@NetBSD.org
State-Changed-When: Thu, 20 Sep 2012 12:46:22 +0000
State-Changed-Why:
Patch applied.


From: "D'Arcy J.M. Cain" <darcy@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/46573 CVS commit: pkgsrc/textproc/py-docutils
Date: Thu, 20 Sep 2012 12:43:51 +0000

 Module Name:	pkgsrc
 Committed By:	darcy
 Date:		Thu Sep 20 12:43:50 UTC 2012

 Modified Files:
 	pkgsrc/textproc/py-docutils: Makefile PLIST distinfo

 Log Message:
 Update to version 0.9
 Closes PR 46573


 To generate a diff of this commit:
 cvs rdiff -u -r1.34 -r1.35 pkgsrc/textproc/py-docutils/Makefile
 cvs rdiff -u -r1.16 -r1.17 pkgsrc/textproc/py-docutils/PLIST
 cvs rdiff -u -r1.13 -r1.14 pkgsrc/textproc/py-docutils/distinfo

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/46573 CVS commit: pkgsrc/textproc/py-docutils
Date: Fri, 21 Sep 2012 12:45:01 +0000

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Fri Sep 21 12:45:01 UTC 2012

 Modified Files:
 	pkgsrc/textproc/py-docutils: PLIST

 Log Message:
 apply missing the first hunk of the patch for PLIST in PR 46573.


 To generate a diff of this commit:
 cvs rdiff -u -r1.17 -r1.18 pkgsrc/textproc/py-docutils/PLIST

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Responsible-Changed-From-To: darcy->wen
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Wed, 10 Oct 2012 16:06:15 +0000
Responsible-Changed-Why:
darcy seems to be occupied, please commit this yourself. Thanks.


State-Changed-From-To: feedback->closed
State-Changed-By: wen@NetBSD.org
State-Changed-When: Thu, 11 Oct 2012 12:39:23 +0000
State-Changed-Why:
Committed. Thanks!


From: wen heping <wenheping@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/46573 ([Update]textproc/py-docutils:update to 0.9)
Date: Thu, 11 Oct 2012 20:41:21 +0800

 --047d7b344100734c8604cbc7e3d7
 Content-Type: text/plain; charset=UTF-8

 2012/10/11 <wiz@netbsd.org>

 > Synopsis: [Update]textproc/py-docutils:update to 0.9
 >
 > Responsible-Changed-From-To: darcy->wen
 > Responsible-Changed-By: wiz@NetBSD.org
 > Responsible-Changed-When: Wed, 10 Oct 2012 16:06:15 +0000
 > Responsible-Changed-Why:
 > darcy seems to be occupied, please commit this yourself. Thanks.
 >

 darcy@ committed this PR a month ago but seems forgot close it.
 I update the port to 0.9.1 and fix some problem in Makefile.

 Now I closed this PR.

 Regards,
 wen

 --047d7b344100734c8604cbc7e3d7
 Content-Type: text/html; charset=UTF-8
 Content-Transfer-Encoding: quoted-printable

 <br><br><div class=3D"gmail_quote">2012/10/11  <span dir=3D"ltr">&lt;<a hre=
 f=3D"mailto:wiz@netbsd.org" target=3D"_blank">wiz@netbsd.org</a>&gt;</span>=
 <br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-lef=
 t:1px #ccc solid;padding-left:1ex">
 Synopsis: [Update]textproc/py-docutils:update to 0.9<br>
 <br>
 Responsible-Changed-From-To: darcy-&gt;wen<br>
 Responsible-Changed-By: wiz@NetBSD.org<br>
 Responsible-Changed-When: Wed, 10 Oct 2012 16:06:15 +0000<br>
 Responsible-Changed-Why:<br>
 darcy seems to be occupied, please commit this yourself. Thanks.<br></block=
 quote><div><br></div><div>darcy@ committed this PR a month ago but seems fo=
 rgot close it.</div><div>I update the port to 0.9.1 and fix some problem in=
  Makefile.</div>
 <div><br></div><div>Now I closed this PR.</div><div><br></div><div>Regards,=
 </div><div>wen</div><div><br></div><div>=C2=A0</div></div><br>

 --047d7b344100734c8604cbc7e3d7--

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.