summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/responses')
-rw-r--r--dev-python/responses/responses-0.23.1-r1.ebuild (renamed from dev-python/responses/responses-0.23.1.ebuild)6
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-python/responses/responses-0.23.1.ebuild b/dev-python/responses/responses-0.23.1-r1.ebuild
index 1d8148d6f43d..92619e6c5b64 100644
--- a/dev-python/responses/responses-0.23.1.ebuild
+++ b/dev-python/responses/responses-0.23.1-r1.ebuild
@@ -43,6 +43,12 @@ BDEPEND="
distutils_enable_tests pytest
+src_prepare() {
+ # remove unnecessary RDEP on type stubs
+ sed -i -e '/types-/d' setup.py || die
+ distutils-r1_src_prepare
+}
+
python_test() {
epytest -p no:localserver
}