summaryrefslogtreecommitdiff
path: root/dev-python/PyGithub
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/PyGithub')
-rw-r--r--dev-python/PyGithub/PyGithub-1.40_alpha4.ebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/dev-python/PyGithub/PyGithub-1.40_alpha4.ebuild b/dev-python/PyGithub/PyGithub-1.40_alpha4.ebuild
index e44864c83d71..eadab26e792a 100644
--- a/dev-python/PyGithub/PyGithub-1.40_alpha4.ebuild
+++ b/dev-python/PyGithub/PyGithub-1.40_alpha4.ebuild
@@ -25,6 +25,13 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${MY_P}
+python_prepare_all() {
+ # tests requiring network access
+ sed -i -e 's:testDecodeJson:_&:' github/tests/Issue142.py || die
+
+ distutils-r1_python_prepare_all
+}
+
python_test() {
esetup.py test
}