summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-04-21 17:35:08 +0200
committerMichał Górny <mgorny@gentoo.org>2024-04-21 17:46:24 +0200
commit08691e7fb1b8d64f4b5b681acc287bbe2e65ce63 (patch)
treed7f196bf57440ecf55d37e89ab481aec9a0539e8 /dev-python/myst-parser
parentdev-python/myst-parser: Backport test fixes for Sphinx 7.2.6 (diff)
downloadgentoo-08691e7fb1b8d64f4b5b681acc287bbe2e65ce63.tar.gz
gentoo-08691e7fb1b8d64f4b5b681acc287bbe2e65ce63.tar.bz2
gentoo-08691e7fb1b8d64f4b5b681acc287bbe2e65ce63.zip
dev-python/myst-parser: Unpin docutils
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/myst-parser')
-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
+}