133dc52c97- Use libalternatives instead of update-alternatives, bsc#1235783Matej Cepl2025-01-16 00:38:21 +00:00
f34c080de0Accepting request 1220388 from devel:languages:python
Ana Guerrero
2024-11-08 10:55:40 +00:00
ffedde7c57- Update to 0.21.2: * General: + Drop support for Python 3.7 and 3.8. + Provide rst2* "console_scripts" entry points (without the .py extension) instead of installing the rst2*.py front end tools in the binary PATH. + Use docutils --reader=pep --writer=pep_html for a PEP preview. + Use python -m docutils.writers.odf_odt.prepstyles to strip the page size from an ODT writer stylesheet. + Use the same CSV format for the :header: option and the main data of the "csv-table" directive. + New option "loading" for the "image" directive. Sets the new attribute loading of the <image> doctree element. * Configuration changes: + New configuration setting root_prefix. Configurable root directory for included files. + New configuration setting sources for the "buildhtml.py" application. + Simpler and more secure input encoding default behaviour: # Do not use the locale encoding as fallback if Python is started in UTF-8 mode. Stop using "latin1" as second fallback. # Remove BOM (U+FEFF ZWNBSP at start of data) only if the input_encoding configuration setting is None, '', 'utf-8-sig', 'utf-16', or 'utf-32'. Do not remove other ZWNBSPs.
Steve Kowalik
2024-11-03 05:39:44 +00:00
c6ae6af534Accepting request 1164112 from devel:languages:python
Ana Guerrero
2024-04-03 15:18:46 +00:00
0525ccfdd0Accepting request 1163708 from home:bnavigator:branches:devel:languages:pythonMarkéta Machová2024-04-02 12:56:40 +00:00
83cbfe45c7Accepting request 1152291 from devel:languages:python
Ana Guerrero
2024-02-28 18:45:18 +00:00
b50fb9c5bdAccepting request 1152096 from devel:BCI:SLCS:nextMarkéta Machová2024-02-27 13:47:25 +00:00
16251759faAccepting request 1124758 from devel:languages:python
Ana Guerrero
2023-11-13 21:16:09 +00:00
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.
Steve Kowalik
2023-11-10 02:32:59 +00:00
085f029ae4Accepting request 1117736 from devel:languages:python
Ana Guerrero
2023-10-15 17:26:00 +00:00
029c9c5afd- python-roman is not actually necessary for testing.Matej Cepl2023-10-13 22:59:34 +00:00
e33acbc375Accepting request 1081943 from devel:languages:python
Dominique Leuenberger
2023-04-22 20:01:17 +00:00
48f5205c45Accepting request 1081390 from home:dirkmueller:acdc:as_python3_moduleDirk Mueller2023-04-21 14:44:05 +00:00
91c16ae9dbAccepting request 1060567 from devel:languages:python
Dominique Leuenberger
2023-01-25 16:42:26 +00:00
5b9782913aFix the patch harder.
Steve Kowalik
2023-01-24 07:15:26 +00:00
76b2628c85- Refactor pygments-2.14.patch to not use distutils.
Steve Kowalik
2023-01-24 06:53:46 +00:00
b52225fac4Accepting request 1057655 from devel:languages:python
Dominique Leuenberger
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#201Daniel Garcia2023-01-10 16:45:29 +00:00
ff0e60d4fb- Add sphinx-6.0.0.patch to fix tests for new version of sphinx.Daniel Garcia2023-01-04 13:10:58 +00:00
884483e184Accepting request 1032911 from devel:languages:python
Dominique Leuenberger
2022-11-15 12:18:05 +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 aMatej Cepl2022-11-02 14:31:50 +00:00
83e49ec84eAccepting request 966231 from devel:languages:python
Dominique Leuenberger
2022-04-03 19:30:32 +00:00
a40a241f6eosc copypac from project:devel:languages:python package:python-docutils revision:69, using keep-link, using expandDirk Mueller2022-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__>.Dirk Mueller2022-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/-directoryDirk Mueller2021-10-16 21:14:28 +00:00
ca77c3c574Accepting request 855611 from devel:languages:python
Dominique Leuenberger
2020-12-16 09:59:25 +00:00
6241376b1bAccepting request 855362 from home:bnavigator:branches:devel:languages:pythonMatej Cepl2020-12-13 20:46:53 +00:00
b40a97cbb8Accepting request 791944 from devel:languages:python
Dominique Leuenberger
2020-04-19 19:48:52 +00:00
b130c91659- Fix the condition to really generate the direct binaries
Tomáš Chvátal
2020-04-07 09:32:17 +00:00
168f5a41a2- Remove %python3_only and use full alternatives.Matej Cepl2020-04-06 15:57:55 +00:00
d74992fe32- Add patch to fix build with pygments 2.4 and newer: * pygments25.patch
Tomáš Chvátal
2020-03-14 09:57:12 +00:00
791a6b5ee8Accepting request 764622 from devel:languages:python
Dominique Leuenberger
2020-01-16 17:15:49 +00:00
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
Tomáš Chvátal
2020-01-15 11:05:21 +00:00
7b7a2ffd70Accepting request 737543 from devel:languages:python
Dominique Leuenberger
2019-10-14 12:53:14 +00:00
130ce8ede8Accepting request 737542 from home:mcepl:branches:devel:languages:pythonMatej Cepl2019-10-11 15:22:37 +00:00
076ec723b0- Add fix_tests_38.patch to overcome failing tests with Python 3.8.Matej Cepl2019-10-11 12:12:22 +00:00
f683f33b4cAccepting request 731177 from devel:languages:python
Dominique Leuenberger
2019-09-23 10:17:41 +00:00
19c8e6ac64Accepting request 730819 from home:jayvdb:py3only
Tomáš Chvátal
2019-09-16 07:42:21 +00:00
b1addf3c7aAccepting request 654022 from devel:languages:python
Dominique Leuenberger
2018-12-06 11:14:43 +00:00
2a3c8a5421Remove superfluous devel dependency for noarch packageMatej Cepl2018-12-04 13:24:21 +00:00
24b48bab26Accepting request 541212 from devel:languages:python
Dominique Leuenberger
2017-11-17 09:35:48 +00:00
e707696c4fAccepting request 540776 from home:apersaud:branches:devel:languages:pythonDirk Mueller2017-11-13 09:17:11 +00:00
109687e8d5Accepting request 501919 from devel:languages:python
Dominique Leuenberger
2017-06-13 14:07:04 +00:00
7db18e2286- switch the "docutils" provides to the python 3 package (all the comands live there) (this fixes bsc#1039394)
Jan Matejek
2017-06-08 12:03:09 +00:00
f3a5c9d375- only emit rst2html5 alternatives for python 3 - switch the "docutils" provides to the python 3 package (all the comands live ther)
Jan Matejek
2017-06-08 10:30:51 +00:00
546f8dc6b3Accepting request 492365 from devel:languages:python
Dominique Leuenberger
2017-05-16 12:27:57 +00:00
e62867ea5fAccepting request 492364 from home:TheBlackCat:branches:devel:languages:python
Todd R
2017-05-01 19:36:39 +00:00
7d170f0ab9Accepting request 489646 from devel:languages:python
Dominique Leuenberger
2017-04-28 08:44:06 +00:00
8cd82ec937Accepting request 489645 from home:TheBlackCat:branches:devel:languages:python
Todd R
2017-04-20 16:17:49 +00:00
056d029962Accepting request 482913 from home:alois:branches:devel:languages:python
Thomas Bechtold
2017-04-05 05:42:23 +00:00
8ba07ca4f1Accepting request 480505 from devel:languages:python
Dominique Leuenberger
2017-03-22 22:16:39 +00:00
0b8a87ae1d- update to 0.13.1: * New HTML writer generating HTML 5. * languages: persian/farsi (fa) and latvian (la) mappings. * change default base url for :rfc: to http://tools.ietf.org/html/ latex2e: Fix admonition width, remove deprecated options, better tablewidth auto, ...Dirk Mueller2017-03-09 11:40:09 +00:00
06338e660dAccepting request 419497 from devel:languages:python
Dominique Leuenberger
2016-08-22 12:00:03 +00:00
fbedd339a7Accepting request 419496 from home:TheBlackCat:branches:devel:languages:python
Todd R
2016-08-15 18:01:59 +00:00
b94498dca9Accepting request 258834 from devel:languages:python
Stephan Kulow
2014-11-02 15:45:41 +00:00
dab137dc49Accepting request 258738 from home:Ledest:misc
Denisart Benjamin
2014-10-29 17:18:15 +00:00
38690fc22fAccepting request 241050 from devel:languages:python
Stephan Kulow
2014-07-16 14:37:15 +00:00
729852e3d6Accepting request 241049 from home:TheBlackCat:branches:devel:languages:python
Todd R
2014-07-15 10:47:40 +00:00
a94812c460Accepting request 200693 from devel:languages:python
Stephan Kulow
2013-09-26 17:49:22 +00:00
d3bad0ca52add --- line to .changes file
Todd R
2013-09-26 09:29:39 +00:00
cbf6bdfc5dAccepting request 200350 from home:TheBlackCat:branches:devel:languages:python
Todd R
2013-09-24 10:54:44 +00:00
f7e8d3c8d1Accepting request 199388 from devel:languages:python
Stephan Kulow
2013-09-17 14:18:15 +00:00
898dc78255Accepting request 199247 from home:scarabeus_iv
Sascha Peilicke
2013-09-17 11:59:09 +00:00
f08cf62d7bAccepting request 181914 from devel:languages:python
Stephan Kulow
2013-07-04 08:13:45 +00:00
558bcb3109Accepting request 181898 from Cloud:OpenStack:Master
Alexandre Rogoski
2013-07-03 16:06:19 +00:00
4654a1a5b6Accepting request 179807 from devel:languages:python
Stephan Kulow
2013-06-19 14:36:42 +00:00
190272c5bbPython3 moved to devel:languages:python3
Sascha Peilicke
2013-06-17 12:50:56 +00:00
2b23a9bac3Accepting request 143340 from devel:languages:python
Stephan Kulow
2012-11-28 13:33:09 +00:00
8512b17f1a- Run testsuite - Correctly fix non-excutable script warning - Remove outdated macros - Also remove "*.py" ending in egg-info files
Sascha Peilicke
2012-11-20 19:35:54 +00:00
086267c6f5Accepting request 139690 from devel:languages:python
Stephan Kulow
2012-11-02 06:31:15 +00:00
aad7f5c340Accepting request 139388 from home:HighwayStar:branches:devel:languages:python
Sascha Peilicke
2012-10-29 15:35:43 +00:00
7eca7f53e2Accepting request 121397 from devel:languages:python
Stephan Kulow
2012-05-21 08:26:22 +00:00
cc08cbbd1aAccepting request 121396 from home:TheBlackCat:branches:devel:languages:python
Todd R
2012-05-18 12:07:51 +00:00
d0217b45c4Accepting request 116071 from devel:languages:python
Stephan Kulow
2012-05-07 20:49:42 +00:00
0b59ecd993Accepting request 116066 from home:babelworx:ldig:branches:devel:languages:python
Todd R
2012-04-30 14:30:08 +00:00
ce2faa6a60Accepting request 116030 from devel:languages:python3
Todd R
2012-04-30 11:52:42 +00:00
b2adf4b1b1Accepting request 115138 from home:TheBlackCat:branches:devel:languages:python
Sascha Peilicke
2012-04-24 09:18:46 +00:00
ca9dca7322- Disable testsuite altogether, fails also on the bleeding_edge_* repos
Sascha Peilicke
2012-04-24 09:02:56 +00:00
f9fed3c555- Fixed SLE_11_SP2 build by disabling the testsuite
Sascha Peilicke
2012-02-28 08:59:33 +00:00
5f95283590Accepting request 84595 from devel:languages:python
Sascha Peilicke
2011-09-26 08:14:13 +00:00
cbedcbe30bAccepting request 84593 from devel:languages:go
Sascha Peilicke
2011-09-23 10:27:18 +00:00
c463cbe220Accepting request 84099 from devel:languages:python
Sascha Peilicke
2011-09-22 10:57:04 +00:00
c3da627fb0- Don't run tests on SLE, they break the build
Sascha Peilicke
2011-09-21 10:17:05 +00:00
321a37a8eb- Renamed to python-docutils (from docutils), also fixes rpmlint warning about naming policy - Update to version 0.8.1: * Change last file with Apache license to BSD-2-Clause and correct copyright info for rst.el * Fix tests under py3k. * Clean up Babel language setting. Restores Sphinx compatibility. - Changes from version 0.8.0: * Some additions to the Docutils core are released under the 2-Clause BSD license. * Handle language codes according to BCP 47. * If the specified langauage is not supported by Docutils, warn and fall back to English. * Math support: reStructuredText "math" role and directive, math and math_block doctree elements. * Orphaned "python" reader and "newlatex2e" writer moved to the sandbox. * Added lithuanian mappings. - Changes from version 0.7.0: * Support SVG and SWF images * Generate valid XHTML for centered images with targets. Use CSS classes instead of "align" tags for image alignment. * Preserve runs of spaces in 'inline literals'. * Deprecate figure_footnotes setting. * Rename use_latex_footnotes setting to docutils_footnotes. * New latex_preamble setting. * Use PDF standard fonts (Times/Helvetica/Courier) as default. * hyperref package called with unicode option * Drop the special output_encoding default ("latin-1"). The Docutils wide default (usually "UTF-8") is used instead. - Spec file cleanup:
Sascha Peilicke
2011-09-21 10:04:49 +00:00