projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf0c6e9
)
dev-python/PyGithub: Disable a test requiring network access
author
Michał Górny
<mgorny@gentoo.org>
Wed, 18 Jul 2018 12:52:17 +0000
(14:52 +0200)
committer
Michał Górny
<mgorny@gentoo.org>
Wed, 18 Jul 2018 12:54:35 +0000
(14:54 +0200)
dev-python/PyGithub/PyGithub-1.40_alpha4.ebuild
patch
|
blob
|
history
diff --git
a/dev-python/PyGithub/PyGithub-1.40_alpha4.ebuild
b/dev-python/PyGithub/PyGithub-1.40_alpha4.ebuild
index e44864c83d71eb75c49ff01e67e352e0c5483989..eadab26e792a5abf808c9857047e7f0eaf95e309 100644
(file)
--- 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
}