[packages/python3-myst_parser] - adjust mdit-py-plugins dependency to be parseable by poldek; release 5
qboosh
qboosh at pld-linux.org
Sun Apr 6 14:58:18 CEST 2025
commit 851cdfbe7c0f2cdf6f4cc4390957e89dd8bbf1bd
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Apr 6 14:14:43 2025 +0200
- adjust mdit-py-plugins dependency to be parseable by poldek; release 5
myst_parser-deps.patch | 11 +++++++++++
python3-myst_parser.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/python3-myst_parser.spec b/python3-myst_parser.spec
index 4a77633..93b503c 100644
--- a/python3-myst_parser.spec
+++ b/python3-myst_parser.spec
@@ -7,12 +7,13 @@ Summary: Extended CommonMark compliant parser with bridges to docutils and Sphin
Summary(pl.UTF-8): Rozszerzony parser zgodny z CommonMark z interfejsami do docutils i Sphinksa
Name: python3-myst_parser
Version: 4.0.0
-Release: 4
+Release: 5
License: MIT
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/myst-parser/
Source0: https://pypi.debian.net/myst-parser/myst_parser-%{version}.tar.gz
# Source0-md5: e702667009f8e1d054d0de2718276384
+Patch0: myst_parser-deps.patch
URL: https://pypi.org/project/myst-parser/
BuildRequires: python3-build
BuildRequires: python3-flit_core >= 3.4
@@ -89,6 +90,7 @@ Dokumentacja API modułu Pythona myst_parser.
%prep
%setup -q -n myst_parser-%{version}
+%patch -P0 -p1
%build
%py3_build_pyproject
diff --git a/myst_parser-deps.patch b/myst_parser-deps.patch
new file mode 100644
index 0000000..73025d5
--- /dev/null
+++ b/myst_parser-deps.patch
@@ -0,0 +1,11 @@
+--- myst_parser-4.0.0/pyproject.toml.orig 2024-08-05 16:02:40.693837600 +0200
++++ myst_parser-4.0.0/pyproject.toml 2025-04-06 14:13:26.192368839 +0200
+@@ -36,7 +36,7 @@ dependencies = [
+ "docutils>=0.19,<0.22",
+ "jinja2", # required for substitutions, but let sphinx choose version
+ "markdown-it-py~=3.0",
+- "mdit-py-plugins~=0.4,>=0.4.1",
++ "mdit-py-plugins>=0.4.1,<0.5",
+ "pyyaml",
+ "sphinx>=7,<9",
+ ]
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-myst_parser.git/commitdiff/851cdfbe7c0f2cdf6f4cc4390957e89dd8bbf1bd
More information about the pld-cvs-commit
mailing list