From e5226ef22fbad8ded56ed9ed903597ab1de88766 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Tue, 22 Jul 2025 00:25:18 +0200 Subject: 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 --- gnu/packages/python-web.scm | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'gnu/packages/python-web.scm') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 7f7e841dc52..6dbf3f57148 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -3774,19 +3774,18 @@ authentications) (sha256 (base32 "1bxf9a3ny1js422j962zfzl4a9dhj192pvai05whn7j0iy9gdyrk")))) - (build-system python-build-system) + (build-system pyproject-build-system) (arguments `(#:phases (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "coverage" "run" "-m" - "unittest" "openid.test.test_suite"))))))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "python" "-m" "unittest" "openid.test.test_suite"))))))) (propagated-inputs (list python-defusedxml)) (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") (synopsis "OpenID support for servers and consumers") (description "This library provides OpenID authentication for Python, both -- cgit v1.3