gnu: Borg: Update to 1.1.9.

* gnu/packages/backup.scm (borg): Update to 1.1.9.
[arguments]: Remove the 'remove-documentation-timestamps' phase and adjust the
'install-doc' phase to ensure the manual pages are not a source of
non-determinism.
This commit is contained in:
Leo Famulari 2019-02-11 11:00:18 -05:00
parent 867e2b1bb3
commit e191e84859
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -512,14 +512,14 @@ (define-public libchop
(define-public borg (define-public borg
(package (package
(name "borg") (name "borg")
(version "1.1.8") (version "1.1.9")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "borgbackup" version)) (uri (pypi-uri "borgbackup" version))
(sha256 (sha256
(base32 (base32
"0qqvcscn1l4y83x4sh3izdpmr8zq38j8chjkpfq4q4d01i470hqb")) "0x95nhv4h34m8cxycbwc4xdz350saaxlgh727b23bgn4ci7gh3vx"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
'(begin '(begin
@ -565,11 +565,6 @@ (define-public borg
;; HOME=/homeless-shelter. ;; HOME=/homeless-shelter.
(setenv "HOME" "/tmp") (setenv "HOME" "/tmp")
#t))) #t)))
(add-after 'unpack 'remove-documentation-timestamps ; reproducibility
(lambda _
(substitute* "setup.py"
(("write\\(':Date:'.*") "\n"))
#t))
;; The tests need to be run after Borg is installed. ;; The tests need to be run after Borg is installed.
(delete 'check) (delete 'check)
(add-after 'install 'check (add-after 'install 'check
@ -606,8 +601,6 @@ (define-public borg
'("docs/misc/create_chunker-params.txt" '("docs/misc/create_chunker-params.txt"
"docs/misc/internals-picture.txt" "docs/misc/internals-picture.txt"
"docs/misc/prune-example.txt")) "docs/misc/prune-example.txt"))
(add-installed-pythonpath inputs outputs)
(invoke "python3" "setup.py" "build_man")
(copy-recursively "docs/man" man) (copy-recursively "docs/man" man)
#t)))))) #t))))))
(native-inputs (native-inputs