guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/07: gnu: python-pylibacl: Do not return #t from custom phases.


From: guix-commits
Subject: 03/07: gnu: python-pylibacl: Do not return #t from custom phases.
Date: Fri, 15 Oct 2021 11:32:16 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit a9b8443cc530fbf404f86c215ed77b8baeb0d108
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Fri Oct 15 16:28:42 2021 +0200

    gnu: python-pylibacl: Do not return #t from custom phases.
    
    * gnu/packages/acl.scm (python-pylibacl)[arguments]: Don't explicitly
    return #t from phases.
---
 gnu/packages/acl.scm | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/acl.scm b/gnu/packages/acl.scm
index abeafee..518f5f2 100644
--- a/gnu/packages/acl.scm
+++ b/gnu/packages/acl.scm
@@ -114,18 +114,17 @@
        (modify-phases %standard-phases
          (add-after 'unpack 'disable-tests
            (lambda* (#:key outputs inputs #:allow-other-keys)
-             ;; These tests operate on real files, but our tempfs does not 
support
-             ;; ACLs
+             ;; These tests operate on real files, but our tmpfs does not 
support
+             ;; ACLs.
              (substitute* "tests/test_acls.py"
                (("( *)def test_applyto(_extended(_mixed)?)?" match indent)
-                (string-append indent "@pytest.mark.skip(reason=\"guix\")\n" 
match)))
-             #t))
+                (string-append indent "@pytest.mark.skip(reason=\"guix\")\n"
+                               match)))))
          (replace 'check
            (lambda* (#:key inputs outputs tests? #:allow-other-keys)
              (when tests?
                (add-installed-pythonpath inputs outputs)
-               (invoke "pytest" "tests"))
-               #t)))))
+               (invoke "pytest" "tests")))))))
     (inputs `(("acl" ,acl)))
     (native-inputs `(("python-pytest" ,python-pytest)))
     (home-page "https://pylibacl.k1024.org/";)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]