summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-03-05 06:08:02 +0100
committerMichał Górny <mgorny@gentoo.org>2024-03-05 06:18:30 +0100
commitec569d662318deee91a52d4fdc4238f4157d6c99 (patch)
treea4d75060b8f042bf8785affd948a7dbfd60f0320 /dev-python/flaky
parentdev-python/nbconvert: Bump to 7.16.2 (diff)
downloadgentoo-ec569d662318deee91a52d4fdc4238f4157d6c99.tar.gz
gentoo-ec569d662318deee91a52d4fdc4238f4157d6c99.tar.bz2
gentoo-ec569d662318deee91a52d4fdc4238f4157d6c99.zip
dev-python/flaky: Require <dev-python/pytest-8.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/flaky')
-rw-r--r--dev-python/flaky/flaky-3.7.0-r5.ebuild (renamed from dev-python/flaky/flaky-3.7.0-r4.ebuild)11
1 files changed, 8 insertions, 3 deletions
diff --git a/dev-python/flaky/flaky-3.7.0-r4.ebuild b/dev-python/flaky/flaky-3.7.0-r5.ebuild
index 31706c8905b4..155976a6db4c 100644
--- a/dev-python/flaky/flaky-3.7.0-r4.ebuild
+++ b/dev-python/flaky/flaky-3.7.0-r5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -14,13 +14,17 @@ HOMEPAGE="
https://pypi.org/project/flaky/
"
-SLOT="0"
LICENSE="Apache-2.0"
+SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
IUSE="test"
RESTRICT="!test? ( test )"
-DEPEND="
+# https://github.com/box/flaky/issues/198
+RDEPEND="
+ <dev-python/pytest-8.1[${PYTHON_USEDEP}]
+"
+BDEPEND="
test? (
dev-python/genty[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
@@ -29,6 +33,7 @@ DEPEND="
"
src_prepare() {
+ # (removed upstream)
rm flaky/flaky_nose_plugin.py || die
sed -i -e '/flaky_nose_plugin/d' setup.py || die
distutils-r1_src_prepare