dev-python/pytest-repeat: New package, v0.9.3

Required for dev-python/simsimd, which is an optional dep for
dev-python/elasticsearch.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-05-05 11:43:28 +02:00
parent dbb5b85606
commit 7029f2db22
3 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST pytest_repeat-0.9.3.tar.gz 6272 BLAKE2B 120f05793d82e6e7bf8c6fc510b218bdc72f453a3548d7a41928f3e228f3438fc3ff49f06025c2061f7f987e66868c653b275b2786b0de1f6eeffc296e4431bd SHA512 7a3fdf0a7403d11549e5cdd95e0f4ee93fd3a59d3f19604477ce73e4e20082f229ec03bd250be52c7d651ccb6aab9e995d2800d6f7931ee144e587741142243b

View File

@@ -0,0 +1,12 @@
<?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>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="github">pytest-dev/pytest-repeat</remote-id>
<remote-id type="pypi">pytest-repeat</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,34 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( pypy3 python3_{10..12} )
inherit distutils-r1 pypi
DESCRIPTION="pytest plugin for repeating tests"
HOMEPAGE="
https://github.com/pytest-dev/pytest-repeat/
https://pypi.org/project/pytest-repeat/
"
LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-python/pytest[${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/hatch-vcs[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
local -x PYTEST_PLUGINS=pytest_repeat
epytest
}