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

commit 6a7cbea7743403c134e1e6d8854d65ed9cc7dbeb
Author: Nicolas Graves <[email protected]>
AuthorDate: Wed Jan 28 11:13:24 2026 +0100

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

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index a2d2470976..d48744eac8 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -131,26 +131,26 @@
     (arguments
      (list
       #:imported-modules (append %cmake-build-system-modules
-                                 %python-build-system-modules)
+                                 %pyproject-build-system-modules)
       #:modules '((guix build cmake-build-system)
-                  ((guix build python-build-system) #:prefix python:)
+                  ((guix build pyproject-build-system) #:prefix py:)
                   (guix build utils))
       #:configure-flags
       #~(list (string-append "-DPYRE_VERSION=" #$version)
               (string-append "-DPYRE_DEST_PACKAGES="
-                             (python:site-packages %build-inputs %outputs)))
+                             (py:site-packages %build-inputs %outputs)))
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'unpack 'enable-bytecode-determinism
-            (assoc-ref python:%standard-phases 'enable-bytecode-determinism))
+            (assoc-ref py:%standard-phases 'enable-bytecode-determinism))
           ;; Move the check phase after the Python 'pyre' module
           ;; is installed and made available.
           (delete 'check)
           (add-after 'install 'add-to-pythonpath
             (lambda* (#:key inputs outputs #:allow-other-keys)
-              (python:add-installed-pythonpath inputs outputs)))
+              (py:add-installed-pythonpath inputs outputs)))
           (add-after 'add-to-pythonpath 'wrap
-            (assoc-ref python:%standard-phases 'wrap))
+            (assoc-ref py:%standard-phases 'wrap))
           (add-after 'add-to-pythonpath 'check
             (lambda* (#:key tests? parallel-tests? #:allow-other-keys)
               (when tests?

Reply via email to