Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jedi/
Date: Wed, 03 Jun 2020 17:28:03
Message-Id: 1591205275.82a093dc4e0dee40e404c7b88ca44f3e2ddc6919.mgorny@gentoo
1 commit: 82a093dc4e0dee40e404c7b88ca44f3e2ddc6919
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 3 17:02:14 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 3 17:27:55 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82a093dc
7
8 dev-python/jedi: Port to py39
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/jedi/jedi-0.17.0.ebuild | 9 ++++++---
13 1 file changed, 6 insertions(+), 3 deletions(-)
14
15 diff --git a/dev-python/jedi/jedi-0.17.0.ebuild b/dev-python/jedi/jedi-0.17.0.ebuild
16 index f8b98b2a657..e8e830ee68e 100644
17 --- a/dev-python/jedi/jedi-0.17.0.ebuild
18 +++ b/dev-python/jedi/jedi-0.17.0.ebuild
19 @@ -3,7 +3,7 @@
20
21 EAPI=7
22
23 -PYTHON_COMPAT=( python3_{6,7,8} )
24 +PYTHON_COMPAT=( python3_{6..9} )
25
26 inherit distutils-r1
27
28 @@ -55,9 +55,12 @@ python_prepare_all() {
29 sed -e '/with sqlite3\.connect/,+2d' \
30 -i test/completion/stdlib.py || die
31
32 - # really silly assumptions, not fit for py3.8
33 - sed -e '/len(difference)/s:20:22:' \
34 + # really silly assumptions, not fit for py3.8/3.9
35 + sed -e '/len(difference)/s:20:27:' \
36 -i test/test_utils.py || die
37 + # py3.9
38 + sed -e 's:test_infer_on_generator:_&:' \
39 + -i test/test_api/test_api.py || die
40
41 # tests relying on pristine virtualenv
42 # this relies on test* not matching anything else