pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-docutils



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Aug 13 12:35:12 UTC 2019

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

Log Message:
py-docutils: updatede to 0.15.2

Release 0.15.2:

* docutils/nodes.py
  - Fix 366: circular import when docutils nodes is iported before docutils.utils
    by putting import docutils.utils into astext.
  - Fix 366: as it is done in trunk Commit [r8294], moving the function.

Release 0.15:

* General
  - Dropped support for Python 2.4, 2.5, 3.1, and 3.2.
  - Infrastructure automation.

* docs/ref/rst/restructuredtext.txt:
  - Document rST syntax change: Tokens like :this:example: are now valid
    field list names (instead of ordinary text).

* docutils/io.py
  - Fix [ 348 ] Since Python 3.4, the 'U' universal newlines mode has been
    deprecated (thanks to hugovk).

*  docutils/languages/la.py
   docutils/parsers/rst/languages/la.py:
  - Apply [ 153 ] Korean mappings by Thomas Sungjin Kang.

* docutils/nodes.py
  - Fix [ 251 ] system_message.copy() TypeError.
  - Element.copy() also copies document, line, and source attributes.

* docutils/parsers/rst/__init__.py:
  - Apply [ 152 ] reset default role at end of document.

* docutils/parsers/rst/states.py:
  - Allow embedded colons in field list field names.
  - Add rawsource attribute for text of inline elements.

* docutils/parsers/rst/directives/html.py:
  - Fix bug 281: Remove escaping backslashes in meta directive content.

* docutils/parsers/rst/directives/misc.py:
  - Don't convert tabs to spaces, if tab_width is negative in
    include directive with code option.

* docutils/parsers/rst/directives/tables.py:
  - Apply patch 121: Add "width" option for the table directives.

* docutils/transforms/frontmatter.py:
  - Add field name as class argument to generic docinfo fields unconditionally.

* docutils/transforms/references.py:
  - Fix bug 331: fixed the "trim" options of the "unicode" directive.

* docutils/utils/__init__.py:
  - Deprecate unique_combinations (obsoleted by itertools.combinations).

* docutils/utils/smartquotes.py:
  - Fix bug 332: use open quote after whitespace, ZWSP, and ZWNJ.

* docutils/writers/html5_polyglot/
  - automatically add HTML5-compatible meta tags for docinfo items
    "authors", "date", and "copyright".

* docutils/writers/_html_base.py
  - Fix bug 358: Non-breaking space removed from fixed-width literal.

* docutils/writers/latex2e/__init__.py:
  - Fix bug 323: spurious \phantomsection and whitespace in
    parts['title'].
  - Fix bug 324: Invalid LaTeX for table with empty multicolumn cell.
  - Fixes to literal block handling.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/textproc/py-docutils/ALTERNATIVES
cvs rdiff -u -r1.47 -r1.48 pkgsrc/textproc/py-docutils/Makefile
cvs rdiff -u -r1.23 -r1.24 pkgsrc/textproc/py-docutils/PLIST
cvs rdiff -u -r1.21 -r1.22 pkgsrc/textproc/py-docutils/distinfo

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

Modified files:

Index: pkgsrc/textproc/py-docutils/ALTERNATIVES
diff -u pkgsrc/textproc/py-docutils/ALTERNATIVES:1.2 pkgsrc/textproc/py-docutils/ALTERNATIVES:1.3
--- pkgsrc/textproc/py-docutils/ALTERNATIVES:1.2        Thu Dec 15 10:42:30 2016
+++ pkgsrc/textproc/py-docutils/ALTERNATIVES    Tue Aug 13 12:35:12 2019
@@ -1,10 +1,10 @@
-bin/rst2html.py @PREFIX@/bin/rst2html-@PYVERSSUFFIX@.py
-bin/rst2latex.py @PREFIX@/bin/rst2latex-@PYVERSSUFFIX@.py
-bin/rst2man.py @PREFIX@/bin/rst2man-@PYVERSSUFFIX@.py
-bin/rst2odt.py @PREFIX@/bin/rst2odt-@PYVERSSUFFIX@.py
-bin/rst2odt_prepstyles.py @PREFIX@/bin/rst2odt_prepstyles-@PYVERSSUFFIX@.py
-bin/rst2pseudoxml.py @PREFIX@/bin/rst2pseudoxml-@PYVERSSUFFIX@.py
-bin/rst2s5.py @PREFIX@/bin/rst2s5-@PYVERSSUFFIX@.py
-bin/rst2xetex.py @PREFIX@/bin/rst2xetex-@PYVERSSUFFIX@.py
-bin/rst2xml.py @PREFIX@/bin/rst2xml-@PYVERSSUFFIX@.py
-bin/rstpep2html.py @PREFIX@/bin/rstpep2html-@PYVERSSUFFIX@.py
+bin/rst2html.py @PREFIX@/bin/rst2html-@PYVERSSUFFIX@
+bin/rst2latex.py @PREFIX@/bin/rst2latex-@PYVERSSUFFIX@
+bin/rst2man.py @PREFIX@/bin/rst2man-@PYVERSSUFFIX@
+bin/rst2odt.py @PREFIX@/bin/rst2odt-@PYVERSSUFFIX@
+bin/rst2odt_prepstyles.py @PREFIX@/bin/rst2odt_prepstyles-@PYVERSSUFFIX@
+bin/rst2pseudoxml.py @PREFIX@/bin/rst2pseudoxml-@PYVERSSUFFIX@
+bin/rst2s5.py @PREFIX@/bin/rst2s5-@PYVERSSUFFIX@
+bin/rst2xetex.py @PREFIX@/bin/rst2xetex-@PYVERSSUFFIX@
+bin/rst2xml.py @PREFIX@/bin/rst2xml-@PYVERSSUFFIX@
+bin/rstpep2html.py @PREFIX@/bin/rstpep2html-@PYVERSSUFFIX@

