dev-python/pytest-codspeed - 5.0.3 (ha-bleeding-edge)

Search

Install

Install this version:

emerge -a =dev-python/pytest-codspeed-5.0.3

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

autounmask =dev-python/pytest-codspeed-5.0.3

Or alternatively:

emerge --autounmask-write -a =dev-python/pytest-codspeed-5.0.3

Package Information

Description:
Pytest plugin to create CodSpeed benchmarks
Homepage:
https://pypi.org/project/pytest-codspeed/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
5.0.3 8 ~amd64 ~arm64 0
View Raw Ebuild
# Copyright 2026 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 create CodSpeed benchmarks"
HOMEPAGE="https://pypi.org/project/pytest-codspeed/"

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

RDEPEND="
    >=dev-python/pytest-3.8[${PYTHON_USEDEP}]
    >=dev-python/rich-13.8.1[${PYTHON_USEDEP}]
    >=dev-python/importlib-metadata-8.5.0[${PYTHON_USEDEP}]
"
BDEPEND="
    test? (
        dev-python/pytest-benchmark[${PYTHON_USEDEP}]
        dev-python/pytest-xdist[${PYTHON_USEDEP}]
    )
"

distutils_enable_tests pytest

pkg_postinst() {
    if use test ; then
        elog "This package requires additional test dependencies:"
        elog "  dev-python/pytest-benchmark"
        elog "  dev-python/pytest-xdist"
    fi
}

USE Flags

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

Global/Standard Flags

Inherited Eclasses

Dependencies

RDEPEND

    >=dev-python/pytest-3.8[]
    >=dev-python/rich-13.8.1[]
    >=dev-python/importlib-metadata-8.5.0[]

BDEPEND

    test? (
        dev-python/pytest-benchmark[]
        dev-python/pytest-xdist[]
    )