mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
gnu: borg: Update to 1.0.9.
* gnu/packages/backup.scm (borg): Update to 1.0.9. [arguments]: Run the check phase in its own directory. Skip the test 'test_get_security_dir'.
This commit is contained in:
parent
4f6ff977c2
commit
8cb3e7e7de
1 changed files with 22 additions and 21 deletions
|
@ -404,13 +404,13 @@ (define-public libchop
|
||||||
(define-public borg
|
(define-public borg
|
||||||
(package
|
(package
|
||||||
(name "borg")
|
(name "borg")
|
||||||
(version "1.0.8")
|
(version "1.0.9")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "borgbackup" version))
|
(uri (pypi-uri "borgbackup" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1fdfi0yzzdrrlml6780n4fh61sqm7pw6fcd1y67kfkvw8hy5c0k9"))
|
"1ciwp9yilcibk0x82y5nn8ps95jrm8rxvff8mjrlp7a2w100i1im"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
'(for-each
|
'(for-each
|
||||||
|
@ -439,25 +439,26 @@ (define-public borg
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
;; Make the installed package available for the test suite.
|
;; Make the installed package available for the test suite.
|
||||||
(add-installed-pythonpath inputs outputs)
|
(add-installed-pythonpath inputs outputs)
|
||||||
(zero?
|
;; The tests should be run in an empty directory.
|
||||||
(system* "py.test" "-v" "--pyargs" "borg.testsuite" "-k"
|
(mkdir-p "tests")
|
||||||
(string-append
|
(with-directory-excursion "tests"
|
||||||
;; These tests need to write to '/var'.
|
(zero?
|
||||||
"not test_get_cache_dir "
|
(system* "py.test" "-v" "--pyargs" "borg.testsuite" "-k"
|
||||||
"and not test_get_keys_dir "
|
(string-append
|
||||||
;; These tests assume there is a root user in
|
;; These tests need to write to '/var'.
|
||||||
;; '/etc/passwd'.
|
"not test_get_cache_dir "
|
||||||
"and not test_access_acl "
|
"and not test_get_keys_dir "
|
||||||
"and not test_default_acl "
|
"and not test_get_security_dir "
|
||||||
"and not test_non_ascii_acl "
|
;; These tests assume there is a root user in
|
||||||
;; This test needs the unpackaged pytest-benchmark.
|
;; '/etc/passwd'.
|
||||||
"and not benchmark "
|
"and not test_access_acl "
|
||||||
;; These tests assume the kernel supports FUSE. They
|
"and not test_default_acl "
|
||||||
;; were skipped using the "old" Python build system,
|
"and not test_non_ascii_acl "
|
||||||
;; before commit
|
;; This test needs the unpackaged pytest-benchmark.
|
||||||
;; 7db40bce58e149ecb541d295e01cfbfe953d39a3.
|
"and not benchmark "
|
||||||
"and not test_fuse "
|
;; These tests assume the kernel supports FUSE.
|
||||||
"and not test_fuse_allow_damaged_files")))))
|
"and not test_fuse "
|
||||||
|
"and not test_fuse_allow_damaged_files"))))))
|
||||||
(add-after 'install 'install-doc
|
(add-after 'install 'install-doc
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
|
Loading…
Reference in a new issue