commit: 82a093dc4e0dee40e404c7b88ca44f3e2ddc6919
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 3 17:02:14 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jun 3 17:27:55 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82a093dc
dev-python/jedi: Port to py39
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/jedi/jedi-0.17.0.ebuild | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/dev-python/jedi/jedi-0.17.0.ebuild
b/dev-python/jedi/jedi-0.17.0.ebuild
index f8b98b2a657..e8e830ee68e 100644
--- a/dev-python/jedi/jedi-0.17.0.ebuild
+++ b/dev-python/jedi/jedi-0.17.0.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6..9} )
inherit distutils-r1
@@ -55,9 +55,12 @@ python_prepare_all() {
sed -e '/with sqlite3\.connect/,+2d' \
-i test/completion/stdlib.py || die
- # really silly assumptions, not fit for py3.8
- sed -e '/len(difference)/s:20:22:' \
+ # really silly assumptions, not fit for py3.8/3.9
+ sed -e '/len(difference)/s:20:27:' \
-i test/test_utils.py || die
+ # py3.9
+ sed -e 's:test_infer_on_generator:_&:' \
+ -i test/test_api/test_api.py || die
# tests relying on pristine virtualenv
# this relies on test* not matching anything else