[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#70855] [PATCH 81/92] gnu: python-fenics-dijitso: Move to pyproject-
From: |
Nicolas Graves |
Subject: |
[bug#70855] [PATCH 81/92] gnu: python-fenics-dijitso: Move to pyproject-build-system. |
Date: |
Fri, 10 May 2024 00:54:16 +0200 |
* 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
---
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 d5fc1e3d176..ed029efeac1 100644
--- a/gnu/packages/simulation.scm
+++ b/gnu/packages/simulation.scm
@@ -573,7 +573,7 @@ (define-public python-fenics-dijitso
(sha256
(base32
"0lhqsq8ypdak0ahr2jnyvg07yrqp6wicjxi6k56zx24wp3qg60sc"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(inputs
(list openmpi python-numpy))
(native-inputs
@@ -586,15 +586,16 @@ (define-public python-fenics-dijitso
(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
--
2.41.0
- [bug#70855] [PATCH 69/92] gnu: python-rich: Update to 13.7.1., (continued)
- [bug#70855] [PATCH 69/92] gnu: python-rich: Update to 13.7.1., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 71/92] gnu: Add python-sphinx-autodoc-typehints-5., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 72/92] gnu: python-uqbar: Improve package style., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 75/92] gnu: python-typeguard-4: Ignore failing tests., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 80/92] gnu: python-pytest-trio: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 83/92] gnu: python-numpydoc: Move to pyproject-build-sytem., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 84/92] gnu: python-multidict: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 74/92] gnu: python-uqbar: Update to 0.6.9., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 77/92] gnu: python-funsor: Ignore flaky test., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 82/92] gnu: python-pyan3: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 81/92] gnu: python-fenics-dijitso: Move to pyproject-build-system.,
Nicolas Graves <=
- [bug#70855] [PATCH 73/92] gnu: python-uqbar: Upgrade to python-team branch., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 91/92] gnu: python-notebook: Add python-jupyter-server native-input., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 76/92] gnu: python-zope-i18nmessageid: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 78/92] gnu: borgmatic: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 86/92] gnu: python-certauth: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 89/92] gnu: python-qemu-qmp: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 92/92] build-system/pyproject: Add missing native-inputs., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 85/92] gnu: python-warcio: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 79/92] gnu: tuir: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 87/92] gnu: python-matplotlib: Ignore failing tests., Nicolas Graves, 2024/05/09