mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 11:18:09 -07:00
dev-python/myst-parser: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST MyST-Parser-5.0.0.gh.tar.gz 830837 BLAKE2B ecad12739d924d7af7f37bdf23f4c8ccd90112d1a59e6208fd63056684883482574cab0c008da955fdddc9a14d53a2653659f8905c39fbbe7cce5fcf7a95262d SHA512 765385bcb0716fa8d9a42c6860846d504e75b1aa3bc32b4a2cfd1f1717555872e5c35da687a47ae7ece2043aed37d84ee9f0609e078f250e640149a9bb7487a8
|
||||
DIST MyST-Parser-5.1.0.gh.tar.gz 836550 BLAKE2B 7bd8695cec837587089e81eeb019d018b15dee1618e8902e9f80032f4cc736336206aedf451466df9f1aa029eca9f9dc2e57412087fd7df3b1fbef4ddbd4b7e1 SHA512 db3c9b2173f0e3ca1c53053c4b5150291436dc50203e6c93660d0b9aafb2e0b27f06765dfb18b1147ec5629ca11a5fcb8b83862783c58099ee214c4d4b9a60a0
|
||||
|
||||
@@ -1,65 +0,0 @@
|
||||
# Copyright 2022-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=flit
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P=MyST-Parser-${PV}
|
||||
DESCRIPTION="Extended commonmark compliant parser, with bridges to Sphinx"
|
||||
HOMEPAGE="
|
||||
https://github.com/executablebooks/MyST-Parser/
|
||||
https://pypi.org/project/myst-parser/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/executablebooks/MyST-Parser/archive/v${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/docutils-0.20[${PYTHON_USEDEP}]
|
||||
dev-python/jinja2[${PYTHON_USEDEP}]
|
||||
=dev-python/markdown-it-py-4*[${PYTHON_USEDEP}]
|
||||
=dev-python/mdit-py-plugins-0.5*[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
<dev-python/sphinx-10[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-8[${PYTHON_USEDEP}]
|
||||
"
|
||||
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/sphinx-7.3[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( pytest-{datadir,param-files,regressions} sphinx-pytest )
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# minor pygments mismatch
|
||||
tests/test_sphinx/test_sphinx_builds.py::test_includes
|
||||
# sphinx-8.2.3
|
||||
# https://github.com/executablebooks/MyST-Parser/issues/1030
|
||||
'tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_directives[320-math (`sphinx.directives.patches.MathDirective`):]'
|
||||
tests/test_sphinx/test_sphinx_builds.py::test_references_singlehtml
|
||||
tests/test_sphinx/test_sphinx_builds.py::test_extended_syntaxes
|
||||
tests/test_sphinx/test_sphinx_builds.py::test_fieldlist_extension
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# unpin docutils
|
||||
sed -i -e '/docutils/s:,<[0-9.]*::' pyproject.toml || die
|
||||
}
|
||||
Reference in New Issue
Block a user