Index: pkgsrc/textproc/py-docutils/Makefile
diff -u pkgsrc/textproc/py-docutils/Makefile:1.47 pkgsrc/textproc/py-docutils/Makefile:1.48
--- pkgsrc/textproc/py-docutils/Makefile:1.47   Mon Sep  4 18:05:58 2017
+++ pkgsrc/textproc/py-docutils/Makefile        Tue Aug 13 12:35:12 2019
@@ -1,19 +1,19 @@
-# $NetBSD: Makefile,v 1.47 2017/09/04 18:05:58 adam Exp $
+# $NetBSD: Makefile,v 1.48 2019/08/13 12:35:12 adam Exp $
 
-DISTNAME=      docutils-0.14
+DISTNAME=      docutils-0.15.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    textproc python
-MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=docutils/}
+MASTER_SITES=  ${MASTER_SITE_PYPI:=d/docutils/}
 
 MAINTAINER=    darcy%NetBSD.org@localhost
 HOMEPAGE=      http://docutils.sourceforge.net/
 COMMENT=       Python tool to generate documents
 LICENSE=       public-domain AND 2-clause-bsd
 
-DEPENDS+=      ${PYPKGPREFIX}-roman>=1.4:../../math/py-roman
 DEPENDS+=      ${PYPKGPREFIX}-expat>=0:../../textproc/py-expat
+DEPENDS+=      ${PYPKGPREFIX}-roman>=1.4:../../math/py-roman
 
-USE_LANGUAGES= #none
+USE_LANGUAGES= # none
 
 REPLACE_PYTHON+=       docutils/utils/code_analyzer.py
 REPLACE_PYTHON+=       docutils/utils/error_reporting.py
@@ -23,14 +23,22 @@ REPLACE_PYTHON+=    docutils/utils/punctuat
 REPLACE_PYTHON+=       docutils/utils/smartquotes.py
 REPLACE_PYTHON+=       docutils/writers/xetex/__init__.py
 
-CMDS=  rst2html rst2html4 rst2html5 rst2latex rst2man rst2odt rst2odt_prepstyles
-CMDS+= rst2pseudoxml rst2s5 rst2xetex rst2xml rstpep2html
-
 post-install:
-       for f in ${CMDS}; do \
-       ${MV} ${DESTDIR}${PREFIX}/bin/$$f.py ${DESTDIR}${PREFIX}/bin/$$f-${PYVERSSUFFIX}.py || ${TRUE}; \
-       done
+.for bin in rst2html rst2html4 rst2html5 rst2latex rst2man rst2odt \
+       rst2odt_prepstyles rst2pseudoxml rst2s5 rst2xetex rst2xml rstpep2html
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} ${bin}.py ${bin}-${PYVERSSUFFIX} || ${TRUE}
+.endfor
+
+.include "../../lang/python/pyversion.mk"
+
+do-test:
+.if ${_PYTHON_VERSION} == 27
+       cd ${WRKSRC} && ${PYTHONBIN} test/alltests.py
+.else
+       cd ${WRKSRC} && ${PYTHONBIN} test3/alltests.py
+.endif
 
 .include "../../lang/python/application.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/textproc/py-docutils/PLIST
