commit: 6f0d73068a9eda3c8764ae162c230fa803d310c7 Author: Aaron Bauman <bman <AT> gentoo <DOT> org> AuthorDate: Sun Nov 24 19:31:18 2019 +0000 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> CommitDate: Sun Nov 24 19:31:58 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f0d7306
dev-python/fs: move tests to BDEPEND and use python_gen_cond_dep Signed-off-by: Aaron Bauman <bman <AT> gentoo.org> dev-python/fs/fs-2.4.9.ebuild | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/dev-python/fs/fs-2.4.9.ebuild b/dev-python/fs/fs-2.4.9.ebuild index bf26e5723f5..baa94596f22 100644 --- a/dev-python/fs/fs-2.4.9.ebuild +++ b/dev-python/fs/fs-2.4.9.ebuild @@ -26,15 +26,16 @@ RDEPEND=" >=dev-python/six-1.10[${PYTHON_USEDEP}] " DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( + dev-python/setuptools[${PYTHON_USEDEP}]" +BDEPEND="test? ( + $(python_gen_cond_dep ' dev-python/nose[${PYTHON_USEDEP}] dev-python/mock[${PYTHON_USEDEP}] dev-python/pyftpdlib[${PYTHON_USEDEP}] dev-python/psutil[${PYTHON_USEDEP}] dev-python/unittest2[${PYTHON_USEDEP}] - ) -" + ' -3) +)" python_test() { # python2_7 tests require dev-python/typing which is