summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2022-04-30 19:41:40 +0200
committerSebastian Pipping <sping@gentoo.org>2022-04-30 19:42:06 +0200
commitfe7d7d4531666fff3c9052748a983966352adfa2 (patch)
treebd7f182a707b0cc5b17d7a7a54cd281bc71c40a3 /dev-python/ansi2html
parentdev-python/django-debug-toolbar: Bump to 3.3 (diff)
downloadgentoo-fe7d7d4531666fff3c9052748a983966352adfa2.tar.gz
gentoo-fe7d7d4531666fff3c9052748a983966352adfa2.tar.bz2
gentoo-fe7d7d4531666fff3c9052748a983966352adfa2.zip
dev-python/ansi2html: Fix USE=doc compilation
Closes: https://bugs.gentoo.org/840155 Signed-off-by: Sebastian Pipping <sping@gentoo.org> Package-Manager: Portage-3.0.30, Repoman-3.0.3
Diffstat (limited to 'dev-python/ansi2html')
-rw-r--r--dev-python/ansi2html/ansi2html-1.7.0.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/dev-python/ansi2html/ansi2html-1.7.0.ebuild b/dev-python/ansi2html/ansi2html-1.7.0.ebuild
index ca696089677e..64ae09c0f98d 100644
--- a/dev-python/ansi2html/ansi2html-1.7.0.ebuild
+++ b/dev-python/ansi2html/ansi2html-1.7.0.ebuild
@@ -32,6 +32,13 @@ BDEPEND="
distutils_enable_tests --install pytest
+src_prepare() {
+ # Workaround man page compilation issue with removed setup.py file
+ # https://bugs.gentoo.org/841134
+ echo '.PHONY: setup.py' >> Makefile
+ eapply_user
+}
+
python_install_all() {
use doc && doman man/${PN}.1
distutils-r1_python_install_all
@@ -39,6 +46,6 @@ python_install_all() {
src_compile() {
# Upstream https://github.com/pycontribs/ansi2html/issues/124
- use doc && emake man/ansi2html.1
+ use doc && emake _MANUAL_VERSION="${PV}" man/ansi2html.1
distutils-r1_src_compile
}