[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
80/91: gnu: python-fenics-dijitso: Move to pyproject-build-system.
From: |
guix-commits |
Subject: |
80/91: gnu: python-fenics-dijitso: Move to pyproject-build-system. |
Date: |
Thu, 23 May 2024 17:17:38 -0400 (EDT) |
ngz pushed a commit to branch python-team
in repository guix.
commit 5b9e35a90c47eae71fff8f3d049799eb24f1d66c
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 d5fc1e3d17..ed029efeac 100644
--- a/gnu/packages/simulation.scm
+++ b/gnu/packages/simulation.scm
@@ -573,7 +573,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
@@ -586,15 +586,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
- 36/91: gnu: python-cbor2: Move to pyproject-build-system., (continued)
- 36/91: gnu: python-cbor2: Move to pyproject-build-system., guix-commits, 2024/05/23
- 26/91: gnu: python-arrow: Move to pyproject-build-system., guix-commits, 2024/05/23
- 57/91: gnu: python-nbstripout: Move to pyproject-build-system., guix-commits, 2024/05/23
- 59/91: gnu: python-sparse: Move to pyproject-build-system., guix-commits, 2024/05/23
- 61/91: gnu: python-pint: Disable benchmark tests., guix-commits, 2024/05/23
- 65/91: gnu: python-shtab: Move to pyproject-build-system., guix-commits, 2024/05/23
- 64/91: gnu: python-orderedmultidict: Move to pyproject-build-system., guix-commits, 2024/05/23
- 60/91: gnu: python-pytest-enabler: Break dependency cycle., guix-commits, 2024/05/23
- 62/91: gnu: python-apprise: Improve package style., guix-commits, 2024/05/23
- 77/91: gnu: borgmatic: Move to pyproject-build-system., guix-commits, 2024/05/23
- 80/91: gnu: python-fenics-dijitso: Move to pyproject-build-system.,
guix-commits <=
- 87/91: gnu: python-qemu-qmp: Improve package style., guix-commits, 2024/05/23
- 82/91: gnu: python-numpydoc: Move to pyproject-build-sytem., guix-commits, 2024/05/23
- 91/91: gnu: build-system/pyproject: Add missing native-inputs., guix-commits, 2024/05/23
- 85/91: gnu: python-certauth: Move to pyproject-build-system., guix-commits, 2024/05/23
- 86/91: gnu: python-matplotlib: Ignore failing tests., guix-commits, 2024/05/23
- 08/91: gnu: python-zope-i18nmessageid: Update to 5.1.1., guix-commits, 2024/05/23
- 14/91: gnu: Add ghc-language-python., guix-commits, 2024/05/23
- 04/91: gnu: python-isort: Move to pyproject-build-system., guix-commits, 2024/05/23
- 03/91: gnu: python-black: Move to pyproject-build-system., guix-commits, 2024/05/23
- 06/91: gnu: python-mutagen: Move to pyproject-build-system., guix-commits, 2024/05/23