# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..15} )

inherit distutils-r1 pypi

DESCRIPTION="A pytest fixture for benchmarking code"
HOMEPAGE="https://github.com/ionelmc/pytest-benchmark https://pypi.org/project/pytest-benchmark/"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	>=dev-python/py-cpuinfo-10.1.0[${PYTHON_USEDEP}]
	>=dev-python/pytest-8.1[${PYTHON_USEDEP}]
"

EPYTEST_PLUGINS=( "${PN}" )
distutils_enable_tests pytest