From 406836a34f947d01d0084f723548c2fbba8dd734 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 25 May 2020 21:57:33 +0200 Subject: [PATCH] dev-python/path-py: Port to py39 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/path-py/path-py-11.5.2-r1.ebuild | 5 ++++- dev-python/path-py/path-py-12.0.2-r2.ebuild | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) 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 -- 2.26.2