Commit Graph

93 Commits

Author SHA256 Message Date
Ana Guerrero
c6ae6af534 Accepting request 1164112 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1164112
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-docutils?expand=0&rev=40
2024-04-03 15:18:46 +00:00
Markéta Machová
0525ccfdd0 Accepting request 1163708 from home:bnavigator:branches:devel:languages:python
- Fix update-alternatives updates: docutils is the master but
  rst2html from old installations can create update failures
- Fix bytecode cache errors: Don't modify python scripts after
  install

  * Docutils 0.20 is the last version supporting Python 3.7 and 3.8.
  * Support Python 3.11 (patch #198 by Hugo van Kemenade).

OBS-URL: https://build.opensuse.org/request/show/1163708
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=92
2024-04-02 12:56:40 +00:00
Ana Guerrero
83cbfe45c7 Accepting request 1152291 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1152291
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-docutils?expand=0&rev=39
2024-02-28 18:45:18 +00:00
Markéta Machová
b50fb9c5bd Accepting request 1152096 from devel:BCI:SLCS:next
Drop obsolete Requires & BuildRequires on python-packaging & python-xml

OBS-URL: https://build.opensuse.org/request/show/1152096
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=90
2024-02-27 13:47:25 +00:00
Ana Guerrero
16251759fa Accepting request 1124758 from devel:languages:python
- Update to 0.20.1:
  * Include tox.ini and docutils.conf in the source package
  * Docutils 0.20 is the last version supporting Python 3.7 and 3.8.
  * Support Python 3.11 (patch #198 by Hugo van Kemenade).
  * New functions `rst2…()` for use as "console_scripts" `entry points`_.
  * Fix `previous_sibling()` method that led to invalid HTML in some cases
  * Fix bug #463. Spurious comma in deprecation warning.
  * Improved mock Sphinx module.
  * `Transformer.populate_from_components()` now silently ignores
    components that are not instances of `docutils.TransformSpec`.
  * Accept author names with initials like ``A. Einstein`` in the "author"
    `bibliographic field`_ instead of rising an error
  * `DanglingReferences` ignores `citation_reference` nodes if the
    "use_bibex" setting is active.
  * New utility function `xml_declaration()`.
  * `DependencyList.add()` accepts `pathlib.Path` instances.
  * Support "mod" notation for modulo operation / modulus arithmetic.
  * Wrap definition lists with "details" class argument in a <div>
    with the "id" and "class" values of the list node.
  * Use dpub-ARIA role "doc-footnote__" (instead of ARIA role "note")
    for footnotes.
  * Do not load the `inputenc` package in UTF-8 encoded LaTeX sources.
    (UTF-8 is the default encoding for LaTeX2e since 2018).
  * Fix behaviour of the use_bibtex_ setting.
  * Outsource parts of `depart_document()` to new auxiliary methods
    `make_title()` and `append_bibliography()`.
  * Drop ``\usepackage{fixltx2e}`` from template.
  * Fix SetuptoolsDeprecationWarning: ``Installing '' as data is deprecated``
    by adding data directories to package_data.packages list.
  * Refactored tests to use common `unittest` idioms.

OBS-URL: https://build.opensuse.org/request/show/1124758
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-docutils?expand=0&rev=38
2023-11-13 21:16:09 +00:00
Steve Kowalik
6f3e8f35b9 - Update to 0.20.1:
* Include tox.ini and docutils.conf in the source package
  * Docutils 0.20 is the last version supporting Python 3.7 and 3.8.
  * Support Python 3.11 (patch #198 by Hugo van Kemenade).
  * New functions `rst2…()` for use as "console_scripts" `entry points`_.
  * Fix `previous_sibling()` method that led to invalid HTML in some cases
  * Fix bug #463. Spurious comma in deprecation warning.
  * Improved mock Sphinx module.
  * `Transformer.populate_from_components()` now silently ignores
    components that are not instances of `docutils.TransformSpec`.
  * Accept author names with initials like ``A. Einstein`` in the "author"
    `bibliographic field`_ instead of rising an error
  * `DanglingReferences` ignores `citation_reference` nodes if the
    "use_bibex" setting is active.
  * New utility function `xml_declaration()`.
  * `DependencyList.add()` accepts `pathlib.Path` instances.
  * Support "mod" notation for modulo operation / modulus arithmetic.
  * Wrap definition lists with "details" class argument in a <div>
    with the "id" and "class" values of the list node.
  * Use dpub-ARIA role "doc-footnote__" (instead of ARIA role "note")
    for footnotes.
  * Do not load the `inputenc` package in UTF-8 encoded LaTeX sources.
    (UTF-8 is the default encoding for LaTeX2e since 2018).
  * Fix behaviour of the use_bibtex_ setting.
  * Outsource parts of `depart_document()` to new auxiliary methods
    `make_title()` and `append_bibliography()`.
  * Drop ``\usepackage{fixltx2e}`` from template.
  * Fix SetuptoolsDeprecationWarning: ``Installing '' as data is deprecated``
    by adding data directories to package_data.packages list.
  * Refactored tests to use common `unittest` idioms.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=88
2023-11-10 02:32:59 +00:00
Ana Guerrero
085f029ae4 Accepting request 1117736 from devel:languages:python
- python-roman is not actually necessary for testing.

OBS-URL: https://build.opensuse.org/request/show/1117736
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-docutils?expand=0&rev=37
2023-10-15 17:26:00 +00:00
029c9c5afd - python-roman is not actually necessary for testing.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=86
2023-10-13 22:59:34 +00:00
Dominique Leuenberger
e33acbc375 Accepting request 1081943 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1081943
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-docutils?expand=0&rev=36
2023-04-22 20:01:17 +00:00
48f5205c45 Accepting request 1081390 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081390
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=84
2023-04-21 14:44:05 +00:00
Dominique Leuenberger
91c16ae9db Accepting request 1060567 from devel:languages:python
- Refactor pygments-2.14.patch to not use distutils.

OBS-URL: https://build.opensuse.org/request/show/1060567
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-docutils?expand=0&rev=35
2023-01-25 16:42:26 +00:00
Steve Kowalik
5b9782913a Fix the patch harder.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=82
2023-01-24 07:15:26 +00:00
Steve Kowalik
76b2628c85 - Refactor pygments-2.14.patch to not use distutils.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=81
2023-01-24 06:53:46 +00:00
Dominique Leuenberger
b52225fac4 Accepting request 1057655 from devel:languages:python
- Add pygments-2.14.patch
- The patch is related to pygments not Sphinx and the patch is updated to make
  it conditional so it work with older versions of pygments, shp#docutils#201

OBS-URL: https://build.opensuse.org/request/show/1057655
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-docutils?expand=0&rev=34
2023-01-15 16:57:49 +00:00
99e4b3adf3 - Delete sphix-6.0.0.patch
- Add pygments-2.14.patch
- The patch is related to pygments not Sphinx and the patch is updated to make
  it conditional so it work with older versions of pygments, shp#docutils#201

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=79
2023-01-10 16:45:29 +00:00
ff0e60d4fb - Add sphinx-6.0.0.patch to fix tests for new version of sphinx.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=78
2023-01-04 13:10:58 +00:00
Dominique Leuenberger
884483e184 Accepting request 1032911 from devel:languages:python
- Release 0.19 (2022-07-05)
  - General
    - Dropped support for Python 2.7, 3.5, and 3.6. and removed
      compatibility hacks from code and tests.
    - Code cleanup, check PEP 8 conformity with flake8
      (exceptions in file tox.ini).
    - New module. Support for python -m docutils. Also used for
      the docutils console script entry point.
    - Let Publisher.publish() print info and prompt
      when waiting for input from a terminal (cf.
      https://clig.dev/#interactivity).
    - Respect "input_encoding_error_handler" setting when opening
      a source.
    - New function error_string() obsoletes
      utils.error_reporting.ErrorString.
    - Class ErrorOutput moved here from utils/error_reporting.
    - Use "utf-8-sig" instead of Python's default encoding if the
      "input_encoding" setting is None.
    - Fix error when reading of UTF-16 encoded source without
      trailing newline.
    - Aliases "markdown" and "commonmark" point to
      "commonmark_wrapper".
    - Alias for the "myst" parser
      (https://pypi.org/project/myst-docutils).
    - Use absolute module names in _parser_aliases instead
      of two import attempts. (Keeps details if the
      recommonmark_wrapper.py module raises an ImportError.)
    - Prepend parser name to ImportError if importing a parser
      class fails.
    - New module for parsing CommonMark input. Selects a
      locally installed 3rd-party parser (pycmark, myst, or
      recommonmark).
    - Raise ImportError, if import of the upstream parser
      module fails. If called from an "include" directive, the
      system-message now has source/line info.
    - Adapt to and test with "recommonmark" versions 0.6.0 and
      0.7.1.
    - Update PEP base URL (fixes bug #445), use "https:" scheme
      in RFC base URL.
    - Add reporter to Directive class attributes.
    - parser_name() keeps details if converting ImportError to
      ValueError.
    - Don't use mutable default values for function
      arguments. Fixes bug #430.
    - Fix bug #435: invalid references in problematic nodes with
      report_level=4.
    - decode_path() returns str instance instead of
      nodes.reprunicode.
    - Add deprecation warning.
    - Add "html writers" to config_section_dependencies. Fixes
      bug #443.
    - Write table column widths with 3 digits precision. Fixes
      bug #444.
    - Add space before "charset" meta tag closing sequence.
    - Remove class value "controls" from an image node with video
      content after converting it to a "control" attribute of the
      <video> tag.
    - Wrap groups of footnotes in an <aside> for easier styling.
    - Use "https:" scheme in "python_home" URL default.
    - Fix links in template.txt.
    - New "docutils" console script entry point. Fixes bug #447.
    - Always encode the log file "alltests.out" using 'utf-8'.
    - exception_data() now returns None if no exception was
      raised.
    - recommonmark_wrapper only imported if upstream parser is
      present.
    - Fix bug #436: Null char valid in CSV since Python 3.11.
    - Allow 3rd-party drop-in components for reader and parser,
      too.
    - Fix help output.
    - Actual code moved to docutils.__main__.py.
    - Options -h and --help print short usage message.
- Release 0.18.1 (2021-11-23)
    - Node.traverse() returns a list again to restore backwards
      compatibility. Fixes bug #431.
    - New method Node.findall(): like Node.traverse() but returns
      an iterator. Obsoletes Node.traverse().
    - Fix behaviour of get_stylesheet_list(): do not look up
      stylesheets given as "stylesheet" setting. Cf. bug #434.
    - Fix handling of footnote_backlinks==False (report Alan G
      Isaac).
    - Fix typo (bug #432).
    - Fix spurious output with Windows (bug #350).
    - Fix a false positive (bug #434).
- Release 0.18 (2021-10-26)
    - mark as provisional (will switch from using "optparse" to
      "argparse").
    - remove hack for the now obsolete "mod_python" Apache
      module.
    - new function get_default_settings()
    - Don't change a list while looping over it (in
      document.set_name_id_map()). Thanks to Mickey Endito.
    - Test and update to work with recommonmark version
      0.6.0. Still provisional.
    - Unfortunately, recommonmark is no longer maintained.
    - Fix bug #424 Wrong circular inclusion detection. Use a
      "magic" comment instead of line numbers to keep a log of
      recursive inclusions.
    - Use a "magic" comment to update the log of recursive
      inclusions.
    - New option `image_loading`_. Support "lazy" loading of
      images. Obsoletes "embed_images".
    - Fix spelling of option "detailed".
    - Read settings from standard configuration files.
- Release 0.18b1 (2021-10-05)
  - The default value for the "auto_id_prefix" setting changed to
    "%": auto-generated IDs use the tag name as prefix.
  - Make meta a standard Docutils doctree node. Writers may
    ignore "meta" nodes if they are not supported by the output
    format.
  - document.make_id(): Do not strip leading number and hyphen
    characters from name if the id_prefix setting is non-empty.
  - Node.traverse() returns an iterator instead of a list.
  - Removed. (Meta directive moved to misc.py.)
  - Meta directive class (moved from html.py) inserts meta
    (instead of pending) nodes.
  - Add class option to Raw directive.
  - Unify behaviour of "widths" option: check that the length of
    an integer list equals the number of table columns also for
    the "table" directive.
  - Fork from elyxer and remove code that is not required for
    math conversion.
  - Scale variable sized operators and big delimiters with CSS
  - Support more commands, fix mapping of commands to Unicode
    characters (cf. LaTeX syntax for mathematics).
  - Fix bug #244 Wrong subscript/superscript order.
  - Don't use <tt> element (deprecated in HTML5).
  - Use STIX fonts if available.
  - Fix source location (line number) for attribution
    elements. Patch by Mickey Endito.
  - Add line, source, and rawsource internal attributes for
    blockquote elements. Patch by Mickey Endito.
  - Skip system_messages when propagating targets. Fixes bug
    #425.
  - Removed unique_combinations() (obsoleted by
    itertools.combinations()).
  - Major update (fixes and support for additional commands and
    symbols). Fixes bug #407.
  - Write footnote brackets and field term colons to HTML, so
    that they are present also without CSS and when copying
    text. Adapt minimal.css.
  - Use semantic tags <aside> for footnote text, topics,
    admonitions, and system-messages and <nav> for the table of
    contents. Use <div> for citations.
  - Only specify table column widths, if the "widths" option
    is set and is not "auto" (fixes bug #426). The table_style
    setting "colwidths-grid" restores the current default.
  - Use ARIA roles to enable accessible HTML for abstract,
    dedication, the table of contents, footnote, references,
    footnotes, citations, and backlinks.
  - Use "aria-level" attribute instead of invalid tags <h7>,
    <h8>, ... for headings of deeply nested sections.
  - Do not set classes "compound-first", "compound-middle",
    or "compound-last" to elements nested in a compound. Use
    class value "backrefs" instead of "fn-backref" for a span of
    back-references.
  - Do not write class values handled by the HTML writer
    ("colwidths-auto", "colwidths-given", "colwidths-grid") to
    the output.
  - Move space character between section number and heading into
    "sectnum" span.
  - Removed attribute HTMLTranslator.topic_classes
  - Items of a definition list with class argument "details" are
    converted to details disclosure elements.
  - Overwrite methods in _html_base.HTMLTranslator that use
    HTML5 tags (details, aside, nav, ...) and attributes (role,
    aria-level).
  - The setting legacy_class_functions now defaults to
    "False". Adapt stylesheets modifying \DUadmonition and/or
    \DUtitle.
  - Apply patch #181 "Fix tocdepth when chapter/part in use" by
    John Thorvald Wodder II.
  - Fix newlines after/before ids_to_labels() (cf. patch #183).
  - Refactor/revise ToC writing.
  - Don't add \phantomsection to labels in math-blocks.
  - Improve spacing and allow customization of Docutils-generated
    table of contents.
  - New algorithm for table column widths. Fixes bug #422. New
    configuration setting legacy_column_widths.
  - Table.set_table_style() arguments changed.
  - Only write "continued on next page..." if it fits without
    making the table columns wider.
  - Table width option overrides conflicting "auto" column
    widths.
  - Fix excessive padding above sidebar titles.
  - Fix option "detailed" under Python 2.7.
  - Remove IE 6 compatibility workarounds iepngfix.htc and
    blank.gif (fixes bug #169).
  - Fix: double quotes need to be escaped on macro
    invocation. Done everywhere.

OBS-URL: https://build.opensuse.org/request/show/1032911
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-docutils?expand=0&rev=33
2022-11-15 12:18:05 +00:00
46b2ce6bf5 Allow build on SLE-15
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=76
2022-11-02 14:57:56 +00:00
8a84e6d38f Make test run verbose
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=75
2022-11-02 14:37:18 +00:00
1d1cf20a39 Add missing macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=74
2022-11-02 14:34:51 +00:00
e947df43a0 - Release 0.19 (2022-07-05)
- General
    - Dropped support for Python 2.7, 3.5, and 3.6. and removed
      compatibility hacks from code and tests.
    - Code cleanup, check PEP 8 conformity with flake8
      (exceptions in file tox.ini).
    - New module. Support for python -m docutils. Also used for
      the docutils console script entry point.
    - Let Publisher.publish() print info and prompt
      when waiting for input from a terminal (cf.
      https://clig.dev/#interactivity).
    - Respect "input_encoding_error_handler" setting when opening
      a source.
    - New function error_string() obsoletes
      utils.error_reporting.ErrorString.
    - Class ErrorOutput moved here from utils/error_reporting.
    - Use "utf-8-sig" instead of Python's default encoding if the
      "input_encoding" setting is None.
    - Fix error when reading of UTF-16 encoded source without
      trailing newline.
    - Aliases "markdown" and "commonmark" point to
      "commonmark_wrapper".
    - Alias for the "myst" parser
      (https://pypi.org/project/myst-docutils).
    - Use absolute module names in _parser_aliases instead
      of two import attempts. (Keeps details if the
      recommonmark_wrapper.py module raises an ImportError.)
    - Prepend parser name to ImportError if importing a parser
      class fails.
    - New module for parsing CommonMark input. Selects a

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=73
2022-11-02 14:31:50 +00:00
Dominique Leuenberger
83e49ec84e Accepting request 966231 from devel:languages:python
- update to 0.17.1:
  * Fix bug #406 (MathML translation of ``\mathbf``).
  * Open "docutils.sty" with encoding set to "utf8".
  * Provide fallbacks for parser config settings
    to facilitate programmatic use.
  * Installing with ``setup.py`` now requires ``setuptools``.
    Alternatively, install with `pip`_ (or "manually").
  * Use importlib.import_module() to programmatically import modules.
  * Fix bug #385: Import of language modules.
  * Arabic mappings by Shahin.
  * Fixes in Korean translation by Shinjo Park.
  * Fix error when copying `system_message` node
  * Make the sidebar's "title" argument optional
  * Make "meta" elements available for "latex" and "odt".
  * Prevent infinite inclusion loops.
  * Move non-essential styling to ``plain.css``.
  * Support "captionbelow" class value for tables.
  * Display code line numbers as pseudo-elements which are skipped
    when copying text from code blocks. Solves feature request #32.
  * Support numbered figures.
  * New optional style that adapts to different screen sizes.
  * Fix #394 fix missing new line after rubric.
  * Patch #168 fix crashing on empty citation (by Takeshi KOMIYA).
  * Fix #126 manpage title with spaces.
  * Fix #380 commandline option problem in sphinx.
  * Fix/improve metadata handling:
    fix "keyword" splitting,
    allow generic fields (stored as "Custom Properties").
    __ docs/user/config.html#detailled
  * Run python3 test like python2 against source not the build/-directory

OBS-URL: https://build.opensuse.org/request/show/966231
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-docutils?expand=0&rev=32
2022-04-03 19:30:32 +00:00
a40a241f6e osc copypac from project:devel:languages:python package:python-docutils revision:69, using keep-link, using expand
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=71
2022-03-31 13:19:29 +00:00
63b49a9d6a - update to 0.18.1:
* Small bugfixes (see HISTORY_).
  * 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.
    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__>.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=70
2022-03-29 12:03:04 +00:00
da7e54b9e1 - update to 0.17.1:
* Fix bug #406 (MathML translation of ``\mathbf``).
  * Open "docutils.sty" with encoding set to "utf8".
  * Provide fallbacks for parser config settings
    to facilitate programmatic use.
  * Installing with ``setup.py`` now requires ``setuptools``.
    Alternatively, install with `pip`_ (or "manually").
  * Use importlib.import_module() to programmatically import modules.
  * Fix bug #385: Import of language modules.
  * Arabic mappings by Shahin.
  * Fixes in Korean translation by Shinjo Park.
  * Fix error when copying `system_message` node
  * Make the sidebar's "title" argument optional
  * Make "meta" elements available for "latex" and "odt".
  * Prevent infinite inclusion loops.
  * Move non-essential styling to ``plain.css``.
  * Support "captionbelow" class value for tables.
  * Display code line numbers as pseudo-elements which are skipped
    when copying text from code blocks. Solves feature request #32.
  * Support numbered figures.
  * New optional style that adapts to different screen sizes.
  * Fix #394 fix missing new line after rubric.
  * Patch #168 fix crashing on empty citation (by Takeshi KOMIYA).
  * Fix #126 manpage title with spaces.
  * Fix #380 commandline option problem in sphinx.
  * Fix/improve metadata handling:
    fix "keyword" splitting,
    allow generic fields (stored as "Custom Properties").
    __ docs/user/config.html#detailled
  * Run python3 test like python2 against source not the build/-directory

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=69
2021-10-16 21:14:28 +00:00
Dominique Leuenberger
ca77c3c574 Accepting request 855611 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/855611
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-docutils?expand=0&rev=31
2020-12-16 09:59:25 +00:00
6241376b1b Accepting request 855362 from home:bnavigator:branches:devel:languages:python
- In a world with more than one python 3 flavor, provide "docutils"
  with the default python3 provider.
  gh#openSUSE/python-rpm-macros#66

OBS-URL: https://build.opensuse.org/request/show/855362
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=67
2020-12-13 20:46:53 +00:00
Dominique Leuenberger
b40a97cbb8 Accepting request 791944 from devel:languages:python
- Fix the condition to really generate the direct binaries

- Remove %python3_only and use full alternatives.

- Add patch to fix build with pygments 2.4 and newer:
  * pygments25.patch

OBS-URL: https://build.opensuse.org/request/show/791944
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-docutils?expand=0&rev=30
2020-04-19 19:48:52 +00:00
Tomáš Chvátal
b130c91659 - Fix the condition to really generate the direct binaries
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=65
2020-04-07 09:32:17 +00:00
168f5a41a2 - Remove %python3_only and use full alternatives.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=64
2020-04-06 15:57:55 +00:00
Tomáš Chvátal
d74992fe32 - Add patch to fix build with pygments 2.4 and newer:
* pygments25.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=63
2020-03-14 09:57:12 +00:00
Dominique Leuenberger
791a6b5ee8 Accepting request 764622 from devel:languages:python
- Update to 0.16:
  - Dropped support for Python 2.6, 3.3 and 3.4
  - Docutils now supports Python 2.7 and Python 3.5+ natively
    (without conversion by ``2to3``).
  - Keep `backslash escapes`__ in the document tree. Backslash characters in
    text are be represented by NULL characters in the ``text`` attribute of
    Doctree nodes and removed in the writing stage by the node's
    ``astext()`` method.
- Remove merged patch fix_tests_38.patch

OBS-URL: https://build.opensuse.org/request/show/764622
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-docutils?expand=0&rev=29
2020-01-16 17:15:49 +00:00
Tomáš Chvátal
f6d949f7d0 - Update to 0.16:
- Dropped support for Python 2.6, 3.3 and 3.4
  - Docutils now supports Python 2.7 and Python 3.5+ natively
    (without conversion by ``2to3``).
  - Keep `backslash escapes`__ in the document tree. Backslash characters in
    text are be represented by NULL characters in the ``text`` attribute of
    Doctree nodes and removed in the writing stage by the node's
    ``astext()`` method.
- Remove merged patch fix_tests_38.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=61
2020-01-15 11:05:21 +00:00
Dominique Leuenberger
7b7a2ffd70 Accepting request 737543 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/737543
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-docutils?expand=0&rev=28
2019-10-14 12:53:14 +00:00
130ce8ede8 Accepting request 737542 from home:mcepl:branches:devel:languages:python
- Add fix_tests_38.patch to overcome failing
  test_writers.test_odt.DocutilsOdtTestCase with Python 3.8.
  Also, failed as shp#docutils#161.

OBS-URL: https://build.opensuse.org/request/show/737542
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=59
2019-10-11 15:22:37 +00:00
076ec723b0 - Add fix_tests_38.patch to overcome failing tests with Python
3.8.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=58
2019-10-11 12:12:22 +00:00
Dominique Leuenberger
f683f33b4c Accepting request 731177 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/731177
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-docutils?expand=0&rev=27
2019-09-23 10:17:41 +00:00
Tomáš Chvátal
19c8e6ac64 Accepting request 730819 from home:jayvdb:py3only
- Skip the tests for the flavors not being built

OBS-URL: https://build.opensuse.org/request/show/730819
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=56
2019-09-16 07:42:21 +00:00
Tomáš Chvátal
0298703d0e OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=55 2019-08-12 14:27:55 +00:00
Tomáš Chvátal
f031eb463c Accepting request 721987 from home:mcalabkova:branches:devel:languages:python
- update to version 0.15.2
  * Docutils 0.14.x is the last version supporting Python 2.4, 2.5,
   3.1, and 3.2.
  * reStructured text: Allow embedded colons in field list field 
    names (before, tokens like :this:example: were considered ordinary text).
  * Fixed a bug with the "trim" options of the "unicode" directive.

OBS-URL: https://build.opensuse.org/request/show/721987
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=54
2019-08-12 14:22:49 +00:00
Dominique Leuenberger
b2ad4e2204 Accepting request 702723 from devel:languages:python
- Add multibuild in order to avoid buildcycle with Pillow and friends

- Add optional build dependencies Pillow, Pygments and roman,
  causing 16 additonal test methods to run
- Add Recommends for Pillow, Pygments and roman
- Use %license
- Simplify test invocation

OBS-URL: https://build.opensuse.org/request/show/702723
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-docutils?expand=0&rev=26
2019-05-16 19:58:54 +00:00
Tomáš Chvátal
44490db7c0 - Add multibuild in order to avoid buildcycle with Pillow and friends
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=52
2019-05-13 23:49:22 +00:00
Tomáš Chvátal
3736bf6346 Accepting request 701429 from home:jayvdb:coala:python3-bears
- Add optional build dependencies Pillow, Pygments and roman,
  causing 16 additonal test methods to run
- Add Recommends for Pillow, Pygments and roman
- Use %license
- Simplify test invocation

OBS-URL: https://build.opensuse.org/request/show/701429
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=51
2019-05-08 10:06:25 +00:00
Dominique Leuenberger
d959b6935a Accepting request 668138 from devel:languages:python
- Remove unnecessary node BR

OBS-URL: https://build.opensuse.org/request/show/668138
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-docutils?expand=0&rev=25
2019-01-26 21:19:26 +00:00
ec6812ad0d - Remove unnecessary node BR
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=49
2019-01-09 22:14:53 +00:00
Dominique Leuenberger
b1addf3c7a Accepting request 654022 from devel:languages:python
Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/654022
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-docutils?expand=0&rev=24
2018-12-06 11:14:43 +00:00
2a3c8a5421 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=47
2018-12-04 13:24:21 +00:00
Dominique Leuenberger
24b48bab26 Accepting request 541212 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/541212
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-docutils?expand=0&rev=23
2017-11-17 09:35:48 +00:00
e707696c4f Accepting request 540776 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/540776
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=45
2017-11-13 09:17:11 +00:00
Dominique Leuenberger
109687e8d5 Accepting request 501919 from devel:languages:python
- only emit rst2html5 alternatives for python 3
- switch the "docutils" provides to the python 3 package (all the comands live there)
  (this fixes bsc#1039394)

OBS-URL: https://build.opensuse.org/request/show/501919
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-docutils?expand=0&rev=22
2017-06-13 14:07:04 +00:00