From f77310c3bab2fe28722f420fbe6f4288639294d4 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Wed, 28 Jan 2026 11:13:24 +0100 Subject: 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 --- gnu/packages/python-science.scm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gnu/packages/python-science.scm') diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 98322aeb568..d47e57dfc7e 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? -- cgit v1.3