From patchwork Mon Jul 1 20:46:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 65822 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 670AA27BBEA; Mon, 1 Jul 2024 21:48:34 +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.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 9951B27BBE2 for ; Mon, 1 Jul 2024 21:48:33 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sONwV-0006hu-ST; Mon, 01 Jul 2024 16:48:07 -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-0006gh-Tx 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 1sONwQ-0007p5-M8 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 1sONwR-0002O2-Az for guix-patches@gnu.org; Mon, 01 Jul 2024 16:48:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71884] [PATCH 2/3] gnu: python-dolfin-adjoint: Adjust package style. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 01 Jul 2024 20:48:03 +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.17198668559106 (code B ref 71884); Mon, 01 Jul 2024 20:48:03 +0000 Received: (at 71884) by debbugs.gnu.org; 1 Jul 2024 20:47:35 +0000 Received: from localhost ([127.0.0.1]:34827 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sONvz-0002Mi-9L for submit@debbugs.gnu.org; Mon, 01 Jul 2024 16:47:35 -0400 Received: from mail-wm1-f52.google.com ([209.85.128.52]:44386) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sONvw-0002M6-5M for 71884@debbugs.gnu.org; Mon, 01 Jul 2024 16:47:33 -0400 Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-42562e4b5d1so24819785e9.1 for <71884@debbugs.gnu.org>; Mon, 01 Jul 2024 13:47:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719866785; x=1720471585; 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=y6TfW/zf00qsCqTPc0dTxMkv3A8/9xrMIshjUx+/LPw=; b=ipVUxAV3b9YhE/jqxbW4LBIp4Cky56J2W26d+CSDx+ylZDa+XHyI4FtSc0TKKSzlWh OSY7BNVIAHloCU/CtWdy0ohFf0IeIdmYhpoMLqv/t/0pY1XZnl4cvBkSvv7UTbtGd1ru Vs4escWLgiRARXwRM+56ZcxeK+B0xVH0bZtKTRvw5G2pkqedS6Lv6CSer7z7l6c7VzjA G3AHl+LCSeYhGJreadJmDWJGlYG3caobSRg+RaS0nEWGNPjK94v5qGFTl/QXgtTZEhy5 3YA1zmIpiPORROgsmGet2VnwaR9qN7ZTGIL0aQnyP+1qt4ER8ewLxRbw1VIprW6KBMTG +XfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719866785; x=1720471585; 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=y6TfW/zf00qsCqTPc0dTxMkv3A8/9xrMIshjUx+/LPw=; b=GOUh6jDtPfl8gxf0jBw891zYNlSf+loMx8/Ed0Ej9y/mFLqg5aQfKiehNJrE5ZcG/w jYcOxzViyseKxSoaeg6dlo2Sgx0Bo0eV7lGk8VBQ/w4w98a3Sj01e9esvI3/B94EpS6F guR7ARZfSUQqvo6ZhOl/GG0jF0wl23g7fzzUCo046bPUs5MZdGiuSh6ei2HPkBfK6H+q HistTZSpNbXqzi+kAX9YLTyv8OjQgLNVpzD1eESiP6KOWBSSzs1aOPndghS34d6eefbO 7ceiVDYHKQ3cqnM1qilvDld8LDI+8bt8BgC0mGoOSfENIwTQKuiEttM9l6sFzVcKOGYV j7oA== X-Gm-Message-State: AOJu0YzGZrR7g3OUPZrjELFkrE8q5r+p3/nz09yHWocScqBf9pN1VmKw p5gZi9+PCj8rCZrjzJdBgIdDIHBcl2KKQiUjLXHK0fecNgQ9mNJeQgZ2KLtx X-Google-Smtp-Source: AGHT+IGC/b0DaZGFCgXAH6sOtDSzgRW+LnkgEeFym/k+5CvSwLe6gjUeqktMfQY9JzldpDfxUF8E0Q== X-Received: by 2002:a05:600c:6d4:b0:425:5f97:ecb8 with SMTP id 5b1f17b1804b1-4257a00dcd3mr50837555e9.15.1719866785311; Mon, 01 Jul 2024 13:46:25 -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.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jul 2024 13:46:24 -0700 (PDT) From: Sharlatan Hellseher Date: Mon, 1 Jul 2024 21:46:20 +0100 Message-ID: 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): Move inputs after arguments. [description]: Place it on a new line, fix indentation. Change-Id: I3d971e48b4072258ed0b41af5c202e64af9de8f3 --- gnu/packages/simulation.scm | 40 ++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm index ab86e1d792..5341c0ae55 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -1204,17 +1204,6 @@ (define-public python-dolfin-adjoint "tests/migration/viscoelasticity/test-results") #t)))) (build-system python-build-system) - (inputs - (list fenics openmpi pybind11)) - (native-inputs - (list pkg-config - python-coverage - python-decorator - python-flake8 - python-pkgconfig - python-pytest)) - (propagated-inputs - `(("scipy" ,python-scipy))) (arguments `(#:phases (modify-phases %standard-phases @@ -1245,17 +1234,28 @@ (define-public python-dolfin-adjoint ;; fails with an ImportError if it sees that the backend module ;; has already been loaded. (delete 'sanity-check)))) + (inputs + (list fenics openmpi pybind11)) + (native-inputs + (list pkg-config + python-coverage + python-decorator + python-flake8 + python-pkgconfig + python-pytest)) + (propagated-inputs + (list python-scipy)) (home-page "https://www.dolfin-adjoint.org") (synopsis "Automatic differentiation library") - (description "@code{python-dolfin-adjoint} is a solver of -differential equations associated with a governing system and a -functional of interest. Working from the forward model the solver -automatically derives the discrete adjoint and tangent linear models. -These additional models are key ingredients in many algorithms such as -data assimilation, optimal control, sensitivity analysis, design -optimisation and error estimation. The dolfin-adjoint project -provides the necessary tools and data structures for cases where the -forward model is implemented in @code{fenics} or + (description + "@code{python-dolfin-adjoint} is a solver of differential equations +associated with a governing system and a functional of interest. Working from +the forward model the solver automatically derives the discrete adjoint and +tangent linear models. These additional models are key ingredients in many +algorithms such as data assimilation, optimal control, sensitivity analysis, +design optimisation and error estimation. The dolfin-adjoint project provides +the necessary tools and data structures for cases where the forward model is +implemented in @code{fenics} or @url{https://firedrakeproject.org,firedrake}.") (license license:lgpl3)))