summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-01-18 17:57:55 +0100
committerMarius Bakke <marius@gnu.org>2022-01-18 19:35:55 +0100
commit5122848d5b7c7ff62c4b00ca100025219dc65ce2 (patch)
tree2c8b5121ada0498e6583cc3b6b1041c9d9879c1e
parent38fdd118d0bcfcff47632ec28f89a4f5fc1dd8a1 (diff)
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.
-rw-r--r--gnu/packages/python-xyz.scm21
1 files changed, 8 insertions, 13 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 88d16567aa..49c4bd848b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17989,7 +17989,7 @@ multitouch applications.")
(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 @@ multitouch applications.")
(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