summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-06-10 21:04:03 +0200
committerMichał Górny <mgorny@gentoo.org>2020-06-10 21:13:54 +0200
commit44df4da7ca543c13dd745610fbaf99d31366b86b (patch)
tree3363099ffe2a3ccff7d8247d23a57c9cdd6059fb /dev-python/responses
parentmedia-libs/mesa: Version bump to 20.1.1 (diff)
downloadgentoo-44df4da7ca543c13dd745610fbaf99d31366b86b.tar.gz
gentoo-44df4da7ca543c13dd745610fbaf99d31366b86b.tar.bz2
gentoo-44df4da7ca543c13dd745610fbaf99d31366b86b.zip
dev-python/responses: Port to py3.9
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/responses')
-rw-r--r--dev-python/responses/responses-0.10.14.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/dev-python/responses/responses-0.10.14.ebuild b/dev-python/responses/responses-0.10.14.ebuild
index fc75493f1787..6010ef70932e 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
+}