diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2026-01-28 11:13:24 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-02-07 12:28:50 +0100 |
| commit | f77310c3bab2fe28722f420fbe6f4288639294d4 (patch) | |
| tree | ecde0a69e970907ed054c51e952fe55c58f8b732 /gnu/packages | |
| parent | f9e597da4e608a129fbb9a0738ab3833d30134ab (diff) | |
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 <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/python-science.scm | 12 |
1 files changed, 6 insertions, 6 deletions
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? |
