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

commit 38efebc52c789895813a280bea0ad9239844df3a
Author: Nicolas Graves <[email protected]>
AuthorDate: Wed Jan 28 09:34:54 2026 +0100

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

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 4cf2deb941..ec99a57e1c 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -10867,10 +10867,10 @@ existing databases over the internet.")
       #:glib-or-gtk? #t
       #:configure-flags #~(list "-Dlocalstatedir=/tmp"
                                 "-Dsysconfdir=/tmp")
-      #: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))
       #:phases
       #~(modify-phases %standard-phases
@@ -10883,14 +10883,14 @@ existing databases over the internet.")
                (("update_desktop_database: true")
                 "update_desktop_database: false"))))
           (add-after 'install 'wrap
-            (assoc-ref python:%standard-phases 'wrap))
+            (assoc-ref py:%standard-phases 'wrap))
           (add-after 'wrap 'wrap-gi-typelib-and-python
             (lambda* (#:key inputs outputs #:allow-other-keys)
               (wrap-program (search-input-file outputs "bin/gnome-tweaks")
                 `("GI_TYPELIB_PATH" ":" prefix
                   (,(getenv "GI_TYPELIB_PATH")))
                 `("GUIX_PYTHONPATH" ":" prefix
-                  (,(python:site-packages inputs outputs)))))))))
+                  (,(py:site-packages inputs outputs)))))))))
     (native-inputs
      (list `(,glib "bin")               ; for glib-compile-resources, etc.
            gettext-minimal

Reply via email to