From b590c8d7572b727d565cc0b8ff660d43569845de Mon Sep 17 00:00:00 2001 From: root Date: Fri, 12 Jun 2026 19:09:37 -0500 Subject: Adding metadata --- dev-python/flaky/Manifest | 1 + dev-python/flaky/flaky-3.8.1.ebuild | 37 +++++++++++++++++++++++++++++++++++++ dev-python/flaky/metadata.xml | 10 ++++++++++ 3 files changed, 48 insertions(+) create mode 100644 dev-python/flaky/Manifest create mode 100644 dev-python/flaky/flaky-3.8.1.ebuild create mode 100644 dev-python/flaky/metadata.xml (limited to 'dev-python/flaky') diff --git a/dev-python/flaky/Manifest b/dev-python/flaky/Manifest new file mode 100644 index 000000000000..c68e29a3bf17 --- /dev/null +++ b/dev-python/flaky/Manifest @@ -0,0 +1 @@ +DIST flaky-3.8.1.tar.gz 25248 BLAKE2B 3ebc05777c5a6b3551b794516579b7985b06b0236889089643c028e55cdc7af777ae3a64f8e0464bd751f6ea4689067465ea94fde624743ddbed84f55e1bbe94 SHA512 486b8aeb9a63c5b4dfb0cf4a0ad86b29e90cdc4a604cdca7676c4b918fc4bb40e185fcc23a205a12916fd2b99316a2a89ca363b3f6efe2ebfb1e93722b4f4547 diff --git a/dev-python/flaky/flaky-3.8.1.ebuild b/dev-python/flaky/flaky-3.8.1.ebuild new file mode 100644 index 000000000000..5afcd87ddefc --- /dev/null +++ b/dev-python/flaky/flaky-3.8.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-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 pypi + +DESCRIPTION="Plugin for pytest that automatically reruns flaky tests" +HOMEPAGE=" + https://github.com/box/flaky/ + https://pypi.org/project/flaky/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos ~x64-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/pytest[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/genty[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ) +" + +python_test() { + epytest -k 'example and not options' --doctest-modules test/test_pytest/ || die + epytest -p no:flaky test/test_pytest/test_flaky_pytest_plugin.py || die + epytest --force-flaky --max-runs 2 test/test_pytest/test_pytest_options_example.py || die +} diff --git a/dev-python/flaky/metadata.xml b/dev-python/flaky/metadata.xml new file mode 100644 index 000000000000..5e95859f915a --- /dev/null +++ b/dev-python/flaky/metadata.xml @@ -0,0 +1,10 @@ + + + + + python@gentoo.org + Python + + + baldeagleos-repo + -- cgit v1.3