diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-01-22 16:11:04 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-01-23 20:49:02 +0200 |
commit | 5efe08681fc408a48fccdf15a1a6c75e28440448 (patch) | |
tree | a71d97b1b64c4e65571593879863f1808449d07b /dev-python | |
parent | dev-python/pytest-param-files: new package, 0.3.3 (diff) | |
download | gentoo-5efe08681fc408a48fccdf15a1a6c75e28440448.tar.gz gentoo-5efe08681fc408a48fccdf15a1a6c75e28440448.tar.bz2 gentoo-5efe08681fc408a48fccdf15a1a6c75e28440448.zip |
dev-python/myst_parser: new package, add 0.16.1_p20220119
use snapshot version as we need changes done at master, as fixes for
sphinx 4.4.
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/myst_parser/Manifest | 1 | ||||
-rw-r--r-- | dev-python/myst_parser/metadata.xml | 13 | ||||
-rw-r--r-- | dev-python/myst_parser/myst_parser-0.16.1_p20220119.ebuild | 49 |
3 files changed, 63 insertions, 0 deletions
diff --git a/dev-python/myst_parser/Manifest b/dev-python/myst_parser/Manifest new file mode 100644 index 000000000000..9c7d6302ca8b --- /dev/null +++ b/dev-python/myst_parser/Manifest @@ -0,0 +1 @@ +DIST myst_parser-0.16.1_p20220119.gh.tar.gz 876622 BLAKE2B 4cac39ec9935a1f97d5f1484eed3fcfe6d2ff5013290ea93c1fc6f9894c363d83ddaf9af5f088ba5e1284bb1f28c2e0b4cf935860c5641953baaae39c5f6bdbe SHA512 a9460501651d598bb9ed3d108a47ef27554cf7a52589a0ef8ddcb1fa2b94a25bb24cb8b51a9a367b58eef5c6d8d96f8170ad924f105d5dffe9bc4f6557e701c7 diff --git a/dev-python/myst_parser/metadata.xml b/dev-python/myst_parser/metadata.xml new file mode 100644 index 000000000000..bd9da8f02f97 --- /dev/null +++ b/dev-python/myst_parser/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="pypi">myst-parser</remote-id> + <remote-id type="github">executablebooks/MyST-Parser</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/myst_parser/myst_parser-0.16.1_p20220119.ebuild b/dev-python/myst_parser/myst_parser-0.16.1_p20220119.ebuild new file mode 100644 index 000000000000..3b464949b36f --- /dev/null +++ b/dev-python/myst_parser/myst_parser-0.16.1_p20220119.ebuild @@ -0,0 +1,49 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +# one time use of snapshot for some changes from master +# next bump, just use github tarballs for tests +COMMIT="7654462dc8521c0090478efa4dcfba6227e97a84" + +DESCRIPTION="Extended commonmark compliant parser, with bridges to sphinx" +HOMEPAGE="https://pypi.org/project/myst-parser/ https://github.com/executablebooks/MyST-Parser" +SRC_URI=" + https://github.com/executablebooks/MyST-Parser/archive/${COMMIT}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/MyST-Parser-${COMMIT}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + <dev-python/docutils-0.18[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/markdown-it-py[${PYTHON_USEDEP}] + dev-python/mdit-py-plugins[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + <dev-python/sphinx-5[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/pytest-regressions[${PYTHON_USEDEP}] + dev-python/pytest-param-files[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Unimportant tests needing a new dep linkify + tests/test_renderers/test_myst_config.py::test_cmdline + tests/test_sphinx/test_sphinx_builds.py::test_extended_syntaxes +) |