diff options
author | Brian Evans <grknight@gentoo.org> | 2020-07-08 08:27:22 -0400 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2020-07-08 08:27:22 -0400 |
commit | cf42ea1693290435d4ab696d562ef3fda555e476 (patch) | |
tree | 0ae55e4773bedeca854e53a166730c895c16b586 /dev-db | |
parent | dev-libs/nettle: Stabilize 3.6-r2 amd64, #730736 (diff) | |
download | gentoo-cf42ea1693290435d4ab696d562ef3fda555e476.tar.gz gentoo-cf42ea1693290435d4ab696d562ef3fda555e476.tar.bz2 gentoo-cf42ea1693290435d4ab696d562ef3fda555e476.zip |
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@gentoo.org>
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/mycli/mycli-1.21.1-r1.ebuild | 3 |
1 files changed, 1 insertions, 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 87d1424f6628..042db5617483 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() { |