Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/flaky/
Date: Fri, 03 Mar 2023 17:48:14
Message-Id: 1677865677.77fcaca5203c33384a14def5cb37d6c6d9b2f7a8.mgorny@gentoo
1 commit: 77fcaca5203c33384a14def5cb37d6c6d9b2f7a8
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Mar 3 17:42:22 2023 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 3 17:47:57 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77fcaca5
7
8 dev-python/flaky: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/flaky/flaky-3.7.0-r2.ebuild | 42 ----------------------------------
13 1 file changed, 42 deletions(-)
14
15 diff --git a/dev-python/flaky/flaky-3.7.0-r2.ebuild b/dev-python/flaky/flaky-3.7.0-r2.ebuild
16 deleted file mode 100644
17 index 789abd7f41c5..000000000000
18 --- a/dev-python/flaky/flaky-3.7.0-r2.ebuild
19 +++ /dev/null
20 @@ -1,42 +0,0 @@
21 -# Copyright 1999-2023 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=8
25 -
26 -DISTUTILS_USE_PEP517=setuptools
27 -PYTHON_COMPAT=( python3_{9..11} pypy3 )
28 -
29 -inherit distutils-r1
30 -
31 -DESCRIPTION="Plugin for nose or py.test that automatically reruns flaky tests"
32 -HOMEPAGE="https://pypi.org/project/flaky/ https://github.com/box/flaky"
33 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
34 -
35 -SLOT="0"
36 -LICENSE="Apache-2.0"
37 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
38 -IUSE="test"
39 -RESTRICT="!test? ( test )"
40 -
41 -DEPEND="
42 - test? (
43 - dev-python/genty[${PYTHON_USEDEP}]
44 - dev-python/mock[${PYTHON_USEDEP}]
45 - dev-python/pytest[${PYTHON_USEDEP}]
46 - $(python_gen_cond_dep '
47 - dev-python/nose[${PYTHON_USEDEP}]
48 - ' python3_{8..10} pypy3)
49 - )
50 -"
51 -
52 -python_test() {
53 - epytest -k 'example and not options' --doctest-modules test/test_pytest/ || die
54 - epytest -p no:flaky test/test_pytest/test_flaky_pytest_plugin.py || die
55 - epytest --force-flaky --max-runs 2 test/test_pytest/test_pytest_options_example.py || die
56 -
57 - # please keep this in sync with python_gen_cond_dep!
58 - if has "${EPYTHON}" python3_{8..10} pypy3; then
59 - "${EPYTHON}" -m nose --with-flaky --exclude="test_nose_options_example" test/test_nose/ || die
60 - "${EPYTHON}" -m nose --with-flaky --force-flaky --max-runs 2 test/test_nose/test_nose_options_example.py || die
61 - fi
62 -}