summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-05-26 20:29:00 +0200
committerMichał Górny <mgorny@gentoo.org>2020-05-26 20:31:55 +0200
commitf684468bfae3ba58cb19f7a7be73837066d3f028 (patch)
treedfcee7351267c2805eb64f2769fce2578620bd57 /dev-python/webob
parentdev-python/socketpool: Backport py39 to -r2 (diff)
downloadgentoo-f684468bfae3ba58cb19f7a7be73837066d3f028.tar.gz
gentoo-f684468bfae3ba58cb19f7a7be73837066d3f028.tar.bz2
gentoo-f684468bfae3ba58cb19f7a7be73837066d3f028.zip
dev-python/webob: Port to py39
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/webob')
-rw-r--r--dev-python/webob/webob-1.8.6.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-python/webob/webob-1.8.6.ebuild b/dev-python/webob/webob-1.8.6.ebuild
index fb89754dfce0..0be6b5b7041f 100644
--- a/dev-python/webob/webob-1.8.6.ebuild
+++ b/dev-python/webob/webob-1.8.6.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( pypy3 python{2_7,3_{6,7,8}} )
+PYTHON_COMPAT=( pypy3 python{2_7,3_{6,7,8,9}} )
inherit distutils-r1
@@ -21,3 +21,9 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~a
distutils_enable_sphinx docs 'dev-python/alabaster'
distutils_enable_tests pytest
+
+src_prepare() {
+ # py3.9
+ sed -i -e 's:isAlive:is_alive:' tests/conftest.py || die
+ distutils-r1_src_prepare
+}