[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
209/222: gnu: python-fenics-dijitso: Move to pyproject-build-system.
From: |
guix-commits |
Subject: |
209/222: gnu: python-fenics-dijitso: Move to pyproject-build-system. |
Date: |
Fri, 1 Nov 2024 10:56:53 -0400 (EDT) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 589ea8540ade0a4660c8ca66d068a005911aafa2
Author: Nicolas Graves <ngraves@ngraves.fr>
AuthorDate: Fri May 10 00:54:16 2024 +0200
gnu: python-fenics-dijitso: Move to pyproject-build-system.
* gnu/packages/simulation.scm (python-fenics-dijitso):
[build-system]: Move to pyproject-build-system.
[arguments]<#:phases>: Rewrite check phase replacement to care about
.guix-pytest.
Change-Id: I3383f4078fbb0100e6d8257d7d84785b953ab0cf
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
gnu/packages/simulation.scm | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm
index 824318bf51..e002921679 100644
--- a/gnu/packages/simulation.scm
+++ b/gnu/packages/simulation.scm
@@ -565,7 +565,7 @@ some support for generating and analysing traffic
scenarios..")
(sha256
(base32
"0lhqsq8ypdak0ahr2jnyvg07yrqp6wicjxi6k56zx24wp3qg60sc"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(inputs
(list openmpi python-numpy))
(native-inputs
@@ -578,15 +578,16 @@ some support for generating and analysing traffic
scenarios..")
(add-after 'build 'mpi-setup
,%openmpi-setup)
(replace 'check
- (lambda _
+ (lambda* (#:key inputs #:allow-other-keys)
(setenv "HOME" "/tmp")
- (with-directory-excursion "test"
- ;; Disable parallel tests to avoid race condition. See
- ;; https://github.com/pytest-dev/pytest-cov/issues/237.
- (substitute* "runtests.sh"
- (("for p in 1 4 8 16; do")
- "for p in 1; do"))
- (invoke "./runtests.sh")))))))
+ (with-guix-pytest-plugin inputs
+ (with-directory-excursion "test"
+ ;; Disable parallel tests to avoid race condition. See
+ ;; https://github.com/pytest-dev/pytest-cov/issues/237.
+ (substitute* "runtests.sh"
+ (("for p in 1 4 8 16; do")
+ "for p in 1; do"))
+ (invoke "./runtests.sh"))))))))
(home-page "https://bitbucket.org/fenics-project/dijitso/")
(synopsis "Distributed just-in-time building of shared libraries")
(description
- 126/222: gnu: python-sphinx-4: Inherit from python-sphinx-5., (continued)
- 126/222: gnu: python-sphinx-4: Inherit from python-sphinx-5., guix-commits, 2024/11/01
- 134/222: gnu: python-jupyterlab-widgets: Update to 3.0.10., guix-commits, 2024/11/01
- 174/222: gnu: python-amqp: Move to pyproject-build-system., guix-commits, 2024/11/01
- 150/222: gnu: python-xcffib: Move to (gnu packages xorg)., guix-commits, 2024/11/01
- 129/222: gnu: python-mistune: Update to 3.0.2., guix-commits, 2024/11/01
- 175/222: gnu: python-sphinx-autodoc-typehints: Move to pyproject-build-system., guix-commits, 2024/11/01
- 180/222: gnu: python-pytest-toolbox: Move to pyproject-build-system., guix-commits, 2024/11/01
- 194/222: gnu: python-autoflake: Update to 2.3.1., guix-commits, 2024/11/01
- 201/222: gnu: python-uqbar: Improve package style., guix-commits, 2024/11/01
- 208/222: gnu: tuir: Move to pyproject-build-system., guix-commits, 2024/11/01
- 209/222: gnu: python-fenics-dijitso: Move to pyproject-build-system.,
guix-commits <=
- 211/222: gnu: python-numpydoc: Move to pyproject-build-sytem., guix-commits, 2024/11/01
- 214/222: gnu: python-certauth: Move to pyproject-build-system., guix-commits, 2024/11/01
- 218/222: gnu: python-cssselect2: Move to pyproject-build-system., guix-commits, 2024/11/01
- 113/222: gnu: python-jupyterlab-server: Update to 2.27.1., guix-commits, 2024/11/01
- 99/222: gnu: python-jupyter-server-mathjax: Update to 0.2.6., guix-commits, 2024/11/01
- 103/222: gnu: python-lazy-object-proxy: Update to 1.10.0., guix-commits, 2024/11/01
- 222/222: gnu: python-urllib3: Update to 2.2.1., guix-commits, 2024/11/01
- 117/222: gnu: repo2docker: Update to 2024.03.0., guix-commits, 2024/11/01
- 125/222: gnu: python-sphinx-5: Disable failing tests., guix-commits, 2024/11/01
- 127/222: gnu: python-pyls-black: Add missing input., guix-commits, 2024/11/01