dev-python/defcon: Fix tests
authorPacho Ramos <pacho@gentoo.org>
Wed, 6 May 2020 18:43:01 +0000 (20:43 +0200)
committerPacho Ramos <pacho@gentoo.org>
Wed, 6 May 2020 18:46:16 +0000 (20:46 +0200)
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 <pacho@gentoo.org>
dev-python/defcon/defcon-0.6.0-r1.ebuild

index 9d7deff618ea62d5dba5a79ac20a4dceb19452d7..b982a24e82b28d649c950b00aa3275f7a212e396 100644 (file)
@@ -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