gnu: python-pygit2: Skip tests requiring network access.

* gnu/packages/python.scm (python-pygit2, python2-pygit2)[source](patches):
New field.
* gnu/packages/patches/python-pygit2-disable-network-tests.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
This commit is contained in:
Marius Bakke 2017-02-14 00:01:59 +01:00
parent 97b62eb0bf
commit bb6043fe9f
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA
3 changed files with 68 additions and 1 deletions

View file

@ -3580,7 +3580,9 @@ association studies (GWAS) on extremely large data sets.")
(uri (pypi-uri "pygit2" version))
(sha256
(base32
"0wf5rp0fvrw7j3j18dvwjq6xqlbm611wd55aphrfpps0v1gxh3ny"))))
"0wf5rp0fvrw7j3j18dvwjq6xqlbm611wd55aphrfpps0v1gxh3ny"))
(patches
(search-patches "python-pygit2-disable-network-tests.patch"))))
(build-system python-build-system)
(propagated-inputs
`(("python-six" ,python-six)