From patchwork Mon Jul 1 20:46:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 65824 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1C2ED27BBE2; Mon, 1 Jul 2024 21:48:46 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED,URIBL_SBL_A autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0219F27BBE9 for ; Mon, 1 Jul 2024 21:48:44 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sONwX-0006i0-4t; Mon, 01 Jul 2024 16:48:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sONwR-0006ge-Q4 for guix-patches@gnu.org; Mon, 01 Jul 2024 16:48:05 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sONwP-0007p1-P1 for guix-patches@gnu.org; Mon, 01 Jul 2024 16:48:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sONwQ-0002Nn-Dy for guix-patches@gnu.org; Mon, 01 Jul 2024 16:48:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71884] [PATCH 1/3] gnu: python-dolfin-adjoint: Fix indentation. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 01 Jul 2024 20:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71884 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71884@debbugs.gnu.org Cc: Sharlatan Hellseher Received: via spool by 71884-submit@debbugs.gnu.org id=B71884.17198668489072 (code B ref 71884); Mon, 01 Jul 2024 20:48:02 +0000 Received: (at 71884) by debbugs.gnu.org; 1 Jul 2024 20:47:28 +0000 Received: from localhost ([127.0.0.1]:34821 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sONvs-0002MF-A1 for submit@debbugs.gnu.org; Mon, 01 Jul 2024 16:47:28 -0400 Received: from mail-lf1-f42.google.com ([209.85.167.42]:55803) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sONvq-0002M2-8t for 71884@debbugs.gnu.org; Mon, 01 Jul 2024 16:47:27 -0400 Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-52cd628f21cso3543222e87.3 for <71884@debbugs.gnu.org>; Mon, 01 Jul 2024 13:47:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719866784; x=1720471584; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=wbZp9ker9gOVKKStGPxSv9xsrGHCABiiWZXnf2RMR+o=; b=OfKe94jLom/QYlka52p7H7NOoya1axopvrKguFvRFj0j3V7RzFwXQ7lrBi3iKlV+ge BAx/Mt879tILxWSlSchmWoFi+UpIj5yeJtSgP/AOOyC6BF08+W4KJdM4dOU5FktodyZv hzwOU/fprCl++llxtiqZXb6MOgxB3ZrOgmGoLRylfexrlSaqY/CdelYUruXwqCvP4ePd 25jz7RDXFTm+wuvVhFVHjJItcEnEKI6OLtnMgEaxsOL5dhFOlkUMCXWzVTZ7VwXwTw2V bs0cHyUbyzR/T0Sx9M28g1k3ieW+g0EmtjGH61Nklf9XQ2K1jDrdlPbjb/Anq4ptbAj7 urPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719866784; x=1720471584; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wbZp9ker9gOVKKStGPxSv9xsrGHCABiiWZXnf2RMR+o=; b=pvddqgv4rRr8G0xHfzwG+3RR9aKoF50Ev8mJfdsjj4/oCHLGBHuasv2DAImhJOo4Y6 jEOV8d3mGwuMBBwAuZ7owqWW3JKaX3i/wcGqwbTE8kbxq2+ZVUSBxGjAuXmpa4vKVXkX 01Ab0QxrmIenp5E16bdTQhzXyNlCdMsuYRpjShnBa2phZQ09jS3mYcqUU4AeQbNN1/DS iw8lzwLnY2CVaUd7uUd+pbHT564kqZuWcWOLDlhE3IgPDupJ70SAZhYAY3aBH5ZnJSEu YEeEyfl6ya8goYzwC7o2zf0jBTQBny7SAtV9AX7nzGMc9LHfU5s4wG/AR6H6uJGCyvs3 iWsg== X-Gm-Message-State: AOJu0YwC3IDQDNu70MGuERUysvMiYzpSwgcrDBrDqfC155pqsXKl3d/E OuDVKojFUohZnsqG8vgm3n0uxxdx4xyoClxIK08J8b6z8/7xWdV0am4fRRqy X-Google-Smtp-Source: AGHT+IF39e5lAug3qoQCMkCifPKTXYxIWHC1sw7xWL+DbMjiq7lIJD2O9+AqFqL87H8hHR4dUACmLg== X-Received: by 2002:a05:6512:3b81:b0:52c:dc25:d706 with SMTP id 2adb3069b0e04-52e8270172cmr4421290e87.52.1719866784359; Mon, 01 Jul 2024 13:46:24 -0700 (PDT) Received: from guxtil.incerto.xyz (bagu-15-b2-v4wan-170076-cust245.vm21.cable.virginm.net. [77.98.0.246]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3675a0e1688sm11076402f8f.60.2024.07.01.13.46.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jul 2024 13:46:23 -0700 (PDT) From: Sharlatan Hellseher Date: Mon, 1 Jul 2024 21:46:19 +0100 Message-ID: <85179153ce289e6ad62faddb3022bc01b3c28afb.1719866387.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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 @@ (define-public python-dolfin-adjoint (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 @@ (define-public python-dolfin-adjoint `(#: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")