summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2021-09-11 09:55:01 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2021-09-11 09:55:41 +0300
commit869f3c75e28a04d83b1cafe34966c395616d90fd (patch)
tree9a9acd159bc1223af1e766f4eca600f0c9b16e1b /dev-python
parentdev-python/botocore: Remove old (diff)
downloadgentoo-869f3c75e28a04d83b1cafe34966c395616d90fd.tar.gz
gentoo-869f3c75e28a04d83b1cafe34966c395616d90fd.tar.bz2
gentoo-869f3c75e28a04d83b1cafe34966c395616d90fd.zip
dev-python/simpleeval: fix use_2to3
Closes: https://bugs.gentoo.org/812215 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/simpleeval/simpleeval-0.9.10.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-python/simpleeval/simpleeval-0.9.10.ebuild b/dev-python/simpleeval/simpleeval-0.9.10.ebuild
index 5bf3e2d9b30..8fd4af7f03e 100644
--- a/dev-python/simpleeval/simpleeval-0.9.10.ebuild
+++ b/dev-python/simpleeval/simpleeval-0.9.10.ebuild
@@ -15,3 +15,8 @@ SLOT="0"
KEYWORDS="amd64 x86"
distutils_enable_tests setup.py
+
+src_prepare() {
+ sed -e '/use_2to3/d' -i setup.py || die
+ distutils-r1_src_prepare
+}