gnu: diffoscope: Update to 134.

* gnu/packages/diffoscope (diffoscope): Update to 134.
  [arguments] Remove phase adding support for zstd.
This commit is contained in:
Vagrant Cascadian 2019-12-29 07:39:22 +00:00
parent fa9e3b5ed2
commit 5de06b9dfb
No known key found for this signature in database
GPG key ID: DC518FC87F9716AA

View file

@ -67,7 +67,7 @@ (define-module (gnu packages diffoscope)
#:use-module (ice-9 match)) #:use-module (ice-9 match))
(define-public diffoscope (define-public diffoscope
(let ((version "133")) (let ((version "134"))
(package (package
(name "diffoscope") (name "diffoscope")
(version version) (version version)
@ -79,7 +79,7 @@ (define-public diffoscope
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0mvg5iyd3zjxsm66vax3qb89214j3wxcklvbhfrr8jlbzaw9pznh")))) "04078cn3lazcrpgzzzy1s9721hprkylrvfa58izm4dcvgd7a593z"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases (modify-phases %standard-phases `(#:phases (modify-phases %standard-phases
@ -90,12 +90,6 @@ (define-public diffoscope
(lambda _ (lambda _
(substitute* "setup.py" (substitute* "setup.py"
(("'python-magic',") "")))) (("'python-magic',") ""))))
;; Patch in support for known tools
(add-after 'unpack 'add-known-tools
(lambda _
(substitute* "diffoscope/external_tools.py"
(("'debian': 'zstd'")
"'debian': 'zstd', 'guix': 'zstd'"))))
;; This test is broken because our `file` package has a ;; This test is broken because our `file` package has a
;; bug in berkeley-db file type detection. ;; bug in berkeley-db file type detection.
(add-after 'unpack 'remove-berkeley-test (add-after 'unpack 'remove-berkeley-test