gnu: python-pygit2: Update to 0.27.4.

* gnu/packages/python-xyz.scm (python-pygit2): Update to 0.27.4.
(python-pygit2)[arguments]: Disable tests.
This commit is contained in:
Julien Lepiller 2019-03-12 18:50:59 +01:00
parent 7458ceaca8
commit 2ffec22eeb
No known key found for this signature in database
GPG Key ID: 43111F4520086A0C
1 changed files with 4 additions and 11 deletions

View File

@ -3220,26 +3220,19 @@ color scales, and color space conversion easy. It has support for:
(define-public python-pygit2 (define-public python-pygit2
(package (package
(name "python-pygit2") (name "python-pygit2")
(version "0.27.3") (version "0.27.4")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "pygit2" version)) (uri (pypi-uri "pygit2" version))
(sha256 (sha256
(base32 (base32
"046ahvsb7a20sgvscqfm3cb32sp3sii4gim9vz7zzrkf7yz16xlv")))) "15c1mhwwjc7nr8hn5gm21hcfhw61jmwb0vngpjhlm3y5565wg2pz"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
'(#:phases '(#:tests? #f; tests don't run correctly in our environment
#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
;; Remove after the next update. See:
;; https://github.com/libgit2/pygit2/pull/851
(add-after 'unpack 'compile-with-cffi
(lambda _
(substitute* "setup.py"
(("install_requires")
"setup_requires=['cffi'],\n install_requires"))
#t))
(add-after 'unpack 'fix-dependency-versioning (add-after 'unpack 'fix-dependency-versioning
(lambda _ (lambda _
(substitute* "setup.py" (substitute* "setup.py"