[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/05: gnu: python-dolfin-adjoint: Fix indentation.
From: |
guix-commits |
Subject: |
01/05: gnu: python-dolfin-adjoint: Fix indentation. |
Date: |
Thu, 11 Jul 2024 14:16:02 -0400 (EDT) |
sharlatan pushed a commit to branch master
in repository guix.
commit 5a33a71e678eeea5b27a3912f4dd7160528618fa
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Mon Jul 1 21:46:19 2024 +0100
gnu: python-dolfin-adjoint: Fix indentation.
* gnu/packages/simulation.scm (python-dolfin-adjoint): Fix indentation.
Change-Id: I457639a98f1ae49d43042e557352d390afc9419d
---
gnu/packages/simulation.scm | 48 ++++++++++++++++++++++-----------------------
1 file changed, 24 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm
index 4fa2e93d81..ab86e1d792 100644
--- a/gnu/packages/simulation.scm
+++ b/gnu/packages/simulation.scm
@@ -1180,29 +1180,29 @@ command-line utility for mesh optimisation.")
(name "python-dolfin-adjoint")
(version "2019.1.0")
(source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/dolfin-adjoint/pyadjoint")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0xhy76a5f33hz94wc9g2mc5qmwkxfccbbc6yxl7psm130afp8lhn"))
- (modules '((guix build utils)))
- (snippet
- '(begin
- ;; One of the migration tests attempts to call openmpi
- ;; recursively and fails. See
- ;; https://bitbucket.org/mpi4py/mpi4py/issues/95. Run the
- ;; test sequentially instead.
- (with-directory-excursion "tests/migration/optimal_control_mms"
- (substitute* "test_optimal_control_mms.py"
- (("\\\"mpirun\\\", \\\"-n\\\", \\\"2\\\", ") "")))
- ;; Result files are regenerated in the check phase.
- (delete-file-recursively
- "tests/migration/viscoelasticity/test-results")
- #t))))
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/dolfin-adjoint/pyadjoint")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0xhy76a5f33hz94wc9g2mc5qmwkxfccbbc6yxl7psm130afp8lhn"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; One of the migration tests attempts to call openmpi
+ ;; recursively and fails. See
+ ;; https://bitbucket.org/mpi4py/mpi4py/issues/95. Run the
+ ;; test sequentially instead.
+ (with-directory-excursion "tests/migration/optimal_control_mms"
+ (substitute* "test_optimal_control_mms.py"
+ (("\\\"mpirun\\\", \\\"-n\\\", \\\"2\\\", ") "")))
+ ;; Result files are regenerated in the check phase.
+ (delete-file-recursively
+ "tests/migration/viscoelasticity/test-results")
+ #t))))
(build-system python-build-system)
(inputs
(list fenics openmpi pybind11))
@@ -1219,7 +1219,7 @@ command-line utility for mesh optimisation.")
`(#:phases
(modify-phases %standard-phases
(add-after 'build 'mpi-setup
- ,%openmpi-setup)
+ ,%openmpi-setup)
(add-after 'install 'install-doc
(lambda* (#:key outputs #:allow-other-keys)
(let* ((doc (string-append (assoc-ref outputs "out")
- branch master updated (2eb7cc2677 -> a1e6ac72fd), guix-commits, 2024/07/11
- 01/05: gnu: python-dolfin-adjoint: Fix indentation.,
guix-commits <=
- 02/05: gnu: python-dolfin-adjoint: Adjust package style., guix-commits, 2024/07/11
- 03/05: gnu: python-dolfin-adjoint: Swap to pyproject-build-system., guix-commits, 2024/07/11
- 05/05: gnu: packages/simulation: Add self to copyright header., guix-commits, 2024/07/11
- 04/05: gnu: python-dolfin-adjoint: Disable failing tests, fix build., guix-commits, 2024/07/11