diff --git a/0001-modify-the-operator-of-version-required-to-gt.patch b/0001-modify-the-operator-of-version-required-to-gt.patch deleted file mode 100644 index 0bca116a1574417ce235bb030f55181137f9fe5d..0000000000000000000000000000000000000000 --- a/0001-modify-the-operator-of-version-required-to-gt.patch +++ /dev/null @@ -1,27 +0,0 @@ -From f2fc63ffd0aae72a480a2661f941dd7bf0a2d336 Mon Sep 17 00:00:00 2001 -From: desert-sailor -Date: Thu, 20 Jul 2023 17:13:34 +0800 -Subject: [PATCH] modify the operator of version required to gt - ---- - pyproject.toml | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/pyproject.toml b/pyproject.toml -index ed6db11..ac6bf31 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -36,8 +36,8 @@ requires-python = ">=3.8" - dependencies = [ - "docutils>=0.16,<0.21", - "jinja2", # required for substitutions, but let sphinx choose version -- "markdown-it-py~=3.0", -- "mdit-py-plugins~=0.4", -+ "markdown-it-py>=3.0", -+ "mdit-py-plugins>=0.4", - "pyyaml", - "sphinx>=6,<8", - ] --- -2.33.0 - diff --git a/myst_parser-2.0.0.tar.gz b/myst_parser-2.0.0.tar.gz deleted file mode 100644 index 47edf6b2f71364fde9bfee93c4e838c18af18186..0000000000000000000000000000000000000000 Binary files a/myst_parser-2.0.0.tar.gz and /dev/null differ diff --git a/myst_parser-4.0.0.tar.gz b/myst_parser-4.0.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..7b2e59f746f1e23af739ecc0c1ec2b97ccc14ed9 Binary files /dev/null and b/myst_parser-4.0.0.tar.gz differ diff --git a/python-myst-parser.spec b/python-myst-parser.spec index e0a9362cca3c1e6b843111778df820e882f579bf..353b8f23b3f66d34cb077ef1160ad5cb85085536 100644 --- a/python-myst-parser.spec +++ b/python-myst-parser.spec @@ -1,14 +1,13 @@ %global _empty_manifest_terminate_build 0 Name: python-myst-parser -Version: 2.0.0 +Version: 4.0.0 Release: 1 Summary: A rich and extensible flavor of Markdown meant for technical documentation and publishing. License: MIT URL: https://github.com/executablebooks/MyST-Parser -Source: %{pypi_source myst_parser} -Patch1: 0001-modify-the-operator-of-version-required-to-gt.patch +Source0: %{url}/archive/v%{version}/myst_parser-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel @@ -35,7 +34,8 @@ Summary: %{summary} %prep -%autosetup -p1 -n myst_parser-%{version} +%autosetup -p1 -n MyST-Parser-%{version} +sed -i 's/\~=/\>=/g' pyproject.toml %build %pyproject_build @@ -51,5 +51,12 @@ Summary: %{summary} %{python3_sitelib}/myst_parser*.dist-info/ %changelog +* Wed Oct 30 2024 Dongxing Wang - 4.0.0-1 +- Update package to version 4.0.0 + Support python>=3.10, sphinx >=7,<9, docutils>=0.19,<0.22 + Improve footnote def/ref warnings and translations + Allow for use of the line-block directive + Emits sphinx include-read event + * Tue Jul 11 2023 Dongxing Wang - 2.0.0-1 - Initial package