guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 9fe7aaa20ac754da1b7cb69d95a4ba0122ef78c0
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Dec 28 20:36:39 2025 +0000

    gnu: python-authres: Switch to pyproject.
    
    * gnu/packages/mail.scm (python-authres):
    [build-system]: Switch to pyproject-build-system.
    [arguments] <test-backend, test-flags>: Use instead of custom check
    phase.
    [native-inputs]: Add python-setuptools.
    
    Change-Id: If23ea51979b08683d9f3df33afe00dcd5dd8c7c7
---
 gnu/packages/mail.scm | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 54fe789830..d25e57e515 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -4612,14 +4612,13 @@ IMAP, Atom feeds or HTML archives.")
         (sha256
          (base32
           "1dr5zpqnb54h4f5ax8334l1dcp8j9083d7v4vdi1xqkwmnavklck"))))
-    (build-system python-build-system)
+    (build-system pyproject-build-system)
     (arguments
-     '(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
+     (list #:test-backend #~'custom
            ;; Run doctests as described in the README.
-           (lambda _
-             (invoke "python" "-m" "authres" "-v"))))))
+           #:test-flags #~(list "-m" "authres" "-v")))
+    (native-inputs
+     (list python-setuptools))
     (home-page "https://launchpad.net/authentication-results-python";)
     (synopsis "Authentication-Results email header creator and parser")
     (description

Reply via email to