From a9b8443cc530fbf404f86c215ed77b8baeb0d108 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 15 Oct 2021 16:28:42 +0200 Subject: 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(-) (limited to 'gnu/packages/acl.scm') diff --git a/gnu/packages/acl.scm b/gnu/packages/acl.scm index abeafeef88..518f5f2ea7 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/") -- cgit 1.4.1 From 133f780039e63798535e4f52a4d9f1810ea5b2ab Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 15 Oct 2021 16:30:22 +0200 Subject: gnu: python-pylibacl: Improve description. * gnu/packages/acl.scm (python-pylibacl)[synopsis]: Use @acronym{}. [description]: Turn into a full sentence, mark up, and edit for GNU. --- gnu/packages/acl.scm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'gnu/packages/acl.scm') diff --git a/gnu/packages/acl.scm b/gnu/packages/acl.scm index 518f5f2ea7..ff2622c340 100644 --- a/gnu/packages/acl.scm +++ b/gnu/packages/acl.scm @@ -128,8 +128,9 @@ (inputs `(("acl" ,acl))) (native-inputs `(("python-pytest" ,python-pytest))) (home-page "https://pylibacl.k1024.org/") - (synopsis "POSIX.1e ACLs for python") - (description "Python 3.4+ extension module that allows you to manipulate -the POSIX.1e Access Control Lists present in some OS/file-systems -combinations.") + (synopsis "POSIX.1e @acronym{ACLs, access control lists} for Python") + (description + "This Python extension module manipulates the POSIX.1e @acronym{ACLs, +Access Control Lists available on many file systems. These allow more +fine-grained access control than traditional user/group permissions.") (license lgpl2.1+))) -- cgit 1.4.1 From 9cda21cf20a5c9bdf97e3a6d6c8f901fc3e4307d Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 18 Oct 2021 12:24:48 +0200 Subject: gnu: python-pylibacl: Add missing brace in description. Regression introduced in 133f780039e63798535e4f52a4d9f1810ea5b2ab. * gnu/packages/acl.scm (python-pylibacl)[description]: Add missing brace. --- gnu/packages/acl.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/acl.scm') diff --git a/gnu/packages/acl.scm b/gnu/packages/acl.scm index ff2622c340..6fb4894302 100644 --- a/gnu/packages/acl.scm +++ b/gnu/packages/acl.scm @@ -131,6 +131,6 @@ (synopsis "POSIX.1e @acronym{ACLs, access control lists} for Python") (description "This Python extension module manipulates the POSIX.1e @acronym{ACLs, -Access Control Lists available on many file systems. These allow more +Access Control Lists} available on many file systems. These allow more fine-grained access control than traditional user/group permissions.") (license lgpl2.1+))) -- cgit 1.4.1