guix_mirror_bot pushed a commit to branch master
in repository guix.

commit e5226ef22fbad8ded56ed9ed903597ab1de88766
Author: Nicolas Graves <[email protected]>
AuthorDate: Tue Jul 22 00:25:18 2025 +0200

    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 <[email protected]>
---
 gnu/packages/python-web.scm | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 7f7e841dc5..6dbf3f5714 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

Reply via email to