gnu: python-pygit2: Update to 1.9.2 and enable tests.
* gnu/packages/python-xyz.scm (python-pygit2): Update to 1.9.2. [tests?]: Delete argument. [phases]{check}: New phase override. [description]: Fix sentence.
This commit is contained in:
parent
5125d005ed
commit
e3d2650726
|
@ -5662,24 +5662,27 @@ (define-public python-pyspnego
|
||||||
(define-public python-pygit2
|
(define-public python-pygit2
|
||||||
(package
|
(package
|
||||||
(name "python-pygit2")
|
(name "python-pygit2")
|
||||||
(version "1.9.1")
|
(version "1.9.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "pygit2" version))
|
(uri (pypi-uri "pygit2" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1jdr6z1il03nifwgpcdf95w6xzzbfzdkcqq5dcqjaa0rnv1pjr7g"))))
|
(base32 "068bwhirigbh2435abyv4shdxgxvyfqf4dxfmhd4hihivwrl9290"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:tests? #f)) ; tests don't run correctly in our environment
|
`(#:phases (modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
|
(when tests?
|
||||||
|
(invoke "pytest" "-v")))))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-cached-property python-cffi libgit2))
|
(list python-cached-property python-cffi libgit2))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-pytest))
|
(list python-pytest))
|
||||||
(home-page "https://github.com/libgit2/pygit2")
|
(home-page "https://github.com/libgit2/pygit2")
|
||||||
(synopsis "Python bindings for libgit2")
|
(synopsis "Python bindings for libgit2")
|
||||||
(description "Pygit2 is a set of Python bindings to the libgit2 shared
|
(description "Pygit2 is a set of Python bindings to the libgit2 shared library.")
|
||||||
library, libgit2 implements Git plumbing.")
|
|
||||||
;; GPL2.0 only, with linking exception.
|
;; GPL2.0 only, with linking exception.
|
||||||
(license license:gpl2)))
|
(license license:gpl2)))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue