From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53644) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFRRe-0004iz-LE for guix-patches@gnu.org; Wed, 24 Oct 2018 18:16:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gFRRa-0001Nx-AR for guix-patches@gnu.org; Wed, 24 Oct 2018 18:16:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36698) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gFRRa-0001Nk-5I for guix-patches@gnu.org; Wed, 24 Oct 2018 18:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gFRRa-0006lS-0L for guix-patches@gnu.org; Wed, 24 Oct 2018 18:16:02 -0400 Subject: [bug#33059] [PATCH 09/10] gnu: Add python-fenics-dolfin. Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) In-Reply-To: <1539682284-6446-9-git-send-email-pgarlick@tourbillion-technology.com> (Paul Garlick's message of "Tue, 16 Oct 2018 10:31:23 +0100") References: <1539682284-6446-1-git-send-email-pgarlick@tourbillion-technology.com> <1539682284-6446-9-git-send-email-pgarlick@tourbillion-technology.com> Date: Thu, 25 Oct 2018 00:15:04 +0200 Message-ID: <87pnvzvvo7.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Paul Garlick Cc: 33059@debbugs.gnu.org Paul Garlick skribis: > * gnu/packages/simulation.scm (python-fenics-dolfin): New variable. [...] > + (lambda _ > + (use-modules (ice-9 regex) > + (ice-9 rdelim) > + (guix build utils) > + (rnrs io ports)) Rather #:modules. > + ;; Exclude tests that require meshes supplied by git-lfs. > + (with-atomic-file-replacement "demo/test.py" > + (let ((rx (make-regexp "stem !"))) > + (lambda (in out) > + (let loop () Same question as before about using =E2=80=98substitute*=E2=80=99. > + (chdir "../demo") > + ;; Check demos. > + (invoke "python" "generate-demo-files.py") > + (and (invoke "python" "-m" "pytest" "-v" "test.py") > + (invoke "python" "-m" "pytest" "-v" "test.py" > + "--mpiexec=3Dmpiexec" "--num-proc=3D3")) > + (chdir "..") Rather =E2=80=98with-directory-excursion=E2=80=99. > + (home-page > + "https://bitbucket.org/fenics-project/dolfin/") > + (synopsis > + "High-level problem solving environment for differential equations= ") Single line. :-)