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
(package
(name "borg")
(version "1.1.8")
(version "1.1.9")
(source
(origin
(method url-fetch)
(uri (pypi-uri "borgbackup" version))
(sha256
(base32
"0qqvcscn1l4y83x4sh3izdpmr8zq38j8chjkpfq4q4d01i470hqb"))
"0x95nhv4h34m8cxycbwc4xdz350saaxlgh727b23bgn4ci7gh3vx"))
(modules '((guix build utils)))
(snippet
'(begin
@ -565,11 +565,6 @@ (define-public borg
;; HOME=/homeless-shelter.
(setenv "HOME" "/tmp")
#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.
(delete 'check)
(add-after 'install 'check
@ -606,8 +601,6 @@ (define-public borg
'("docs/misc/create_chunker-params.txt"
"docs/misc/internals-picture.txt"
"docs/misc/prune-example.txt"))
(add-installed-pythonpath inputs outputs)
(invoke "python3" "setup.py" "build_man")
(copy-recursively "docs/man" man)
#t))))))
(native-inputs