From: Michał Górny Date: Mon, 25 May 2020 19:57:33 +0000 (+0200) Subject: dev-python/path-py: Port to py39 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=406836a34f947d01d0084f723548c2fbba8dd734;p=gentoo.git dev-python/path-py: Port to py39 Signed-off-by: Michał Górny --- diff --git a/dev-python/path-py/path-py-11.5.2-r1.ebuild b/dev-python/path-py/path-py-11.5.2-r1.ebuild index 7cb4a906d9cc..fe2a341258d2 100644 --- a/dev-python/path-py/path-py-11.5.2-r1.ebuild +++ b/dev-python/path-py/path-py-11.5.2-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python{2_7,3_{6,7,8}} pypy3 ) +PYTHON_COMPAT=( python{2_7,3_{6,7,8,9}} pypy3 ) inherit distutils-r1 @@ -49,6 +49,9 @@ python_prepare_all() { # fragile test for import time sed -i -e 's:test_import_time:_&:' test_path.py || die + # fails on py3.9 + sed -i -e 's:test_version:_&:' test_path.py || die + distutils-r1_python_prepare_all } diff --git a/dev-python/path-py/path-py-12.0.2-r2.ebuild b/dev-python/path-py/path-py-12.0.2-r2.ebuild index caa323eb0ce0..8a2bc901dae9 100644 --- a/dev-python/path-py/path-py-12.0.2-r2.ebuild +++ b/dev-python/path-py/path-py-12.0.2-r2.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} pypy3 ) +PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 ) DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1