[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/38: gnu: borg: Return #t from all phases.
From: |
Tobias Geerinckx-Rice |
Subject: |
15/38: gnu: borg: Return #t from all phases. |
Date: |
Mon, 25 Jun 2018 22:24:23 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit e252ec324d3bb79cb411bd1682c215792f5c8001
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Sun Jun 24 21:56:38 2018 +0200
gnu: borg: Return #t from all phases.
* gnu/packages/backup.scm (borg)[arguments]: Substitute INVOKE for
SYSTEM*. Return #t rather than undefined from phases.
---
gnu/packages/backup.scm | 45 +++++++++++++++++++++------------------------
1 file changed, 21 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm
index f781dc1..de96e6a 100644
--- a/gnu/packages/backup.scm
+++ b/gnu/packages/backup.scm
@@ -523,25 +523,24 @@ detection, and lossless compression.")
;; The tests should be run in an empty directory.
(mkdir-p "tests")
(with-directory-excursion "tests"
- (zero?
- (system* "py.test" "-v" "--pyargs" "borg.testsuite" "-k"
- (string-append
- ;; These tests need to write to '/var'.
- "not test_get_cache_dir "
- "and not test_get_config_dir "
- "and not test_get_keys_dir "
- "and not test_get_security_dir "
- ;; These tests assume there is a root user in
- ;; '/etc/passwd'.
- "and not test_access_acl "
- "and not test_default_acl "
- "and not test_non_ascii_acl "
- ;; This test needs the unpackaged pytest-benchmark.
- "and not benchmark "
- ;; These tests assume the kernel supports FUSE.
- "and not test_fuse "
- "and not test_fuse_allow_damaged_files "
- "and not test_mount_hardlinks"))))))
+ (invoke "py.test" "-v" "--pyargs" "borg.testsuite" "-k"
+ (string-append
+ ;; These tests need to write to '/var'.
+ "not test_get_cache_dir "
+ "and not test_get_config_dir "
+ "and not test_get_keys_dir "
+ "and not test_get_security_dir "
+ ;; These tests assume there is a root user in
+ ;; '/etc/passwd'.
+ "and not test_access_acl "
+ "and not test_default_acl "
+ "and not test_non_ascii_acl "
+ ;; This test needs the unpackaged pytest-benchmark.
+ "and not benchmark "
+ ;; These tests assume the kernel supports FUSE.
+ "and not test_fuse "
+ "and not test_fuse_allow_damaged_files "
+ "and not test_mount_hardlinks")))))
(add-after 'install 'install-doc
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
@@ -552,11 +551,9 @@ detection, and lossless compression.")
"docs/misc/internals-picture.txt"
"docs/misc/prune-example.txt"))
(add-installed-pythonpath inputs outputs)
- (and
- (zero? (system* "python3" "setup.py" "build_man"))
- (begin
- (copy-recursively "docs/man" man)
- #t))))))))
+ (invoke "python3" "setup.py" "build_man")
+ (copy-recursively "docs/man" man)
+ #t))))))
(native-inputs
`(("python-cython" ,python-cython)
("python-setuptools-scm" ,python-setuptools-scm)
- 11/38: gnu: portaudio: Return #t from phases., (continued)
- 11/38: gnu: portaudio: Return #t from phases., Tobias Geerinckx-Rice, 2018/06/25
- 22/38: gnu: yosys: Return #t from all phases., Tobias Geerinckx-Rice, 2018/06/25
- 26/38: gnu: node: Return #t from all phases., Tobias Geerinckx-Rice, 2018/06/25
- 25/38: gnu: gpxsee: Use INVOKE., Tobias Geerinckx-Rice, 2018/06/25
- 31/38: gnu: python2-django-mailman3: Return #t from phases., Tobias Geerinckx-Rice, 2018/06/25
- 27/38: gnu: Use HTTPS for nodejs.org., Tobias Geerinckx-Rice, 2018/06/25
- 18/38: gnu: dnscrypt-wrapper: Return #t from phases., Tobias Geerinckx-Rice, 2018/06/25
- 07/38: gnu: sendmail: Return #t from all phases., Tobias Geerinckx-Rice, 2018/06/25
- 14/38: gnu: rsnapshot: Return #t from phases., Tobias Geerinckx-Rice, 2018/06/25
- 16/38: gnu: obnam: Return #t from phases., Tobias Geerinckx-Rice, 2018/06/25
- 15/38: gnu: borg: Return #t from all phases.,
Tobias Geerinckx-Rice <=
- 17/38: gnu: dnscrypt-proxy: Return #t from phases., Tobias Geerinckx-Rice, 2018/06/25
- 21/38: gnu: libsigrok: Return #t from all phases., Tobias Geerinckx-Rice, 2018/06/25
- 24/38: gnu: address@hidden: Return #t from all phases., Tobias Geerinckx-Rice, 2018/06/25
- 19/38: gnu: unbound: Use INVOKE., Tobias Geerinckx-Rice, 2018/06/25
- 28/38: gnu: irssi: Return #t from all phases., Tobias Geerinckx-Rice, 2018/06/25
- 23/38: gnu: address@hidden: Return #t from all phases., Tobias Geerinckx-Rice, 2018/06/25
- 30/38: gnu: glog: Return #t from all phases., Tobias Geerinckx-Rice, 2018/06/25
- 32/38: gnu: transfig: Return #t from phases., Tobias Geerinckx-Rice, 2018/06/25
- 33/38: gnu: newsboat: Return #t from phases., Tobias Geerinckx-Rice, 2018/06/25
- 29/38: gnu: epic5: Return #t from all phases., Tobias Geerinckx-Rice, 2018/06/25