summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/myst-parser/myst-parser-2.0.0-r1.ebuild (renamed from dev-python/myst-parser/myst-parser-2.0.0.ebuild)17
1 files changed, 12 insertions, 5 deletions
diff --git a/dev-python/myst-parser/myst-parser-2.0.0.ebuild b/dev-python/myst-parser/myst-parser-2.0.0-r1.ebuild
index 215f63999fe7..2d897d5f9417 100644
--- a/dev-python/myst-parser/myst-parser-2.0.0.ebuild
+++ b/dev-python/myst-parser/myst-parser-2.0.0-r1.ebuild
@@ -27,7 +27,7 @@ SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
RDEPEND="
- <dev-python/docutils-0.21[${PYTHON_USEDEP}]
+ dev-python/docutils[${PYTHON_USEDEP}]
dev-python/jinja[${PYTHON_USEDEP}]
<dev-python/markdown-it-py-4[${PYTHON_USEDEP}]
>=dev-python/markdown-it-py-3.0[${PYTHON_USEDEP}]
@@ -51,7 +51,14 @@ BDEPEND="
distutils_enable_tests pytest
-PATCHES=(
- # https://github.com/executablebooks/MyST-Parser/pull/811
- "${DISTDIR}/${P}-sphinx-7.2.patch"
-)
+src_prepare() {
+ local PATCHES=(
+ # https://github.com/executablebooks/MyST-Parser/pull/811
+ "${DISTDIR}/${P}-sphinx-7.2.patch"
+ )
+
+ default
+
+ # unpin docutils
+ sed -i -e '/docutils/s:,<[0-9.]*::' pyproject.toml || die
+}