From 714d3a1802c59e91297223ee20daeb519c12d476 Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Wed, 6 May 2020 20:43:01 +0200 Subject: [PATCH] dev-python/defcon: Fix tests Thanks-to: Thomas Deutschmann Closes: https://bugs.gentoo.org/721156 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Pacho Ramos --- dev-python/defcon/defcon-0.6.0-r1.ebuild | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/dev-python/defcon/defcon-0.6.0-r1.ebuild b/dev-python/defcon/defcon-0.6.0-r1.ebuild index 9d7deff618ea..b982a24e82b2 100644 --- a/dev-python/defcon/defcon-0.6.0-r1.ebuild +++ b/dev-python/defcon/defcon-0.6.0-r1.ebuild @@ -17,8 +17,12 @@ IUSE="" RDEPEND=">=dev-python/fonttools-3.31.0[${PYTHON_USEDEP}]" DEPEND="${RDEPEND}" -BDEPEND="" +BDEPEND=" + test? ( + dev-python/fonttools[${PYTHON_USEDEP}] + dev-python/fs[${PYTHON_USEDEP}] + dev-python/pytest-runner[${PYTHON_USEDEP}] + ) +" -python_test() { - esetup.py test -} +distutils_enable_tests pytest -- 2.26.2