pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-docutils py-docutils: updated to 0.16



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a26aa802aca1
branches:  trunk
changeset: 427142:a26aa802aca1
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Apr 12 11:19:48 2020 +0000

description:
py-docutils: updated to 0.16

Release 0.16:

Docutils 0.15.x is the last version supporting Python 2.6, 3.3 and 3.4.
Docutils 0.16.x supports Python 2.7 and Python >= 3.5 natively,
without the use of the ``2to3`` tool.

* reStructuredText:
  - Keep `backslash escapes`__ in the document tree. This allows, e.g.,
    escaping of author-separators in `bibliographic fields`__.
* LaTeX writer:
  - Informal titles of type "rubric" default to bold-italic and left aligned.
  - Deprecate ``\docutilsrole`` prefix for styling commands:
    use ``\DUrole`` instead.
  - Fix topic subtitle.
  - Add "latex writers" to the `config_section_dependencies`.
  - Ignore classes for `rubric` elements
    (class wrapper interferes with LaTeX formatting).

* tools/buildhtml.py
  - New option "--html-writer" allows to select "html__" (default),
    "html4" or "html5".
* docutils/io.py
  - Remove the `handle_io_errors` option from io.FileInput/Output.
* docutils/nodes.py
  - If `auto_id_prefix`_ ends with "%", this is replaced with the tag name.
* Various bugfixes and improvements (see HISTORY_).

diffstat:

 textproc/py-docutils/Makefile |  10 ++--------
 textproc/py-docutils/PLIST    |   5 +----
 textproc/py-docutils/distinfo |  10 +++++-----
 3 files changed, 8 insertions(+), 17 deletions(-)

diffs (61 lines):

diff -r ea181b70ce81 -r a26aa802aca1 textproc/py-docutils/Makefile
--- a/textproc/py-docutils/Makefile     Sun Apr 12 11:16:17 2020 +0000
+++ b/textproc/py-docutils/Makefile     Sun Apr 12 11:19:48 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.50 2020/01/26 05:26:26 rillig Exp $
+# $NetBSD: Makefile,v 1.51 2020/04/12 11:19:48 adam Exp $
 
-DISTNAME=      docutils-0.15.2
+DISTNAME=      docutils-0.16
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=d/docutils/}
@@ -30,14 +30,8 @@
        ${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/egg.mk"
diff -r ea181b70ce81 -r a26aa802aca1 textproc/py-docutils/PLIST
--- a/textproc/py-docutils/PLIST        Sun Apr 12 11:16:17 2020 +0000
+++ b/textproc/py-docutils/PLIST        Sun Apr 12 11:19:48 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.24 2019/08/13 12:35:12 adam Exp $
+@comment $NetBSD: PLIST,v 1.25 2020/04/12 11:19:48 adam Exp $
 bin/rst2html-${PYVERSSUFFIX}
 bin/rst2html4-${PYVERSSUFFIX}
 bin/rst2html5-${PYVERSSUFFIX}
@@ -18,9 +18,6 @@
 ${PYSITELIB}/docutils/__init__.py
 ${PYSITELIB}/docutils/__init__.pyc
 ${PYSITELIB}/docutils/__init__.pyo
-${PYSITELIB}/docutils/_compat.py
-${PYSITELIB}/docutils/_compat.pyc
-${PYSITELIB}/docutils/_compat.pyo
 ${PYSITELIB}/docutils/core.py
 ${PYSITELIB}/docutils/core.pyc
 ${PYSITELIB}/docutils/core.pyo
diff -r ea181b70ce81 -r a26aa802aca1 textproc/py-docutils/distinfo
--- a/textproc/py-docutils/distinfo     Sun Apr 12 11:16:17 2020 +0000
+++ b/textproc/py-docutils/distinfo     Sun Apr 12 11:19:48 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.22 2019/08/13 12:35:12 adam Exp $
+$NetBSD: distinfo,v 1.23 2020/04/12 11:19:48 adam Exp $
 
-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
+SHA1 (docutils-0.16.tar.gz) = 35f6d15225f8e830ef379cbc9a7ae0b82db97231
+RMD160 (docutils-0.16.tar.gz) = d790713e8a48c19ea7826b57d60536561f0a1f74
+SHA512 (docutils-0.16.tar.gz) = 4e0c6662924cac6b8f28bb77a4f50eafd637c1083990a23dbd905d8a05362a18dae96e63408ed43b595b693ca755c7961d1282129d3215ed3774af0dddcc0466
+Size (docutils-0.16.tar.gz) = 1962041 bytes



Home | Main Index | Thread Index | Old Index