diff options
author | David Seifert <soap@gentoo.org> | 2019-12-30 01:48:31 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-12-30 13:58:45 +0100 |
commit | 10b6d4d0e8be442b78ab23ffc711a9c59724a516 (patch) | |
tree | eddd8e811b012b2770ceae44e09314a8cf824943 /dev-python | |
parent | dev-db/redis: amd64 stable wrt bug #698436 (diff) | |
download | gentoo-10b6d4d0e8be442b78ab23ffc711a9c59724a516.tar.gz gentoo-10b6d4d0e8be442b78ab23ffc711a9c59724a516.tar.bz2 gentoo-10b6d4d0e8be442b78ab23ffc711a9c59724a516.zip |
dev-python/pytest-mock: Use python_gen_cond_dep
Package-Manager: Portage-2.3.83, Repoman-2.3.20
Signed-off-by: David Seifert <soap@gentoo.org>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pytest-mock/pytest-mock-1.6.0.ebuild | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/dev-python/pytest-mock/pytest-mock-1.6.0.ebuild b/dev-python/pytest-mock/pytest-mock-1.6.0.ebuild index 7ae62ae1e4d8..ba1f483cb088 100644 --- a/dev-python/pytest-mock/pytest-mock-1.6.0.ebuild +++ b/dev-python/pytest-mock/pytest-mock-1.6.0.ebuild @@ -15,13 +15,9 @@ SLOT="0" KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc64 x86" IUSE="" -RDEPEND="dev-python/pytest[${PYTHON_USEDEP}] - python_targets_python2_7? ( - >=dev-python/mock-2[python_targets_python2_7] - ) - python_targets_pypy? ( - >=dev-python/mock-2[python_targets_pypy] - )" +RDEPEND=" + dev-python/pytest[${PYTHON_USEDEP}] + $(python_gen_cond_dep '>=dev-python/mock-2[${PYTHON_USEDEP}]' -2)" DEPEND="${RDEPEND} dev-python/setuptools[${PYTHON_USEDEP}] dev-python/setuptools_scm[${PYTHON_USEDEP}]" |