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/python-science.scm | |
| 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/python-science.scm')
| -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 @@ | |||
| 131 | (arguments | 131 | (arguments |
| 132 | (list | 132 | (list |
| 133 | #:imported-modules (append %cmake-build-system-modules | 133 | #:imported-modules (append %cmake-build-system-modules |
| 134 | %python-build-system-modules) | 134 | %pyproject-build-system-modules) |
| 135 | #:modules '((guix build cmake-build-system) | 135 | #:modules '((guix build cmake-build-system) |
| 136 | ((guix build python-build-system) #:prefix python:) | 136 | ((guix build pyproject-build-system) #:prefix py:) |
| 137 | (guix build utils)) | 137 | (guix build utils)) |
| 138 | #:configure-flags | 138 | #:configure-flags |
| 139 | #~(list (string-append "-DPYRE_VERSION=" #$version) | 139 | #~(list (string-append "-DPYRE_VERSION=" #$version) |
| 140 | (string-append "-DPYRE_DEST_PACKAGES=" | 140 | (string-append "-DPYRE_DEST_PACKAGES=" |
| 141 | (python:site-packages %build-inputs %outputs))) | 141 | (py:site-packages %build-inputs %outputs))) |
| 142 | #:phases | 142 | #:phases |
| 143 | #~(modify-phases %standard-phases | 143 | #~(modify-phases %standard-phases |
| 144 | (add-after 'unpack 'enable-bytecode-determinism | 144 | (add-after 'unpack 'enable-bytecode-determinism |
| 145 | (assoc-ref python:%standard-phases 'enable-bytecode-determinism)) | 145 | (assoc-ref py:%standard-phases 'enable-bytecode-determinism)) |
| 146 | ;; Move the check phase after the Python 'pyre' module | 146 | ;; Move the check phase after the Python 'pyre' module |
| 147 | ;; is installed and made available. | 147 | ;; is installed and made available. |
| 148 | (delete 'check) | 148 | (delete 'check) |
| 149 | (add-after 'install 'add-to-pythonpath | 149 | (add-after 'install 'add-to-pythonpath |
| 150 | (lambda* (#:key inputs outputs #:allow-other-keys) | 150 | (lambda* (#:key inputs outputs #:allow-other-keys) |
| 151 | (python:add-installed-pythonpath inputs outputs))) | 151 | (py:add-installed-pythonpath inputs outputs))) |
| 152 | (add-after 'add-to-pythonpath 'wrap | 152 | (add-after 'add-to-pythonpath 'wrap |
| 153 | (assoc-ref python:%standard-phases 'wrap)) | 153 | (assoc-ref py:%standard-phases 'wrap)) |
| 154 | (add-after 'add-to-pythonpath 'check | 154 | (add-after 'add-to-pythonpath 'check |
| 155 | (lambda* (#:key tests? parallel-tests? #:allow-other-keys) | 155 | (lambda* (#:key tests? parallel-tests? #:allow-other-keys) |
| 156 | (when tests? | 156 | (when tests? |
