summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2021-10-30 18:18:53 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2021-10-30 18:37:26 +0300
commit72aff8c5c9ac53ceec2519e7d037af9191c0043b (patch)
tree656bcc69fcd1138268c5dd83a41e4e1add9e9372 /dev-python/urwid
parentdev-perl/Gentoo-PerlMod-Version: EAPI=8 bump (diff)
downloadgentoo-72aff8c5c9ac53ceec2519e7d037af9191c0043b.tar.gz
gentoo-72aff8c5c9ac53ceec2519e7d037af9191c0043b.tar.bz2
gentoo-72aff8c5c9ac53ceec2519e7d037af9191c0043b.zip
dev-python/urwid: fix docs generation
Don't use removed deprecated defindex.html template Closes: https://bugs.gentoo.org/776001 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/urwid')
-rw-r--r--dev-python/urwid/urwid-2.1.1.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-python/urwid/urwid-2.1.1.ebuild b/dev-python/urwid/urwid-2.1.1.ebuild
index 3e3ae45a9620..b8cb039ea982 100644
--- a/dev-python/urwid/urwid-2.1.1.ebuild
+++ b/dev-python/urwid/urwid-2.1.1.ebuild
@@ -28,6 +28,10 @@ src_prepare() {
# optional tests broken by modern tornado versions
sed -e 's:import tornado:&_broken:' \
-i urwid/tests/test_event_loops.py || die
+
+ # Fix doc generation
+ sed -e 's/!defindex/layout/' -i docs/tools/templates/indexcontent.html || die
+
distutils-r1_src_prepare
}