commit: cf42ea1693290435d4ab696d562ef3fda555e476 Author: Brian Evans <grknight <AT> gentoo <DOT> org> AuthorDate: Wed Jul 8 12:27:22 2020 +0000 Commit: Brian Evans <grknight <AT> gentoo <DOT> org> CommitDate: Wed Jul 8 12:27:22 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf42ea16
dev-db/mycli: Reorder python enable tests command Enables pytest to be correctly added to BDEPEND Closes: https://bugs.gentoo.org/731718 Signed-off-by: Brian Evans <grknight <AT> gentoo.org> dev-db/mycli/mycli-1.21.1-r1.ebuild | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dev-db/mycli/mycli-1.21.1-r1.ebuild b/dev-db/mycli/mycli-1.21.1-r1.ebuild index 87d1424f662..042db561748 100644 --- a/dev-db/mycli/mycli-1.21.1-r1.ebuild +++ b/dev-db/mycli/mycli-1.21.1-r1.ebuild @@ -31,11 +31,10 @@ RDEPEND="$(python_gen_cond_dep ' ssh? ( dev-python/paramiko[${PYTHON_MULTI_USEDEP}] )') " DEPEND="${RDEPEND}" +BDEPEND="test? ( $(python_gen_cond_dep 'dev-python/mock[${PYTHON_MULTI_USEDEP}]') )" distutils_enable_tests pytest -BDEPEND="test? ( $(python_gen_cond_dep 'dev-python/mock[${PYTHON_MULTI_USEDEP}]') )" - PATCHES=( "${FILESDIR}/mycli-1.21.1-fix-test-install.patch" ) python_test() {
