diff options
Diffstat (limited to 'dev-python/pytest-codeblocks')
| -rw-r--r-- | dev-python/pytest-codeblocks/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pytest-codeblocks/metadata.xml | 13 | ||||
| -rw-r--r-- | dev-python/pytest-codeblocks/pytest-codeblocks-0.17.0.ebuild | 33 |
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/pytest-codeblocks/Manifest b/dev-python/pytest-codeblocks/Manifest new file mode 100644 index 000000000000..2279b509d24b --- /dev/null +++ b/dev-python/pytest-codeblocks/Manifest @@ -0,0 +1 @@ +DIST pytest-codeblocks-0.17.0.gh.tar.gz 9104 BLAKE2B 50f6d7cdf0c2d355c91a1a518622f65c4520a4e655d9c6aae64b0ea7697cf2605f37cf070fc9b7c60c2aef655b5a9adacd5acf4dbfbca2ccb8224316733dc269 SHA512 20044f10e997fbe15a8389aebdad324c2b102a11287315c8c85042f5497f51723c030b918f0cd923beb9f0c5b33a41673426a8c550814e1bd8b9b5476dd0dbf5 diff --git a/dev-python/pytest-codeblocks/metadata.xml b/dev-python/pytest-codeblocks/metadata.xml new file mode 100644 index 000000000000..d3c21cb385ac --- /dev/null +++ b/dev-python/pytest-codeblocks/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> + <upstream> + <remote-id type="github">nschloe/pytest-codeblocks</remote-id> + <remote-id type="pypi">pytest_codeblocks</remote-id> + </upstream> + <stabilize-allarches/> +</pkgmetadata> diff --git a/dev-python/pytest-codeblocks/pytest-codeblocks-0.17.0.ebuild b/dev-python/pytest-codeblocks/pytest-codeblocks-0.17.0.ebuild new file mode 100644 index 000000000000..e44c12829803 --- /dev/null +++ b/dev-python/pytest-codeblocks/pytest-codeblocks-0.17.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 2019-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="Extract code blocks from markdown" +HOMEPAGE=" + https://github.com/nschloe/pytest-codeblocks/ + https://pypi.org/project/pytest_codeblocks/ +" +SRC_URI=" + https://github.com/nschloe/pytest-codeblocks/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/pytest-7.0.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + epytest -p pytester +} |
