1 |
commit: 612cd2e6fa190ff3a3e0d6f5bd281f91c1adf7db |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 3 21:23:55 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 14 23:21:31 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=612cd2e6 |
7 |
|
8 |
dev-python/sphinx-jinja: Drop superfluous calls to python_is_python3 |
9 |
|
10 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
11 |
|
12 |
dev-python/sphinx-jinja/sphinx-jinja-0.3.0.ebuild | 5 ++--- |
13 |
1 file changed, 2 insertions(+), 3 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/sphinx-jinja/sphinx-jinja-0.3.0.ebuild b/dev-python/sphinx-jinja/sphinx-jinja-0.3.0.ebuild |
16 |
index bc90a9dd204..45fa7d86089 100644 |
17 |
--- a/dev-python/sphinx-jinja/sphinx-jinja-0.3.0.ebuild |
18 |
+++ b/dev-python/sphinx-jinja/sphinx-jinja-0.3.0.ebuild |
19 |
@@ -26,9 +26,8 @@ DEPEND="${RDEPEND} |
20 |
dev-python/sphinx-testing[${PYTHON_USEDEP}] )" |
21 |
|
22 |
python_prepare() { |
23 |
- if python_is_python3; then |
24 |
- sed -i -e "s/import urllib/import urllib.request as urllib/" sphinxcontrib/jinja.py || die |
25 |
- fi |
26 |
+ sed -e "s/import urllib/import urllib.request as urllib/" \ |
27 |
+ -i sphinxcontrib/jinja.py || die |
28 |
} |
29 |
|
30 |
python_test() { |