summaryrefslogtreecommitdiff
path: root/dev-python/ansi2html
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/ansi2html')
-rw-r--r--dev-python/ansi2html/ansi2html-1.6.0.ebuild11
1 files changed, 2 insertions, 9 deletions
diff --git a/dev-python/ansi2html/ansi2html-1.6.0.ebuild b/dev-python/ansi2html/ansi2html-1.6.0.ebuild
index 675894198003..016d744cab55 100644
--- a/dev-python/ansi2html/ansi2html-1.6.0.ebuild
+++ b/dev-python/ansi2html/ansi2html-1.6.0.ebuild
@@ -1,11 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8,9,10} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
inherit distutils-r1
DESCRIPTION="Convert text with ANSI color codes to HTML"
@@ -31,18 +29,13 @@ BDEPEND="
)
"
-distutils_enable_tests pytest # for BDEPEND
+distutils_enable_tests --install pytest
python_install_all() {
use doc && doman man/${PN}.1
distutils-r1_python_install_all
}
-python_test() {
- distutils_install_for_testing
- pytest -vv || die "Tests fail with ${EPYTHON}"
-}
-
src_compile() {
# Upstream https://github.com/pycontribs/ansi2html/issues/124
use doc && emake man/ansi2html.1