Skip to content

Commit

Permalink
dev-db/mycli: Reorder python enable tests command
Browse files Browse the repository at this point in the history
Enables pytest to be correctly added to BDEPEND

Closes: https://bugs.gentoo.org/731718
Signed-off-by: Brian Evans <[email protected]>
  • Loading branch information
Brian Evans committed Jul 8, 2020
1 parent 7228b0b commit cf42ea1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dev-db/mycli/mycli-1.21.1-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit cf42ea1

Please sign in to comment.