gnu: python-openid: Switch to pyproject.

* gnu/packages/python-web.scm (python-openid)
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Remove use of coverage in 'check phase.
[native-inputs]: Remove python-coverage. Add python-setuptools,
python-wheel.

Change-Id: I6aa46912964f4c02e3ecb1ced4792f332a1f0fc0
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-07-22 00:25:18 +02:00 committed by Sharlatan Hellseher
parent cc8a580027
commit e5226ef22f
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -3774,19 +3774,18 @@ authentications)
(sha256 (sha256
(base32 (base32
"1bxf9a3ny1js422j962zfzl4a9dhj192pvai05whn7j0iy9gdyrk")))) "1bxf9a3ny1js422j962zfzl4a9dhj192pvai05whn7j0iy9gdyrk"))))
(build-system python-build-system) (build-system pyproject-build-system)
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(replace 'check (replace 'check
(lambda* (#:key tests? #:allow-other-keys) (lambda* (#:key tests? #:allow-other-keys)
(when tests? (when tests?
(invoke "coverage" "run" "-m" (invoke "python" "-m" "unittest" "openid.test.test_suite")))))))
"unittest" "openid.test.test_suite")))))))
(propagated-inputs (propagated-inputs
(list python-defusedxml)) (list python-defusedxml))
(native-inputs (native-inputs
(list python-coverage python-psycopg2 python-django)) (list python-psycopg2 python-django python-setuptools python-wheel))
(home-page "https://github.com/necaris/python3-openid") (home-page "https://github.com/necaris/python3-openid")
(synopsis "OpenID support for servers and consumers") (synopsis "OpenID support for servers and consumers")
(description "This library provides OpenID authentication for Python, both (description "This library provides OpenID authentication for Python, both