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/webob/
Date: Tue, 26 May 2020 18:32:14
Message-Id: 1590517915.f684468bfae3ba58cb19f7a7be73837066d3f028.mgorny@gentoo
1 commit: f684468bfae3ba58cb19f7a7be73837066d3f028
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 26 18:29:00 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue May 26 18:31:55 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f684468b
7
8 dev-python/webob: Port to py39
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/webob/webob-1.8.6.ebuild | 8 +++++++-
13 1 file changed, 7 insertions(+), 1 deletion(-)
14
15 diff --git a/dev-python/webob/webob-1.8.6.ebuild b/dev-python/webob/webob-1.8.6.ebuild
16 index fb89754dfce..0be6b5b7041 100644
17 --- a/dev-python/webob/webob-1.8.6.ebuild
18 +++ b/dev-python/webob/webob-1.8.6.ebuild
19 @@ -3,7 +3,7 @@
20
21 EAPI=7
22
23 -PYTHON_COMPAT=( pypy3 python{2_7,3_{6,7,8}} )
24 +PYTHON_COMPAT=( pypy3 python{2_7,3_{6,7,8,9}} )
25
26 inherit distutils-r1
27
28 @@ -21,3 +21,9 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~a
29
30 distutils_enable_sphinx docs 'dev-python/alabaster'
31 distutils_enable_tests pytest
32 +
33 +src_prepare() {
34 + # py3.9
35 + sed -i -e 's:isAlive:is_alive:' tests/conftest.py || die
36 + distutils-r1_src_prepare
37 +}