commit:     165f74d1e6762968cbedc0385cedb6ab75591f57
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 18 12:52:17 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jul 18 12:54:35 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=165f74d1

dev-python/PyGithub: Disable a test requiring network access

 dev-python/PyGithub/PyGithub-1.40_alpha4.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/dev-python/PyGithub/PyGithub-1.40_alpha4.ebuild 
b/dev-python/PyGithub/PyGithub-1.40_alpha4.ebuild
index e44864c83d7..eadab26e792 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
 }

Reply via email to