summaryrefslogtreecommitdiff
path: root/dev-python/PyGithub
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-07-18 14:52:17 +0200
committerMichał Górny <mgorny@gentoo.org>2018-07-18 14:54:35 +0200
commit165f74d1e6762968cbedc0385cedb6ab75591f57 (patch)
tree1cc6f09fb3a6c045ced57ddbc2d7d08f5e68bee6 /dev-python/PyGithub
parentcf0c6e92fe7172d068571ebdea15d53aeb7b98e7 (diff)
downloadgentoo-165f74d1e6762968cbedc0385cedb6ab75591f57.tar.gz
gentoo-165f74d1e6762968cbedc0385cedb6ab75591f57.tar.bz2
gentoo-165f74d1e6762968cbedc0385cedb6ab75591f57.zip
dev-python/PyGithub: Disable a test requiring network access
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
}