diff options
author | wiz <wiz> | 2009-02-23 11:33:44 +0000 |
---|---|---|
committer | wiz <wiz> | 2009-02-23 11:33:44 +0000 |
commit | 6e96551041e2d1eecfcbe991d177396c4ef7c75e (patch) | |
tree | bed55d276e0fe97e047b94e9effd56d0b4f9bd49 /textproc/py-docutils | |
parent | ebec954067ce480769b0a4b180bfdb52daad3117 (diff) | |
download | pkgsrc-6e96551041e2d1eecfcbe991d177396c4ef7c75e.tar.gz |
Update to 0.5:
Release 0.5 (2008-06-25)
========================
* docutils/languages/he.py: Added to project: Hebrew mappings by
Meir Kriheli.
* docutils/parsers/rst/languages/he.py: Added to project: Hebrew
mappings by Meir Kriheli.
* docutils/frontend.py:
- Configuration files are now assumed and required to be
UTF-8-encoded.
- Paths of applied configuration files are now recorded in the
runtime setting ``_config_files`` (accessible via
``--dump-settings``).
- Added ``--strip-elements-with-class`` and ``--strip-class``
options (``strip_elements_with_classes`` and ``strip_classes``
settings).
* docutils/io.py:
- Added code to determine the input encoding from data: encoding
declarations or the presence of byte order marks (UTF-8 & UTF-16).
- Added support for IronPython 1.0.
* docutils/nodes.py:
- Added ``document.__getstate__`` method, for pickling.
* docutils/parsers/rst/states.py:
- Allow ``+`` and ``:`` in reference names.
- Unquoted targets beginning with an underscore (``.. __target:
URI``) are no longer accepted.
- Added support for multiple attributions in a physical block quote
(indented text block), dividing it into multiple logical block
quotes.
- Added support for unicode bullets in bullet lists: "•", "‣", and
"⁃".
- Added support for new object-oriented directive interface,
retaining compatibility to the old functional interface.
- Added support for throwing ``DirectiveError``'s from within
directive code.
* docutils/parsers/rst/__init__.py:
- Added ``Directive`` base class.
- Added ``DirectiveError`` base class.
- Fixed ``file_insertion_enabled`` & ``raw_enabled`` setting
definitions.
* docutils/parsers/directives/:
- Refactored all reStructuredText directives to use the new
object-oriented directive interface. Errors are now (mostly)
thrown using the new ``DirectiveError`` class.
* docutils/parsers/directives/misc.py:
- Added ``start-after`` and ``end-before`` options to ``include``
directive; thanks to Stefan Rank.
* docutils/transforms/universal.py:
- Added ``StripClassesAndElements`` transform to remove from the
document tree all elements with classes in
``settings.strip_elements_with_classes`` and all "classes"
attribute values in ``self.document.settings.strip_classes``.
* docutils/transforms/writer_aux.py:
- Added ``Admonitions`` transform to transform specific admonitions
(like ``note``, ``warning``, etc.) into generic admonitions with a
localized title.
* docutils/writers/html4css1/__init__.py:
- Moved template functionality from the PEP/HTML writer here.
- Expanded the fragments available in the ``parts`` attribute.
- Moved ``id`` attributes from titles to surrounding ``div``
elements.
- Dropped all ``name`` attributes of ``a`` elements (``id`` is
universally supported now).
- ``template.txt`` is now opened in text mode instead of binary mode
(to ensure Windows compatibility).
- ``a`` elements now have an "internal" or "external" class,
depending on reference type.
* docutils/writers/html4css1/template.txt: Added to project.
* docutils/writers/pep_html/:
- Moved template functionality to the HTML writer.
* docutils/writers/s5_html/__init__.py:
- Added ``view_mode`` & ``hidden_controls`` settings
(``--view-mode`` & ``--hidden-controls/--visible-controls``
options).
* docutils/writers/latex2e/__init__.py:
- Add ``--literal-block-env``
- Fix: escaping ``%`` in href urls.
- Move usepackage hyperref after stylesheet inclusion.
- Fix: scrartcl does not have chapter but scrreprt.
- Add newline after ``\end{verbatim}``.
- Merge smaller differences from latex2e_adaptive_preamble.
- Add ``use-part-section``.
- Put leavevmode before longtable to avoid having it moved before sub/pargraph.
- Using leavemode option_list no longer needs to check if parent
is a definition list.
- Append ``\leavemode`` to definition list terms.
- No longer write visit\_/depart_definition_list_item comments to
output.
- Table column width with 3 decimal places.
- Add table stubs support (boldfont).
- Add assemble_parts to writer.
- Add simply support for nested tables.
- Fix verbatim in tables if use-verbatim-when-possible.
- Use section commands down to subparagraph.
- Put ensuremath around some latin1 chars.
- Set ``usepackage[utf8x]{inputenc}`` for utf-8.
- New option ``--use-bibtex=style,db1,db2``.
- New option ``--reference-label`` to allow usage of LaTeX ref for
labels in section references.
- Add a label after every section to support sectionnumbers as reference
labels.
- Fix: bug# 1605376 rst2latex: bad options group list
- Remove inactive code for use_optionlist_for_option_list.
- Remove latex comments from option_list output.
- Fix: bug# 1612270 double qoutes in italian literal.
- Fix: output ``hypertarget{ node.get(refid) }{}`` from visit_target.
- Add option --use-latex-abstract.
- Image width unit ``px`` is translated to ``pt``.
- Add image height support.
- Fix: image width ``70%`` is converted ``0.700\linewidth``.
bug #1457388
- Fix: Do not escape underscores in citation reference labels if
use-latex-citations is set.
- Use centering instead of center for figure contents, to avoid vertical
space.
- Recognize table class: borderless, nolines, booktabs, standard.
- Fix: Renaming contents section does not work with latex writer; SF
bug #1487405.
- Applied patch for custom roles with classes from Edward Loper.
- Fixed bug that caused crashes with more than 256 lists.
* docutils/writers/pep_html/__init__.py:
- Changed to support new python.org website structure and
pep2pyramid.py.
* docs/howto/security.txt: "Deploying Docutils Securely", added to
project.
* tools/buildhtml.py:
-- Added ``ignore`` setting to exclude a list of shell patterns
(default: ``.svn:CVS``).
* tools/editors/emacs/rst.el:
- Changed license to "GPL".
- Added ``rst-straighten-decorations`` function.
- The ``compile`` module is now always loaded.
- Added ``rst-toggle-line-block`` function.
- Headings consisting only of non-ASCII characters are now
recognized by ``rst-toc`` and ``rst-adjust``.
- Added font-lock support for multi-line comments where the first
comment line is empty.
- Added ``(require 'font-lock)``.
* setup.py:
- Provide descriptive error message if distutils is missing.
Diffstat (limited to 'textproc/py-docutils')
-rw-r--r-- | textproc/py-docutils/Makefile | 5 | ||||
-rw-r--r-- | textproc/py-docutils/PLIST | 16 | ||||
-rw-r--r-- | textproc/py-docutils/distinfo | 8 |
3 files changed, 18 insertions, 11 deletions
diff --git a/textproc/py-docutils/Makefile b/textproc/py-docutils/Makefile index 73a56038b76..e55aefaab7d 100644 --- a/textproc/py-docutils/Makefile +++ b/textproc/py-docutils/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.26 2008/04/25 19:57:16 tnn Exp $ +# $NetBSD: Makefile,v 1.27 2009/02/23 11:33:44 wiz Exp $ -DISTNAME= docutils-0.4 +DISTNAME= docutils-0.5 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 CATEGORIES= textproc python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=docutils/} diff --git a/textproc/py-docutils/PLIST b/textproc/py-docutils/PLIST index 314ef42b621..7736b81ba2a 100644 --- a/textproc/py-docutils/PLIST +++ b/textproc/py-docutils/PLIST @@ -1,10 +1,11 @@ -@comment $NetBSD: PLIST,v 1.11 2008/04/12 22:43:13 jlam Exp $ +@comment $NetBSD: PLIST,v 1.12 2009/02/23 11:33:44 wiz Exp $ bin/rst2html.py bin/rst2latex.py bin/rst2newlatex.py bin/rst2pseudoxml.py bin/rst2s5.py bin/rst2xml.py +bin/rstpep2html.py ${PYSITELIB}/docutils/__init__.py ${PYSITELIB}/docutils/__init__.pyc ${PYSITELIB}/docutils/__init__.pyo @@ -50,6 +51,9 @@ ${PYSITELIB}/docutils/languages/fi.pyo ${PYSITELIB}/docutils/languages/fr.py ${PYSITELIB}/docutils/languages/fr.pyc ${PYSITELIB}/docutils/languages/fr.pyo +${PYSITELIB}/docutils/languages/he.py +${PYSITELIB}/docutils/languages/he.pyc +${PYSITELIB}/docutils/languages/he.pyo ${PYSITELIB}/docutils/languages/it.py ${PYSITELIB}/docutils/languages/it.pyc ${PYSITELIB}/docutils/languages/it.pyo @@ -180,6 +184,9 @@ ${PYSITELIB}/docutils/parsers/rst/languages/fi.pyo ${PYSITELIB}/docutils/parsers/rst/languages/fr.py ${PYSITELIB}/docutils/parsers/rst/languages/fr.pyc ${PYSITELIB}/docutils/parsers/rst/languages/fr.pyo +${PYSITELIB}/docutils/parsers/rst/languages/he.py +${PYSITELIB}/docutils/parsers/rst/languages/he.pyc +${PYSITELIB}/docutils/parsers/rst/languages/he.pyo ${PYSITELIB}/docutils/parsers/rst/languages/it.py ${PYSITELIB}/docutils/parsers/rst/languages/it.pyc ${PYSITELIB}/docutils/parsers/rst/languages/it.pyo @@ -283,6 +290,7 @@ ${PYSITELIB}/docutils/writers/html4css1/__init__.py ${PYSITELIB}/docutils/writers/html4css1/__init__.pyc ${PYSITELIB}/docutils/writers/html4css1/__init__.pyo ${PYSITELIB}/docutils/writers/html4css1/html4css1.css +${PYSITELIB}/docutils/writers/html4css1/template.txt ${PYSITELIB}/docutils/writers/latex2e/__init__.py ${PYSITELIB}/docutils/writers/latex2e/__init__.pyc ${PYSITELIB}/docutils/writers/latex2e/__init__.pyo @@ -332,12 +340,12 @@ ${PYSITELIB}/docutils/writers/s5_html/themes/small-black/__base__ ${PYSITELIB}/docutils/writers/s5_html/themes/small-black/pretty.css ${PYSITELIB}/docutils/writers/s5_html/themes/small-white/framing.css ${PYSITELIB}/docutils/writers/s5_html/themes/small-white/pretty.css -${PYSITELIB}/roman.py -${PYSITELIB}/roman.pyc -${PYSITELIB}/roman.pyo ${PLIST.std}${PYSITELIB}/optparse.py ${PLIST.std}${PYSITELIB}/optparse.pyc ${PLIST.std}${PYSITELIB}/optparse.pyo +${PYSITELIB}/roman.py +${PYSITELIB}/roman.pyc +${PYSITELIB}/roman.pyo ${PLIST.std}${PYSITELIB}/textwrap.py ${PLIST.std}${PYSITELIB}/textwrap.pyc ${PLIST.std}${PYSITELIB}/textwrap.pyo diff --git a/textproc/py-docutils/distinfo b/textproc/py-docutils/distinfo index b3d6346b673..c0767e176cc 100644 --- a/textproc/py-docutils/distinfo +++ b/textproc/py-docutils/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.7 2007/05/25 11:15:03 markd Exp $ +$NetBSD: distinfo,v 1.8 2009/02/23 11:33:44 wiz Exp $ -SHA1 (docutils-0.4.tar.gz) = 25498713e3757f5050763303fc901dc120357fb5 -RMD160 (docutils-0.4.tar.gz) = f6a3c5bfb79ed08ce282bcaf3ded05bd2e3f95b5 -Size (docutils-0.4.tar.gz) = 1237801 bytes +SHA1 (docutils-0.5.tar.gz) = 70ca2dd94969ddf76217e5fe907b0b23f16cc199 +RMD160 (docutils-0.5.tar.gz) = 3e8dfd2923528bbeac0ca33ccfe6f576c74f1886 +Size (docutils-0.5.tar.gz) = 1271981 bytes |