commit:     44df4da7ca543c13dd745610fbaf99d31366b86b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 10 19:04:03 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jun 10 19:13:54 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44df4da7

dev-python/responses: Port to py3.9

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 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 fc75493f178..6010ef70932 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
+}

Reply via email to