1 |
commit: 869f3c75e28a04d83b1cafe34966c395616d90fd |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 11 06:55:01 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 11 06:55:41 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=869f3c75 |
7 |
|
8 |
dev-python/simpleeval: fix use_2to3 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/812215 |
11 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
12 |
|
13 |
dev-python/simpleeval/simpleeval-0.9.10.ebuild | 5 +++++ |
14 |
1 file changed, 5 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/simpleeval/simpleeval-0.9.10.ebuild b/dev-python/simpleeval/simpleeval-0.9.10.ebuild |
17 |
index 5bf3e2d9b30..8fd4af7f03e 100644 |
18 |
--- a/dev-python/simpleeval/simpleeval-0.9.10.ebuild |
19 |
+++ b/dev-python/simpleeval/simpleeval-0.9.10.ebuild |
20 |
@@ -15,3 +15,8 @@ SLOT="0" |
21 |
KEYWORDS="amd64 x86" |
22 |
|
23 |
distutils_enable_tests setup.py |
24 |
+ |
25 |
+src_prepare() { |
26 |
+ sed -e '/use_2to3/d' -i setup.py || die |
27 |
+ distutils-r1_src_prepare |
28 |
+} |