From 44df4da7ca543c13dd745610fbaf99d31366b86b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 10 Jun 2020 21:04:03 +0200 Subject: [PATCH] dev-python/responses: Port to py3.9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/responses/responses-0.10.14.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dev-python/responses/responses-0.10.14.ebuild b/dev-python/responses/responses-0.10.14.ebuild index fc75493f1787c..6010ef70932ed 100644 --- a/dev-python/responses/responses-0.10.14.ebuild +++ b/dev-python/responses/responses-0.10.14.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} pypy3 ) +PYTHON_COMPAT=( python3_{6..9} pypy3 ) inherit distutils-r1 @@ -33,3 +33,10 @@ PATCHES=( ) distutils_enable_tests pytest + +src_prepare() { + # py3.9, doesn't look important + sed -e 's:test_arbitrary_status_code:_&:' \ + -i test_responses.py || die + distutils-r1_src_prepare +}