diff -u pkgsrc/textproc/py-docutils/PLIST:1.23 pkgsrc/textproc/py-docutils/PLIST:1.24
--- pkgsrc/textproc/py-docutils/PLIST:1.23      Mon Sep  4 18:05:58 2017
+++ pkgsrc/textproc/py-docutils/PLIST   Tue Aug 13 12:35:12 2019
@@ -1,17 +1,20 @@
-@comment $NetBSD: PLIST,v 1.23 2017/09/04 18:05:58 adam Exp $
-bin/rst2html-${PYVERSSUFFIX}.py
-bin/rst2html4-${PYVERSSUFFIX}.py
-bin/rst2html5-${PYVERSSUFFIX}.py
-bin/rst2latex-${PYVERSSUFFIX}.py
-bin/rst2man-${PYVERSSUFFIX}.py
-bin/rst2odt-${PYVERSSUFFIX}.py
-bin/rst2odt_prepstyles-${PYVERSSUFFIX}.py
-bin/rst2pseudoxml-${PYVERSSUFFIX}.py
-bin/rst2s5-${PYVERSSUFFIX}.py
-bin/rst2xetex-${PYVERSSUFFIX}.py
-bin/rst2xml-${PYVERSSUFFIX}.py
-bin/rstpep2html-${PYVERSSUFFIX}.py
-${PYSITELIB}/${EGG_FILE}
+@comment $NetBSD: PLIST,v 1.24 2019/08/13 12:35:12 adam Exp $
+bin/rst2html-${PYVERSSUFFIX}
+bin/rst2html4-${PYVERSSUFFIX}
+bin/rst2html5-${PYVERSSUFFIX}
+bin/rst2latex-${PYVERSSUFFIX}
+bin/rst2man-${PYVERSSUFFIX}
+bin/rst2odt-${PYVERSSUFFIX}
+bin/rst2odt_prepstyles-${PYVERSSUFFIX}
+bin/rst2pseudoxml-${PYVERSSUFFIX}
+bin/rst2s5-${PYVERSSUFFIX}
+bin/rst2xetex-${PYVERSSUFFIX}
+bin/rst2xml-${PYVERSSUFFIX}
+bin/rstpep2html-${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/docutils/__init__.py
 ${PYSITELIB}/docutils/__init__.pyc
 ${PYSITELIB}/docutils/__init__.pyo
@@ -78,6 +81,9 @@ ${PYSITELIB}/docutils/languages/it.pyo
 ${PYSITELIB}/docutils/languages/ja.py
 ${PYSITELIB}/docutils/languages/ja.pyc
 ${PYSITELIB}/docutils/languages/ja.pyo
+${PYSITELIB}/docutils/languages/ko.py
+${PYSITELIB}/docutils/languages/ko.pyc
+${PYSITELIB}/docutils/languages/ko.pyo
 ${PYSITELIB}/docutils/languages/lt.py
 ${PYSITELIB}/docutils/languages/lt.pyc
 ${PYSITELIB}/docutils/languages/lt.pyo
@@ -229,6 +235,9 @@ ${PYSITELIB}/docutils/parsers/rst/langua
 ${PYSITELIB}/docutils/parsers/rst/languages/ja.py
 ${PYSITELIB}/docutils/parsers/rst/languages/ja.pyc
 ${PYSITELIB}/docutils/parsers/rst/languages/ja.pyo
+${PYSITELIB}/docutils/parsers/rst/languages/ko.py
+${PYSITELIB}/docutils/parsers/rst/languages/ko.pyc
+${PYSITELIB}/docutils/parsers/rst/languages/ko.pyo
 ${PYSITELIB}/docutils/parsers/rst/languages/lt.py
 ${PYSITELIB}/docutils/parsers/rst/languages/lt.pyc
 ${PYSITELIB}/docutils/parsers/rst/languages/lt.pyo

Index: pkgsrc/textproc/py-docutils/distinfo
diff -u pkgsrc/textproc/py-docutils/distinfo:1.21 pkgsrc/textproc/py-docutils/distinfo:1.22
--- pkgsrc/textproc/py-docutils/distinfo:1.21   Mon Sep  4 18:05:58 2017
+++ pkgsrc/textproc/py-docutils/distinfo        Tue Aug 13 12:35:12 2019
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.21 2017/09/04 18:05:58 adam Exp $
+$NetBSD: distinfo,v 1.22 2019/08/13 12:35:12 adam Exp $
 
-SHA1 (docutils-0.14.tar.gz) = 32cefb69ac3dab5b04c4d150776f35419cc4c863
-RMD160 (docutils-0.14.tar.gz) = 3331c1b684d377a0a2cb5c1e7431b019b8793840
-SHA512 (docutils-0.14.tar.gz) = 1ed72c2ef7d2ca38d1c6f3154b7986ea46f599d9bd826405a5257fdd7740c8626957d6298aa95fb0edea8a24515de22f1ad9b2ecbd59341a1ab7a2bab30f500c
-Size (docutils-0.14.tar.gz) = 1727105 bytes
+SHA1 (docutils-0.15.2.tar.gz) = 4cfc536e047cb9b1e06f5bd230f391276e1161bb
+RMD160 (docutils-0.15.2.tar.gz) = 60adda380a67156418bfddf7e8ac9a7d9f9ef5f3
+SHA512 (docutils-0.15.2.tar.gz) = b4528c7eba5a27e40f290a9df6894c277d11906d02f6842b9f364b29af9aa1e46f6008c87e4355947bcfa9f2db1cae9f38cf9fa7b8008ba45fa6d685922003a6
+Size (docutils-0.15.2.tar.gz) = 1797388 bytes



Home | Main Index | Thread Index | Old Index