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
This commit is contained in:
Sharlatan Hellseher 2025-12-28 20:36:39 +00:00
parent ee62a0ce42
commit 9fe7aaa20a
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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