diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-02-02 01:39:05 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-02-02 01:39:05 +0000 |
commit | fcc5224904648a8e6eb528d7603154160a20022f (patch) | |
tree | 3bfce096b38a9cea8eed13fc70c1526c456e9abd /dev-python/myst_parser | |
parent | 2fd57282f0262ca084e05b0f2c63fbada395d02b (diff) |
gentoo resync : 02.02.2022
Diffstat (limited to 'dev-python/myst_parser')
-rw-r--r-- | dev-python/myst_parser/Manifest | 3 | ||||
-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, 65 insertions, 0 deletions
diff --git a/dev-python/myst_parser/Manifest b/dev-python/myst_parser/Manifest new file mode 100644 index 000000000000..98ed44b664e6 --- /dev/null +++ b/dev-python/myst_parser/Manifest @@ -0,0 +1,3 @@ +DIST myst_parser-0.16.1_p20220119.gh.tar.gz 876622 BLAKE2B 4cac39ec9935a1f97d5f1484eed3fcfe6d2ff5013290ea93c1fc6f9894c363d83ddaf9af5f088ba5e1284bb1f28c2e0b4cf935860c5641953baaae39c5f6bdbe SHA512 a9460501651d598bb9ed3d108a47ef27554cf7a52589a0ef8ddcb1fa2b94a25bb24cb8b51a9a367b58eef5c6d8d96f8170ad924f105d5dffe9bc4f6557e701c7 +EBUILD myst_parser-0.16.1_p20220119.ebuild 1407 BLAKE2B 7f4072641f337be2ef625187f516c40c3b937a1a4ca2229bbc917f042ab060373139df41d725730b0fe5e88aad1734cba19f7c6181ecb4304805d45d149a9490 SHA512 5fa6c3f9a6ded3c2229520b498149b75e0818ca56f709ce427b9596c01312cde6aaebdd999bf64c975d3d59a049671d278b9d74ad16599976b500b32ad433575 +MISC metadata.xml 406 BLAKE2B d8a974be3dd4fef4800958dcb1eef3124dc8e3ec49e6678d0db7d6096ef290019aa025796c4f7c38bc11b750d1667ba97d4429b64e7271009da707cd945e113f SHA512 acdc27a39e068c487306002342b9c0c5910d61ed34a7b62878272054ea458d5aad46fe24095a52666ed77ffcb6e703687cc83de0c9e2cef395a1decf9003d918 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 +) |