mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-18 20:57:12 -05:00
gnu: python-dulwich: Update to 0.20.30.
* gnu/packages/python-xyz.scm (python-dulwich): Update to 0.20.30. [arguments]: Remove workaround. Patch one more file. [native-inputs]: Add GNUPG and PYTHON-GPG.
This commit is contained in:
parent
38fdd118d0
commit
5122848d5b
1 changed files with 8 additions and 13 deletions
|
@ -17989,7 +17989,7 @@ (define-public python2-cheetah
|
|||
(define-public python-dulwich
|
||||
(package
|
||||
(name "python-dulwich")
|
||||
(version "0.19.16")
|
||||
(version "0.20.30")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
|
@ -17998,29 +17998,24 @@ (define-public python-dulwich
|
|||
(pypi-uri "dulwich" version)))
|
||||
(sha256
|
||||
(base32
|
||||
"0l589jl0lxx59yq0p6vmgw0q0hmfh48iqwyy0x6g1dmz93262igp"))))
|
||||
"0hafaff30bmkj30b8pwpwsy3fz5h6c1pn98ihqcvl5zndflr1h22"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'check 'fix-tests
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
;; The tests use Popen with a custom environment which doesn't
|
||||
;; include PATH.
|
||||
(substitute* "dulwich/tests/compat/utils.py"
|
||||
(("'git'") (string-append "'"
|
||||
(which "git")
|
||||
"'")))
|
||||
(substitute* '("dulwich/tests/test_repository.py"
|
||||
"dulwich/tests/test_porcelain.py"
|
||||
"dulwich/tests/test_hooks.py")
|
||||
(("#!/bin/sh") (string-append "#!" (which "sh"))))
|
||||
(("/bin/sh") (search-input-file inputs "/bin/sh")))
|
||||
(setenv "TEST_RUNNER" "unittest")
|
||||
(setenv "PYTHONHASHSEED" "random")
|
||||
#t)))))
|
||||
(setenv "PYTHONHASHSEED" "random"))))))
|
||||
(propagated-inputs
|
||||
(list python-fastimport python-urllib3))
|
||||
(native-inputs
|
||||
(list python-mock python-geventhttpclient git))
|
||||
(list python-mock python-geventhttpclient python-gpg
|
||||
git gnupg))
|
||||
(home-page "https://www.dulwich.io/")
|
||||
(synopsis "Git implementation in Python")
|
||||
(description "Dulwich is an implementation of the Git file formats and
|
||||
|
|
Loading…
Reference in a new issue