2022-04-25 09:46:09 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-myst-parser
|
|
|
|
#
|
- Update to version 2.0.0:
- This release primarily updates core myst-parser dependencies, with
some minor changes to parsing behaviour:
- UPGRADE: markdown-it-py to v3 (#773)
- This is mainly a non-breaking change, fixing some edge cases in parsing
- See: https://github.com/executablebooks/markdown-it-py/releases/tag/v3.0.0
- and https://github.com/executablebooks/mdit-py-plugins/releases/tag/v0.4.0
- UPGRADE: linkify-it-py to v2 (#675)
- Also fixes some edge cases in parsing
- See: https://github.com/tsutsu3/linkify-it-py/blob/main/CHANGELOG.md
- UPGRADE: Add support for docutils v0.20 (#775)
- No significant changes, see https://docutils.sourceforge.io/RELEASE-NOTES.html#release-0-20-2023-05-04
- UPGRADE: Add support for sphinx v7, and remove v5 support (#776)
- No significant changes, see https://www.sphinx-doc.org/en/master/changes.html
- UPGRADE: Remove Python 3.7 support and add testing for Python
3.11 (#772)
- Improve default slug generation for heading anchors, thanks to
@Cimbali (#777)
- This change makes the slug generation closer to GitHub, in
that, starting/ending whitespace will not be stripped.
- For example, # ` a` b `c ` will now correctly create the slug
-a-b-c- and not a-b-c
- IMPROVE: Substitution extension (#777)
- Allow any value type (including dict, list, datetime) and emit
a myst.substitution warning for errors in resolving the
substitution content.
- Introduce a gate/check GHA job, thanks to @webknjaz (#635)
- v1.0.0:
- This changes absolutely nothing in the code, or about the
maintenance/release policy of this project. But it does feel
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-myst-parser?expand=0&rev=8
2023-11-23 07:54:33 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2022-04-25 09:46:09 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2023-06-11 11:41:11 +00:00
|
|
|
%{?sle15_python_module_pythons}
|
2022-04-25 09:46:09 +00:00
|
|
|
Name: python-myst-parser
|
- Update to version 2.0.0:
- This release primarily updates core myst-parser dependencies, with
some minor changes to parsing behaviour:
- UPGRADE: markdown-it-py to v3 (#773)
- This is mainly a non-breaking change, fixing some edge cases in parsing
- See: https://github.com/executablebooks/markdown-it-py/releases/tag/v3.0.0
- and https://github.com/executablebooks/mdit-py-plugins/releases/tag/v0.4.0
- UPGRADE: linkify-it-py to v2 (#675)
- Also fixes some edge cases in parsing
- See: https://github.com/tsutsu3/linkify-it-py/blob/main/CHANGELOG.md
- UPGRADE: Add support for docutils v0.20 (#775)
- No significant changes, see https://docutils.sourceforge.io/RELEASE-NOTES.html#release-0-20-2023-05-04
- UPGRADE: Add support for sphinx v7, and remove v5 support (#776)
- No significant changes, see https://www.sphinx-doc.org/en/master/changes.html
- UPGRADE: Remove Python 3.7 support and add testing for Python
3.11 (#772)
- Improve default slug generation for heading anchors, thanks to
@Cimbali (#777)
- This change makes the slug generation closer to GitHub, in
that, starting/ending whitespace will not be stripped.
- For example, # ` a` b `c ` will now correctly create the slug
-a-b-c- and not a-b-c
- IMPROVE: Substitution extension (#777)
- Allow any value type (including dict, list, datetime) and emit
a myst.substitution warning for errors in resolving the
substitution content.
- Introduce a gate/check GHA job, thanks to @webknjaz (#635)
- v1.0.0:
- This changes absolutely nothing in the code, or about the
maintenance/release policy of this project. But it does feel
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-myst-parser?expand=0&rev=8
2023-11-23 07:54:33 +00:00
|
|
|
Version: 2.0.0
|
2022-04-25 09:46:09 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: An extended commonmark compliant parser, with bridges to docutils & sphinx
|
|
|
|
License: MIT
|
|
|
|
URL: https://myst-parser.readthedocs.io/
|
2022-05-02 11:52:09 +00:00
|
|
|
Source: https://github.com/executablebooks/MyST-Parser/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
|
# PyPI tarball does not contain tests
|
|
|
|
#Source: https://files.pythonhosted.org/packages/source/m/myst-parser/myst-parser-%%{version}.tar.gz
|
- Update to version 2.0.0:
- This release primarily updates core myst-parser dependencies, with
some minor changes to parsing behaviour:
- UPGRADE: markdown-it-py to v3 (#773)
- This is mainly a non-breaking change, fixing some edge cases in parsing
- See: https://github.com/executablebooks/markdown-it-py/releases/tag/v3.0.0
- and https://github.com/executablebooks/mdit-py-plugins/releases/tag/v0.4.0
- UPGRADE: linkify-it-py to v2 (#675)
- Also fixes some edge cases in parsing
- See: https://github.com/tsutsu3/linkify-it-py/blob/main/CHANGELOG.md
- UPGRADE: Add support for docutils v0.20 (#775)
- No significant changes, see https://docutils.sourceforge.io/RELEASE-NOTES.html#release-0-20-2023-05-04
- UPGRADE: Add support for sphinx v7, and remove v5 support (#776)
- No significant changes, see https://www.sphinx-doc.org/en/master/changes.html
- UPGRADE: Remove Python 3.7 support and add testing for Python
3.11 (#772)
- Improve default slug generation for heading anchors, thanks to
@Cimbali (#777)
- This change makes the slug generation closer to GitHub, in
that, starting/ending whitespace will not be stripped.
- For example, # ` a` b `c ` will now correctly create the slug
-a-b-c- and not a-b-c
- IMPROVE: Substitution extension (#777)
- Allow any value type (including dict, list, datetime) and emit
a myst.substitution warning for errors in resolving the
substitution content.
- Introduce a gate/check GHA job, thanks to @webknjaz (#635)
- v1.0.0:
- This changes absolutely nothing in the code, or about the
maintenance/release policy of this project. But it does feel
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-myst-parser?expand=0&rev=8
2023-11-23 07:54:33 +00:00
|
|
|
BuildRequires: %{python_module flit-core}
|
|
|
|
BuildRequires: %{python_module Jinja2}
|
|
|
|
BuildRequires: %{python_module PyYAML}
|
|
|
|
BuildRequires: %{python_module Sphinx}
|
|
|
|
BuildRequires: %{python_module docutils >= 0.16}
|
2022-05-02 11:52:09 +00:00
|
|
|
BuildRequires: %{python_module markdown-it-py}
|
- Update to version 2.0.0:
- This release primarily updates core myst-parser dependencies, with
some minor changes to parsing behaviour:
- UPGRADE: markdown-it-py to v3 (#773)
- This is mainly a non-breaking change, fixing some edge cases in parsing
- See: https://github.com/executablebooks/markdown-it-py/releases/tag/v3.0.0
- and https://github.com/executablebooks/mdit-py-plugins/releases/tag/v0.4.0
- UPGRADE: linkify-it-py to v2 (#675)
- Also fixes some edge cases in parsing
- See: https://github.com/tsutsu3/linkify-it-py/blob/main/CHANGELOG.md
- UPGRADE: Add support for docutils v0.20 (#775)
- No significant changes, see https://docutils.sourceforge.io/RELEASE-NOTES.html#release-0-20-2023-05-04
- UPGRADE: Add support for sphinx v7, and remove v5 support (#776)
- No significant changes, see https://www.sphinx-doc.org/en/master/changes.html
- UPGRADE: Remove Python 3.7 support and add testing for Python
3.11 (#772)
- Improve default slug generation for heading anchors, thanks to
@Cimbali (#777)
- This change makes the slug generation closer to GitHub, in
that, starting/ending whitespace will not be stripped.
- For example, # ` a` b `c ` will now correctly create the slug
-a-b-c- and not a-b-c
- IMPROVE: Substitution extension (#777)
- Allow any value type (including dict, list, datetime) and emit
a myst.substitution warning for errors in resolving the
substitution content.
- Introduce a gate/check GHA job, thanks to @webknjaz (#635)
- v1.0.0:
- This changes absolutely nothing in the code, or about the
maintenance/release policy of this project. But it does feel
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-myst-parser?expand=0&rev=8
2023-11-23 07:54:33 +00:00
|
|
|
BuildRequires: %{python_module markdown-it-py}
|
|
|
|
BuildRequires: %{python_module mdit-py-plugins}
|
2022-04-25 09:46:09 +00:00
|
|
|
BuildRequires: %{python_module pip}
|
- Update to version 2.0.0:
- This release primarily updates core myst-parser dependencies, with
some minor changes to parsing behaviour:
- UPGRADE: markdown-it-py to v3 (#773)
- This is mainly a non-breaking change, fixing some edge cases in parsing
- See: https://github.com/executablebooks/markdown-it-py/releases/tag/v3.0.0
- and https://github.com/executablebooks/mdit-py-plugins/releases/tag/v0.4.0
- UPGRADE: linkify-it-py to v2 (#675)
- Also fixes some edge cases in parsing
- See: https://github.com/tsutsu3/linkify-it-py/blob/main/CHANGELOG.md
- UPGRADE: Add support for docutils v0.20 (#775)
- No significant changes, see https://docutils.sourceforge.io/RELEASE-NOTES.html#release-0-20-2023-05-04
- UPGRADE: Add support for sphinx v7, and remove v5 support (#776)
- No significant changes, see https://www.sphinx-doc.org/en/master/changes.html
- UPGRADE: Remove Python 3.7 support and add testing for Python
3.11 (#772)
- Improve default slug generation for heading anchors, thanks to
@Cimbali (#777)
- This change makes the slug generation closer to GitHub, in
that, starting/ending whitespace will not be stripped.
- For example, # ` a` b `c ` will now correctly create the slug
-a-b-c- and not a-b-c
- IMPROVE: Substitution extension (#777)
- Allow any value type (including dict, list, datetime) and emit
a myst.substitution warning for errors in resolving the
substitution content.
- Introduce a gate/check GHA job, thanks to @webknjaz (#635)
- v1.0.0:
- This changes absolutely nothing in the code, or about the
maintenance/release policy of this project. But it does feel
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-myst-parser?expand=0&rev=8
2023-11-23 07:54:33 +00:00
|
|
|
BuildRequires: %{python_module wheel}
|
|
|
|
|
2022-04-25 09:46:09 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
- Update to version 2.0.0:
- This release primarily updates core myst-parser dependencies, with
some minor changes to parsing behaviour:
- UPGRADE: markdown-it-py to v3 (#773)
- This is mainly a non-breaking change, fixing some edge cases in parsing
- See: https://github.com/executablebooks/markdown-it-py/releases/tag/v3.0.0
- and https://github.com/executablebooks/mdit-py-plugins/releases/tag/v0.4.0
- UPGRADE: linkify-it-py to v2 (#675)
- Also fixes some edge cases in parsing
- See: https://github.com/tsutsu3/linkify-it-py/blob/main/CHANGELOG.md
- UPGRADE: Add support for docutils v0.20 (#775)
- No significant changes, see https://docutils.sourceforge.io/RELEASE-NOTES.html#release-0-20-2023-05-04
- UPGRADE: Add support for sphinx v7, and remove v5 support (#776)
- No significant changes, see https://www.sphinx-doc.org/en/master/changes.html
- UPGRADE: Remove Python 3.7 support and add testing for Python
3.11 (#772)
- Improve default slug generation for heading anchors, thanks to
@Cimbali (#777)
- This change makes the slug generation closer to GitHub, in
that, starting/ending whitespace will not be stripped.
- For example, # ` a` b `c ` will now correctly create the slug
-a-b-c- and not a-b-c
- IMPROVE: Substitution extension (#777)
- Allow any value type (including dict, list, datetime) and emit
a myst.substitution warning for errors in resolving the
substitution content.
- Introduce a gate/check GHA job, thanks to @webknjaz (#635)
- v1.0.0:
- This changes absolutely nothing in the code, or about the
maintenance/release policy of this project. But it does feel
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-myst-parser?expand=0&rev=8
2023-11-23 07:54:33 +00:00
|
|
|
# SECTION tests
|
|
|
|
BuildRequires: %{python_module beautifulsoup4}
|
|
|
|
BuildRequires: %{python_module pygments}
|
|
|
|
BuildRequires: %{python_module pytest-regressions}
|
|
|
|
BuildRequires: %{python_module pytest}
|
2022-05-02 11:52:09 +00:00
|
|
|
# SECTION docs
|
|
|
|
#BuildRequires: python3-Sphinx
|
|
|
|
#BuildRequires: python3-Jinja2
|
|
|
|
#BuildRequires: python3-PyYAML
|
|
|
|
#BuildRequires: python3-Sphinx >= 3.1
|
|
|
|
#BuildRequires: python3-docutils >= 0.15
|
|
|
|
#BuildRequires: python3-markdown-it-py >= 1
|
|
|
|
#BuildRequires: python3-mdit-py-plugins < 0.4
|
|
|
|
# /SECTION
|
|
|
|
Requires: python-Jinja2
|
|
|
|
Requires: python-PyYAML
|
|
|
|
Requires: python-Sphinx
|
- Update to version 2.0.0:
- This release primarily updates core myst-parser dependencies, with
some minor changes to parsing behaviour:
- UPGRADE: markdown-it-py to v3 (#773)
- This is mainly a non-breaking change, fixing some edge cases in parsing
- See: https://github.com/executablebooks/markdown-it-py/releases/tag/v3.0.0
- and https://github.com/executablebooks/mdit-py-plugins/releases/tag/v0.4.0
- UPGRADE: linkify-it-py to v2 (#675)
- Also fixes some edge cases in parsing
- See: https://github.com/tsutsu3/linkify-it-py/blob/main/CHANGELOG.md
- UPGRADE: Add support for docutils v0.20 (#775)
- No significant changes, see https://docutils.sourceforge.io/RELEASE-NOTES.html#release-0-20-2023-05-04
- UPGRADE: Add support for sphinx v7, and remove v5 support (#776)
- No significant changes, see https://www.sphinx-doc.org/en/master/changes.html
- UPGRADE: Remove Python 3.7 support and add testing for Python
3.11 (#772)
- Improve default slug generation for heading anchors, thanks to
@Cimbali (#777)
- This change makes the slug generation closer to GitHub, in
that, starting/ending whitespace will not be stripped.
- For example, # ` a` b `c ` will now correctly create the slug
-a-b-c- and not a-b-c
- IMPROVE: Substitution extension (#777)
- Allow any value type (including dict, list, datetime) and emit
a myst.substitution warning for errors in resolving the
substitution content.
- Introduce a gate/check GHA job, thanks to @webknjaz (#635)
- v1.0.0:
- This changes absolutely nothing in the code, or about the
maintenance/release policy of this project. But it does feel
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-myst-parser?expand=0&rev=8
2023-11-23 07:54:33 +00:00
|
|
|
Requires: python-docutils >= 0.16
|
|
|
|
Requires: python-markdown-it-py
|
|
|
|
Requires: python-mdit-py-plugins
|
2022-04-25 09:46:09 +00:00
|
|
|
Requires(post): update-alternatives
|
2022-05-02 11:52:09 +00:00
|
|
|
Requires(postun):update-alternatives
|
2022-04-25 09:46:09 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
%description
|
|
|
|
MyST is a flavor of markdown that is designed for simplicity, flexibility, and extensibility.
|
|
|
|
This is the reference implementation of MyST Markdown, as well as a collection of tools to support working with MyST in Python and Sphinx.
|
|
|
|
It contains an extended CommonMark (https://commonmark.org)-compliant parser using markdown-it-py (https://markdown-it-py.readthedocs.io/), as well as a Sphinx (https://www.sphinx-doc.org) extension that allows to write MyST Markdown in Sphinx.
|
|
|
|
|
|
|
|
%prep
|
2022-05-02 11:52:09 +00:00
|
|
|
%setup -q -n MyST-Parser-%{version}
|
|
|
|
rm docs/.gitignore
|
2022-04-25 09:46:09 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%pyproject_wheel
|
2022-05-02 11:52:09 +00:00
|
|
|
# docs require unavailable sphinxcontrib-bibtex
|
|
|
|
#pushd docs
|
|
|
|
#PYTHONPATH=.. make html
|
|
|
|
#rm _build/html/.buildinfo
|
|
|
|
#popd
|
2022-04-25 09:46:09 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%pyproject_install
|
|
|
|
%python_clone -a %{buildroot}%{_bindir}/myst-anchors
|
|
|
|
%python_clone -a %{buildroot}%{_bindir}/myst-docutils-html
|
|
|
|
%python_clone -a %{buildroot}%{_bindir}/myst-docutils-html5
|
|
|
|
%python_clone -a %{buildroot}%{_bindir}/myst-docutils-latex
|
|
|
|
%python_clone -a %{buildroot}%{_bindir}/myst-docutils-pseudoxml
|
|
|
|
%python_clone -a %{buildroot}%{_bindir}/myst-docutils-xml
|
- Update to version 2.0.0:
- This release primarily updates core myst-parser dependencies, with
some minor changes to parsing behaviour:
- UPGRADE: markdown-it-py to v3 (#773)
- This is mainly a non-breaking change, fixing some edge cases in parsing
- See: https://github.com/executablebooks/markdown-it-py/releases/tag/v3.0.0
- and https://github.com/executablebooks/mdit-py-plugins/releases/tag/v0.4.0
- UPGRADE: linkify-it-py to v2 (#675)
- Also fixes some edge cases in parsing
- See: https://github.com/tsutsu3/linkify-it-py/blob/main/CHANGELOG.md
- UPGRADE: Add support for docutils v0.20 (#775)
- No significant changes, see https://docutils.sourceforge.io/RELEASE-NOTES.html#release-0-20-2023-05-04
- UPGRADE: Add support for sphinx v7, and remove v5 support (#776)
- No significant changes, see https://www.sphinx-doc.org/en/master/changes.html
- UPGRADE: Remove Python 3.7 support and add testing for Python
3.11 (#772)
- Improve default slug generation for heading anchors, thanks to
@Cimbali (#777)
- This change makes the slug generation closer to GitHub, in
that, starting/ending whitespace will not be stripped.
- For example, # ` a` b `c ` will now correctly create the slug
-a-b-c- and not a-b-c
- IMPROVE: Substitution extension (#777)
- Allow any value type (including dict, list, datetime) and emit
a myst.substitution warning for errors in resolving the
substitution content.
- Introduce a gate/check GHA job, thanks to @webknjaz (#635)
- v1.0.0:
- This changes absolutely nothing in the code, or about the
maintenance/release policy of this project. But it does feel
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-myst-parser?expand=0&rev=8
2023-11-23 07:54:33 +00:00
|
|
|
%python_clone -a %{buildroot}%{_bindir}/myst-docutils-demo
|
|
|
|
%python_clone -a %{buildroot}%{_bindir}/myst-inv
|
2022-04-25 09:46:09 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
2022-05-02 11:52:09 +00:00
|
|
|
%check
|
- Update to version 2.0.0:
- This release primarily updates core myst-parser dependencies, with
some minor changes to parsing behaviour:
- UPGRADE: markdown-it-py to v3 (#773)
- This is mainly a non-breaking change, fixing some edge cases in parsing
- See: https://github.com/executablebooks/markdown-it-py/releases/tag/v3.0.0
- and https://github.com/executablebooks/mdit-py-plugins/releases/tag/v0.4.0
- UPGRADE: linkify-it-py to v2 (#675)
- Also fixes some edge cases in parsing
- See: https://github.com/tsutsu3/linkify-it-py/blob/main/CHANGELOG.md
- UPGRADE: Add support for docutils v0.20 (#775)
- No significant changes, see https://docutils.sourceforge.io/RELEASE-NOTES.html#release-0-20-2023-05-04
- UPGRADE: Add support for sphinx v7, and remove v5 support (#776)
- No significant changes, see https://www.sphinx-doc.org/en/master/changes.html
- UPGRADE: Remove Python 3.7 support and add testing for Python
3.11 (#772)
- Improve default slug generation for heading anchors, thanks to
@Cimbali (#777)
- This change makes the slug generation closer to GitHub, in
that, starting/ending whitespace will not be stripped.
- For example, # ` a` b `c ` will now correctly create the slug
-a-b-c- and not a-b-c
- IMPROVE: Substitution extension (#777)
- Allow any value type (including dict, list, datetime) and emit
a myst.substitution warning for errors in resolving the
substitution content.
- Introduce a gate/check GHA job, thanks to @webknjaz (#635)
- v1.0.0:
- This changes absolutely nothing in the code, or about the
maintenance/release policy of this project. But it does feel
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-myst-parser?expand=0&rev=8
2023-11-23 07:54:33 +00:00
|
|
|
# no python-sphinx-pytest package
|
|
|
|
ignore="--ignore=tests/test_renderers/test_fixtures_sphinx.py"
|
|
|
|
ignore+=" --ignore=tests/test_renderers/test_myst_refs.py"
|
|
|
|
ignore+=" --ignore=tests/test_sphinx/test_sphinx_builds.py"
|
|
|
|
# no python-pytest-param-files package
|
|
|
|
ignore+=" --ignore=tests/test_renderers/test_myst_config.py"
|
|
|
|
|
|
|
|
# no python-pytest-param-files package
|
|
|
|
donttest="test_parsing or test_errors or test_render or test_html_to_nodes or test_html_ast or test_html_round_trip"
|
|
|
|
|
|
|
|
%pytest $ignore -k "not ($donttest)"
|
2022-05-02 11:52:09 +00:00
|
|
|
|
2022-04-25 09:46:09 +00:00
|
|
|
%post
|
- Update to version 2.0.0:
- This release primarily updates core myst-parser dependencies, with
some minor changes to parsing behaviour:
- UPGRADE: markdown-it-py to v3 (#773)
- This is mainly a non-breaking change, fixing some edge cases in parsing
- See: https://github.com/executablebooks/markdown-it-py/releases/tag/v3.0.0
- and https://github.com/executablebooks/mdit-py-plugins/releases/tag/v0.4.0
- UPGRADE: linkify-it-py to v2 (#675)
- Also fixes some edge cases in parsing
- See: https://github.com/tsutsu3/linkify-it-py/blob/main/CHANGELOG.md
- UPGRADE: Add support for docutils v0.20 (#775)
- No significant changes, see https://docutils.sourceforge.io/RELEASE-NOTES.html#release-0-20-2023-05-04
- UPGRADE: Add support for sphinx v7, and remove v5 support (#776)
- No significant changes, see https://www.sphinx-doc.org/en/master/changes.html
- UPGRADE: Remove Python 3.7 support and add testing for Python
3.11 (#772)
- Improve default slug generation for heading anchors, thanks to
@Cimbali (#777)
- This change makes the slug generation closer to GitHub, in
that, starting/ending whitespace will not be stripped.
- For example, # ` a` b `c ` will now correctly create the slug
-a-b-c- and not a-b-c
- IMPROVE: Substitution extension (#777)
- Allow any value type (including dict, list, datetime) and emit
a myst.substitution warning for errors in resolving the
substitution content.
- Introduce a gate/check GHA job, thanks to @webknjaz (#635)
- v1.0.0:
- This changes absolutely nothing in the code, or about the
maintenance/release policy of this project. But it does feel
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-myst-parser?expand=0&rev=8
2023-11-23 07:54:33 +00:00
|
|
|
%{python_install_alternative myst-anchors myst-docutils-html myst-docutils-html5 myst-docutils-latex myst-docutils-pseudoxml myst-docutils-xml myst-docutils-demo myst-inv}
|
2022-04-25 09:46:09 +00:00
|
|
|
|
|
|
|
%postun
|
|
|
|
%python_uninstall_alternative myst-anchors
|
|
|
|
|
|
|
|
%files %{python_files}
|
|
|
|
%{python_sitelib}/myst_parser/
|
|
|
|
%{python_sitelib}/myst_parser-%{version}*-info
|
|
|
|
%license LICENSE
|
|
|
|
%doc CHANGELOG.md README.md
|
|
|
|
%python_alternative %{_bindir}/myst-anchors
|
|
|
|
%python_alternative %{_bindir}/myst-docutils-html
|
|
|
|
%python_alternative %{_bindir}/myst-docutils-html5
|
|
|
|
%python_alternative %{_bindir}/myst-docutils-latex
|
|
|
|
%python_alternative %{_bindir}/myst-docutils-pseudoxml
|
|
|
|
%python_alternative %{_bindir}/myst-docutils-xml
|
- Update to version 2.0.0:
- This release primarily updates core myst-parser dependencies, with
some minor changes to parsing behaviour:
- UPGRADE: markdown-it-py to v3 (#773)
- This is mainly a non-breaking change, fixing some edge cases in parsing
- See: https://github.com/executablebooks/markdown-it-py/releases/tag/v3.0.0
- and https://github.com/executablebooks/mdit-py-plugins/releases/tag/v0.4.0
- UPGRADE: linkify-it-py to v2 (#675)
- Also fixes some edge cases in parsing
- See: https://github.com/tsutsu3/linkify-it-py/blob/main/CHANGELOG.md
- UPGRADE: Add support for docutils v0.20 (#775)
- No significant changes, see https://docutils.sourceforge.io/RELEASE-NOTES.html#release-0-20-2023-05-04
- UPGRADE: Add support for sphinx v7, and remove v5 support (#776)
- No significant changes, see https://www.sphinx-doc.org/en/master/changes.html
- UPGRADE: Remove Python 3.7 support and add testing for Python
3.11 (#772)
- Improve default slug generation for heading anchors, thanks to
@Cimbali (#777)
- This change makes the slug generation closer to GitHub, in
that, starting/ending whitespace will not be stripped.
- For example, # ` a` b `c ` will now correctly create the slug
-a-b-c- and not a-b-c
- IMPROVE: Substitution extension (#777)
- Allow any value type (including dict, list, datetime) and emit
a myst.substitution warning for errors in resolving the
substitution content.
- Introduce a gate/check GHA job, thanks to @webknjaz (#635)
- v1.0.0:
- This changes absolutely nothing in the code, or about the
maintenance/release policy of this project. But it does feel
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-myst-parser?expand=0&rev=8
2023-11-23 07:54:33 +00:00
|
|
|
%python_alternative %{_bindir}/myst-docutils-demo
|
|
|
|
%python_alternative %{_bindir}/myst-inv
|
2022-05-02 11:52:09 +00:00
|
|
|
%doc docs
|
2022-04-25 09:46:09 +00:00
|
|
|
|
|
|
|
%changelog
|