[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
209/361: gnu: python-fenics-dijitso: Move to pyproject-build-system.
From: |
guix-commits |
Subject: |
209/361: gnu: python-fenics-dijitso: Move to pyproject-build-system. |
Date: |
Thu, 21 Nov 2024 06:29:19 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit b29a3fd68170d8b309e3b22589c56d68be900cda
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
- 102/361: gnu: python-pydata-sphinx-theme: Disable one test., (continued)
- 102/361: gnu: python-pydata-sphinx-theme: Disable one test., guix-commits, 2024/11/21
- 134/361: gnu: python-jupyterlab-widgets: Update to 3.0.10., guix-commits, 2024/11/21
- 145/361: gnu: vdirsyncer: Move to pyproject-build-system and enable tests., guix-commits, 2024/11/21
- 152/361: gnu: qtile: Improve package style., guix-commits, 2024/11/21
- 149/361: gnu: Add ghc-language-python., guix-commits, 2024/11/21
- 147/361: gnu: python-docker-pycreds: Move to pyproject-build-system., guix-commits, 2024/11/21
- 156/361: gnu: conda: Reindent., guix-commits, 2024/11/21
- 181/361: gnu: python-cairosvg: Move to pyproject-build-system., guix-commits, 2024/11/21
- 188/361: gnu: python-nbstripout: Move to pyproject-build-system., guix-commits, 2024/11/21
- 201/361: gnu: python-uqbar: Improve package style., guix-commits, 2024/11/21
- 209/361: gnu: python-fenics-dijitso: Move to pyproject-build-system.,
guix-commits <=
- 210/361: gnu: python-pyan3: Move to pyproject-build-system., guix-commits, 2024/11/21
- 219/361: gnu: python-notebook: Add python-jupyter-server to native inputs., guix-commits, 2024/11/21
- 223/361: gnu: Remove python-mistune-next., guix-commits, 2024/11/21
- 220/361: gnu: build-system/pyproject: Add missing native-inputs., guix-commits, 2024/11/21
- 231/361: gnu: python-daft: Adjust inputs., guix-commits, 2024/11/21
- 237/361: gnu: python-optree: Adjust inputs., guix-commits, 2024/11/21
- 84/361: gnu: python-jupyter-kernel-mgmt: Use Tornado 6., guix-commits, 2024/11/21
- 79/361: gnu: python-argon2-cffi: Update to 21.1.0., guix-commits, 2024/11/21
- 77/361: gnu: python-jedi: Update to 0.19.1., guix-commits, 2024/11/21
- 72/361: gnu: Add python-hatch-jupyter-builder., guix-commits, 2024/11/21