1 |
commit: 72aff8c5c9ac53ceec2519e7d037af9191c0043b |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 30 15:18:53 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 30 15:37:26 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72aff8c5 |
7 |
|
8 |
dev-python/urwid: fix docs generation |
9 |
|
10 |
Don't use removed deprecated defindex.html template |
11 |
|
12 |
Closes: https://bugs.gentoo.org/776001 |
13 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
14 |
|
15 |
dev-python/urwid/urwid-2.1.1.ebuild | 4 ++++ |
16 |
1 file changed, 4 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/urwid/urwid-2.1.1.ebuild b/dev-python/urwid/urwid-2.1.1.ebuild |
19 |
index 3e3ae45a962..b8cb039ea98 100644 |
20 |
--- a/dev-python/urwid/urwid-2.1.1.ebuild |
21 |
+++ b/dev-python/urwid/urwid-2.1.1.ebuild |
22 |
@@ -28,6 +28,10 @@ src_prepare() { |
23 |
# optional tests broken by modern tornado versions |
24 |
sed -e 's:import tornado:&_broken:' \ |
25 |
-i urwid/tests/test_event_loops.py || die |
26 |
+ |
27 |
+ # Fix doc generation |
28 |
+ sed -e 's/!defindex/layout/' -i docs/tools/templates/indexcontent.html || die |
29 |
+ |
30 |
distutils-r1_src_prepare |
31 |
} |