summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-12-16 15:01:24 +0100
committerMichał Górny <mgorny@gentoo.org>2019-12-16 15:37:37 +0100
commit3cbeae8034b158a204e03cb65538215ea9a67eef (patch)
treeaff34704832dbf312a69209befdd36ecbe6d7c39 /dev-python/pytidylib
parentdev-python/pytidylib: Set DISTUTILS_USE_SETUPTOOLS (diff)
downloadgentoo-3cbeae8034b158a204e03cb65538215ea9a67eef.tar.gz
gentoo-3cbeae8034b158a204e03cb65538215ea9a67eef.tar.bz2
gentoo-3cbeae8034b158a204e03cb65538215ea9a67eef.zip
dev-python/pytidylib: Use distutils_enable_tests
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pytidylib')
-rw-r--r--dev-python/pytidylib/pytidylib-0.3.2.ebuild9
1 files changed, 2 insertions, 7 deletions
diff --git a/dev-python/pytidylib/pytidylib-0.3.2.ebuild b/dev-python/pytidylib/pytidylib-0.3.2.ebuild
index 2a0933e518b0..a46098e9a0a6 100644
--- a/dev-python/pytidylib/pytidylib-0.3.2.ebuild
+++ b/dev-python/pytidylib/pytidylib-0.3.2.ebuild
@@ -15,13 +15,8 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
SLOT="0"
LICENSE="MIT"
KEYWORDS="~alpha amd64 ~arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
RDEPEND="app-text/htmltidy"
-DEPEND="${RDEPEND}
- test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+DEPEND=${RDEPEND}
-python_test() {
- pytest -vv || die
-}
+distutils_enable_tests pytest