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: wiz
Date: Wed May 3 19:07:52 UTC 2023
Modified Files:
pkgsrc/textproc/py-docutils: Makefile PLIST distinfo
Log Message:
py-docutils: update to 0.19.
Release 0.19 (2022-07-05)
=========================
(Release 0.19b1 (2022-06-21))
* Drop support for Python 2.7, 3.5, and 3.6.
* Output changes:
HTML5:
Wrap groups of footnotes in an ``<aside>`` for easier styling.
The CSS rule ``.footnote-list { display: contents; }`` can be used to
restore the behaviour of custom CSS styles.
* After package installation, the CLI commands ``python -m docutils`` and
``docutils`` start the `generic command line front end tool`__.
__ docs/user/tools.html#generic-command-line-front-end
* Support parsing "Markdown" input with 3rd party parsers
myst_, pycmark_, or recommonmark_.
* The default values for the "pep-references", "rfc-base-url",
and "python-home" `configuration settings`_ now use the "https:" scheme.
The PEP-writer template's header is updated to fix links and
resemble the header of official PEPs.
* Various bugfixes and improvements (see HISTORY_).
.. _myst: https://pypi.org/project/myst-docutils
.. _pycmark: https://pypi.org/project/pycmark/
.. _recommonmark: https://pypi.org/project/recommonmark/
.. _configuration settings: docs/user/config.html
Release 0.18.1 (2021-12-23)
===========================
.. Note::
Docutils 0.18.x is the last version supporting Python 2.7, 3.5, and 3.6.
* ``nodes.Node.traverse()`` returns a list again to restore backwards
compatibility (fixes bug #431).
Use ``nodes.Node.findall()`` to get an iterator.
* re-add module ``parsers.rst.directives.html``
(stub, emits deprecation warning and loads
"Meta" directive from ist new place at ``parsers.rst.directives.misc``.)
* Small bugfixes (see HISTORY_).
Release 0.18 (2021-10-26)
=========================
* Output changes:
Identifiers:
- During `identifier normalization`_, leading number and hyphen
characters are no longer stripped from a `reference name`_, if the
id_prefix_ setting is non-empty.
Example:
with ``--id-prefix="DU-"``, a section with title "34. May"
currently gets the identifier key ``DU-may`` and after the
change the identifier key ``DU-34-may``.
- The default value for the auto_id_prefix_ setting changed to ``%``:
"use the tag name as prefix for auto-generated IDs".
Set auto_id_prefix_ to ``id`` for unchanged auto-IDs.
HTML5:
- Use the semantic tag <aside> for footnote text and citations, topics
(except abstract and toc), admonitions, and system messages.
Use <nav> for the Table of Contents.
- Make "auto" table column widths the default: Only specify column
widths, if the `"widths" option`_ is set and not "auto".
The table-style__ setting "colwidths-grid" restores the current default.
.. _"widths" option: __ docs/ref/rst/directives.html#table
__ docs/user/config.html#table-style
- Items of a definition list with class argument "details" are
converted to `details disclosure elements`_. Example::
..class:: details
Summary
This additional information should be hidden.
- Do not add "compound-first", "compound-middle", or "compound-last" to
elements nested in a compound. Use child selector and ":first-child",
":last-child" pseudo classes instead.
- Use class value "backrefs" instead of "fn-backref" for a span of
back-references.
- Write footnote brackets and field term colons to HTML, so that they
are present also without CSS and when copying text.
- Move space character between section number and heading into
"sectnum" span.
`math-output`_: html
- Support more commands, fix mapping of commands to Unicode characters.
- Scale variable sized operators and big delimiters with CSS.
- Don't use <tt> element (deprecated in HTML5).
- Use STIX fonts if available.
LaTeX:
`legacy_class_functions`_ setting default changed to "False",
admonitions are now environments.
* New standard Docutils doctree node: <meta__>.
* New configuration settings:
- [latex writers] legacy_column_widths_ and
- [html5 writer] image_loading_.
* Removed files:
``iepngfix.htc`` and ``blank.gif`` (IE 6 workaround for `s5_html`).
* Removed sub-module:
``parsers.rst.directives.html``
(reversed in release 0.18.1).
* Removed function: utils.unique_combinations()
(obsoleted by itertools.combinations()).
* Removed attributes:
- ``HTMLTranslator.topic_classes``: check ``node.parent.classes`` instead.
- ``nodes.Text.rawsource``: we store the null-escaped text in Text
nodes since 0.16 so there is no additional information in the
rawsource.
* Major refactoring and fixes/additions in
``docutils/utils/math/math2html.py`` and
``docutils/utils/math/latex2mathml.py``
(mathematical notation in HTML, cf. `LaTeX syntax for mathematics`_).
* nodes.Node.traverse() returns an iterator instead of a list
(reversed in release 0.18.1).
* Various bugfixes and improvements (see HISTORY_).
Fix spelling errors in documentation and docstrings.
Thanks to Dimitri Papadopoulos.
__ docs/ref/doctree.html#meta
.. _identifier normalization:
docs/ref/rst/directives.html#identifier-normalization
.. _id_prefix: docs/user/config.html#id-prefix
.. _auto_id_prefix: docs/user/config.html#auto-id-prefix
.. _details disclosure elements:
https://www.w3.org/TR/html52/interactive-elements.html#the-details-element
.. _LaTeX syntax for mathematics: docs/ref/rst/mathematics.html
.. _legacy_column_widths: docs/user/config.html#legacy-column-widths
To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 pkgsrc/textproc/py-docutils/Makefile
cvs rdiff -u -r1.27 -r1.28 pkgsrc/textproc/py-docutils/PLIST \
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/Makefile
diff -u pkgsrc/textproc/py-docutils/Makefile:1.58 pkgsrc/textproc/py-docutils/Makefile:1.59
--- pkgsrc/textproc/py-docutils/Makefile:1.58 Tue May 2 16:35:15 2023
+++ pkgsrc/textproc/py-docutils/Makefile Wed May 3 19:07:52 2023
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.58 2023/05/02 16:35:15 wiz Exp $
+# $NetBSD: Makefile,v 1.59 2023/05/03 19:07:52 wiz Exp $
-DISTNAME= docutils-0.17.1
+DISTNAME= docutils-0.19
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=d/docutils/}
Index: pkgsrc/textproc/py-docutils/PLIST
diff -u pkgsrc/textproc/py-docutils/PLIST:1.27 pkgsrc/textproc/py-docutils/PLIST:1.28
--- pkgsrc/textproc/py-docutils/PLIST:1.27 Fri Oct 29 16:13:22 2021
+++ pkgsrc/textproc/py-docutils/PLIST Wed May 3 19:07:52 2023
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.27 2021/10/29 16:13:22 adam Exp $
+@comment $NetBSD: PLIST,v 1.28 2023/05/03 19:07:52 wiz Exp $
+bin/docutils
bin/rst2html-${PYVERSSUFFIX}
bin/rst2html4-${PYVERSSUFFIX}
bin/rst2html5-${PYVERSSUFFIX}
@@ -16,11 +17,15 @@ ${PYSITELIB}/${EGG_INFODIR}/SOURCES.html
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.html
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.html
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/docutils/__init__.py
${PYSITELIB}/docutils/__init__.pyc
${PYSITELIB}/docutils/__init__.pyo
+${PYSITELIB}/docutils/__main__.py
+${PYSITELIB}/docutils/__main__.pyc
+${PYSITELIB}/docutils/__main__.pyo
${PYSITELIB}/docutils/core.py
${PYSITELIB}/docutils/core.pyc
${PYSITELIB}/docutils/core.pyo
@@ -123,6 +128,9 @@ ${PYSITELIB}/docutils/nodes.pyo
${PYSITELIB}/docutils/parsers/__init__.py
${PYSITELIB}/docutils/parsers/__init__.pyc
${PYSITELIB}/docutils/parsers/__init__.pyo
+${PYSITELIB}/docutils/parsers/commonmark_wrapper.py
+${PYSITELIB}/docutils/parsers/commonmark_wrapper.pyc
+${PYSITELIB}/docutils/parsers/commonmark_wrapper.pyo
${PYSITELIB}/docutils/parsers/null.py
${PYSITELIB}/docutils/parsers/null.pyc
${PYSITELIB}/docutils/parsers/null.pyo
@@ -428,9 +436,7 @@ ${PYSITELIB}/docutils/writers/s5_html/th
${PYSITELIB}/docutils/writers/s5_html/themes/big-black/pretty.css
${PYSITELIB}/docutils/writers/s5_html/themes/big-white/framing.css
${PYSITELIB}/docutils/writers/s5_html/themes/big-white/pretty.css
-${PYSITELIB}/docutils/writers/s5_html/themes/default/blank.gif
${PYSITELIB}/docutils/writers/s5_html/themes/default/framing.css
-${PYSITELIB}/docutils/writers/s5_html/themes/default/iepngfix.htc
${PYSITELIB}/docutils/writers/s5_html/themes/default/opera.css
${PYSITELIB}/docutils/writers/s5_html/themes/default/outline.css
${PYSITELIB}/docutils/writers/s5_html/themes/default/pretty.css
Index: pkgsrc/textproc/py-docutils/distinfo
diff -u pkgsrc/textproc/py-docutils/distinfo:1.27 pkgsrc/textproc/py-docutils/distinfo:1.28
--- pkgsrc/textproc/py-docutils/distinfo:1.27 Fri Oct 29 16:13:22 2021
+++ pkgsrc/textproc/py-docutils/distinfo Wed May 3 19:07:52 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.27 2021/10/29 16:13:22 adam Exp $
+$NetBSD: distinfo,v 1.28 2023/05/03 19:07:52 wiz Exp $
-BLAKE2s (docutils-0.17.1.tar.gz) = aefdc9702ad5a588a6bccebfba72c6205e3bf5600e67c3addfe75dcd3d291582
-SHA512 (docutils-0.17.1.tar.gz) = 5ec2087116bd5356fdffc54f07f6b0355aac5fa9d6caeefa77e8d201fd4706c0d419193c4d9a3964ae493da3091fe2c7dc36b74f81a1e1b9282173658b06e71b
-Size (docutils-0.17.1.tar.gz) = 2016138 bytes
+BLAKE2s (docutils-0.19.tar.gz) = f32fed116e9478568694df508f2e78b2717eb75ab2b3f1b75f82194842b06b43
+SHA512 (docutils-0.19.tar.gz) = fb904a899f2b6f3c07c5079577bd7c52a3182cb85f6a4149391e523498df15bfa317f0c04095b890beeb3f89c2b444875a2a609d880ac4d7fbc3125e46b37ea5
+Size (docutils-0.19.tar.gz) = 2056383 bytes
Home |
Main Index |
Thread Index |
Old Index