summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-08-01 23:46:36 +0200
committerMichał Górny <mgorny@gentoo.org>2020-08-01 23:48:49 +0200
commit6b0fc0c920a47f25af9cb41c020149402b5c1cf6 (patch)
treea935f22cbd033c9dd80355308e9ebe71fad9bda9 /dev-python/pytest-timeout
parentdev-python/bareos: Remove py2.7 (diff)
downloadgentoo-6b0fc0c920a47f25af9cb41c020149402b5c1cf6.tar.gz
gentoo-6b0fc0c920a47f25af9cb41c020149402b5c1cf6.tar.bz2
gentoo-6b0fc0c920a47f25af9cb41c020149402b5c1cf6.zip
dev-python/pytest-timeout: Restrict pytest-cov dep to py3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pytest-timeout')
-rw-r--r--dev-python/pytest-timeout/pytest-timeout-1.4.1-r1.ebuild4
-rw-r--r--dev-python/pytest-timeout/pytest-timeout-1.4.2.ebuild4
2 files changed, 6 insertions, 2 deletions
diff --git a/dev-python/pytest-timeout/pytest-timeout-1.4.1-r1.ebuild b/dev-python/pytest-timeout/pytest-timeout-1.4.1-r1.ebuild
index 516df2f00d54..56fd0feec5d9 100644
--- a/dev-python/pytest-timeout/pytest-timeout-1.4.1-r1.ebuild
+++ b/dev-python/pytest-timeout/pytest-timeout-1.4.1-r1.ebuild
@@ -21,7 +21,9 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~a
BDEPEND="
test? (
dev-python/pexpect[${PYTHON_USEDEP}]
- dev-python/pytest-cov[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/pytest-cov[${PYTHON_USEDEP}]
+ ' -3)
)"
distutils_enable_tests pytest
diff --git a/dev-python/pytest-timeout/pytest-timeout-1.4.2.ebuild b/dev-python/pytest-timeout/pytest-timeout-1.4.2.ebuild
index 516df2f00d54..56fd0feec5d9 100644
--- a/dev-python/pytest-timeout/pytest-timeout-1.4.2.ebuild
+++ b/dev-python/pytest-timeout/pytest-timeout-1.4.2.ebuild
@@ -21,7 +21,9 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~a
BDEPEND="
test? (
dev-python/pexpect[${PYTHON_USEDEP}]
- dev-python/pytest-cov[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/pytest-cov[${PYTHON_USEDEP}]
+ ' -3)
)"
distutils_enable_tests pytest