diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-23 23:59:27 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-23 23:59:27 +0100 |
commit | e3f21c8aff8a76afe3423721c437a088e9232840 (patch) | |
tree | fde2c1906a9787adec106c5d6b708cd60de02c60 /dev-python/myst-parser/myst-parser-2.0.0-r1.ebuild | |
parent | 1f00990debeffd0052c194989d0a02baac23eb96 (diff) |
gentoo auto-resync : 23:04:2024 - 23:59:26
Diffstat (limited to 'dev-python/myst-parser/myst-parser-2.0.0-r1.ebuild')
-rw-r--r-- | dev-python/myst-parser/myst-parser-2.0.0-r1.ebuild | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/dev-python/myst-parser/myst-parser-2.0.0-r1.ebuild b/dev-python/myst-parser/myst-parser-2.0.0-r1.ebuild index 7d5eb87dbe12..4257951ca376 100644 --- a/dev-python/myst-parser/myst-parser-2.0.0-r1.ebuild +++ b/dev-python/myst-parser/myst-parser-2.0.0-r1.ebuild @@ -40,6 +40,7 @@ RDEPEND=" BDEPEND=" test? ( dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/defusedxml[${PYTHON_USEDEP}] <dev-python/linkify-it-py-3[${PYTHON_USEDEP}] >=dev-python/linkify-it-py-2.0.0[${PYTHON_USEDEP}] dev-python/pytest-regressions[${PYTHON_USEDEP}] @@ -56,26 +57,15 @@ src_prepare() { # https://github.com/executablebooks/MyST-Parser/pull/811 "${DISTDIR}/${P}-sphinx-7.2.patch" ) + if has_version '>=dev-python/sphinx-7.3'; then + PATCHES+=( + # https://github.com/executablebooks/MyST-Parser/pull/915 + "${FILESDIR}/${P}-sphinx-7.3.patch" + ) + fi default # unpin docutils sed -i -e '/docutils/s:,<[0-9.]*::' pyproject.toml || die } - -python_test() { - local EPYTEST_DESELECT=() - - if has_version ">=dev-python/sphinx-7.3"; then - EPYTEST_DESELECT+=( - # https://github.com/executablebooks/MyST-Parser/issues/913 - 'tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[298-Sphinx Role containing backtick:]' - 'tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_directives[341-versionadded (`sphinx.domains.changeset.VersionChange`):]' - tests/test_sphinx/test_sphinx_builds.py::test_references_singlehtml - tests/test_sphinx/test_sphinx_builds.py::test_heading_slug_func - tests/test_sphinx/test_sphinx_builds.py::test_gettext_html - ) - fi - - epytest -} |