guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit de1a41e080ebd3eddfd91fa0e33a8ef9da652071
Author: Nicolas Graves <[email protected]>
AuthorDate: Wed Jan 28 09:11:51 2026 +0100

    gnu: cambalache: Switch to pyproject.
    
    * gnu/packages/gnome.scm (cambalache):
    [arguments]<#:imported-modules, #:modules, #:phases>: Switch to
    pyproject-build-system.
    
    Change-Id: I1ff9557c19641688166a86982e52983e777b1173
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/gnome.scm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 8cc48ab858..d7772d1fd8 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3368,10 +3368,10 @@ compiles to GTKBuilder XML.")
     (arguments
      (list
       #:glib-or-gtk? #t
-      #:imported-modules `((guix build python-build-system)
-                           ,@%meson-build-system-modules)
+      #:imported-modules (append %meson-build-system-modules
+                                 %pyproject-build-system-modules)
       #:modules '((guix build meson-build-system)
-                  ((guix build python-build-system) #:prefix python:)
+                  ((guix build pyproject-build-system) #:prefix py:)
                   (guix build utils))
       #:tests? #f                       ; XXX: tests spawn a socket...
       #:phases
@@ -3394,10 +3394,11 @@ compiles to GTKBuilder XML.")
             (lambda _
               (substitute* "tools/cmb_init_dev.py"
                 (("\"cc") (string-append "\"" #$(cc-for-target))))))
-          (add-after 'install 'python-wrap (assoc-ref python:%standard-phases 
'wrap))
+          (add-after 'install 'python-wrap
+            (assoc-ref py:%standard-phases 'wrap))
           (delete 'check)
           (add-after 'install 'add-install-to-pythonpath
-            (assoc-ref python:%standard-phases 'add-install-to-pythonpath))
+            (assoc-ref py:%standard-phases 'add-install-to-pythonpath))
           (add-after 'add-install-to-pythonpath 'pre-check
             (lambda _
               (system "Xvfb :1 &")

Reply via email to