dev-python/pytest-codeblock - 0.5.9 (ha-bleeding-edge)

Search

Install

Install this version:

emerge -a =dev-python/pytest-codeblock-0.5.9

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/pytest-codeblock-0.5.9

Or alternatively:

emerge --autounmask-write -a =dev-python/pytest-codeblock-0.5.9

Package Information

Description:
Pytest plugin to collect and test code blocks in reStructuredText and Markdown files.
Homepage:
https://pypi.org/project/pytest-codeblock/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.5.9 8 ~amd64 ~arm64 0
View Raw Ebuild
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_USE_PEP517=setuptools
inherit pypi distutils-r1

DESCRIPTION="Pytest plugin to collect and test code blocks in reStructuredText and Markdown files."
HOMEPAGE="https://pypi.org/project/pytest-codeblock/"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="test"
RESTRICT="!test? ( test )"

RDEPEND="
	dev-python/pytest[${PYTHON_USEDEP}]
	$(python_gen_cond_dep '
		dev-python/tomli[${PYTHON_USEDEP}]
	' python3_10 python3_11)
"
BDEPEND="
	test? (
		dev-python/pytest[${PYTHON_USEDEP}]
		dev-python/pytest-cov[${PYTHON_USEDEP}]
	)
"

distutils_enable_tests pytest

USE Flags

Manage flags for this package: euse -i <flag> -p dev-python/pytest-codeblock | euse -E <flag> -p dev-python/pytest-codeblock | euse -D <flag> -p dev-python/pytest-codeblock

Global/Standard Flags

Inherited Eclasses

Dependencies

RDEPEND

	dev-python/pytest[${PYTHON_USEDEP}]
	$(python_gen_cond_dep '
		dev-python/tomli[${PYTHON_USEDEP}]
	' python3_10 python3_11)

BDEPEND

	test? (
		dev-python/pytest[]
		dev-python/pytest-cov[]
	)