From patchwork Tue Apr 12 01:22:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul A. Patience" X-Patchwork-Id: 38531 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 AE39E27BBEA; Tue, 12 Apr 2022 02:23:48 +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_INVALID, DKIM_SIGNED,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 7DBA427BBE9 for ; Tue, 12 Apr 2022 02:23:48 +0100 (BST) Received: from localhost ([::1]:45118 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ne5Fz-00063x-Ll for patchwork@mira.cbaines.net; Mon, 11 Apr 2022 21:23:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42142) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ne5FH-0005NN-KD for guix-patches@gnu.org; Mon, 11 Apr 2022 21:23:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52679) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ne5FH-0001em-BP for guix-patches@gnu.org; Mon, 11 Apr 2022 21:23:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ne5FH-0003WC-7x for guix-patches@gnu.org; Mon, 11 Apr 2022 21:23:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54870] [PATCH 1/5] gnu: fenics-dolfin: Honor #:tests? flag. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 12 Apr 2022 01:23:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54870 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54870@debbugs.gnu.org Cc: "Paul A. Patience" X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164972653313367 (code B ref -1); Tue, 12 Apr 2022 01:23:03 +0000 Received: (at submit) by debbugs.gnu.org; 12 Apr 2022 01:22:13 +0000 Received: from localhost ([127.0.0.1]:46554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ne5ES-0003TS-Jt for submit@debbugs.gnu.org; Mon, 11 Apr 2022 21:22:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:58242) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ne5EQ-0003TB-Hx for submit@debbugs.gnu.org; Mon, 11 Apr 2022 21:22:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41774) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ne5EQ-0003sQ-Cj for guix-patches@gnu.org; Mon, 11 Apr 2022 21:22:10 -0400 Received: from mail-4317.proton.ch ([185.70.43.17]:11321) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ne5EO-0001Va-6U for guix-patches@gnu.org; Mon, 11 Apr 2022 21:22:09 -0400 Date: Tue, 12 Apr 2022 01:22:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1649726526; bh=kyVjyXiUd72n7yptUdLADBTP/1VxTlI7KtD6JzGXySo=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=WK8JXXr5dfIH5g6RCY27b59e7EBkFRh6di8NSb12xrOxQSq/uzXRezCVZPltI5bYr uWqbeQDA8DIErptOLU0q16lM6NSwa36TIJk8u5uf5y2QyQlb+NFZWQ9d/KcAu+mzRn HAcqGCjaChNh6a9Kt0CM+kWhs6xCo6Qnmp1PErlHWaKB2H5pp1CZrtsUHJZWyjyQn/ rh3lv6s7svyv66v0KA/uC2jLcyluBWY1QQOYrMuS59m20U6LSBtMdMgSppmIl+BTvU pFpAPcjelQwUvEFcZbMZeJFCb7jT3NhpVHkyJhT8pS6xPqEqxr2wFWLjPHi7IJsq5d 7Fh0/0h6e5PPw== From: "Paul A. Patience" Message-ID: <20220412012143.30573-2-paul@apatience.com> In-Reply-To: <20220412012143.30573-1-paul@apatience.com> References: <20220412012143.30573-1-paul@apatience.com> MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.43.17; envelope-from=paul@apatience.com; helo=mail-4317.proton.ch X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_SBL_A=0.1 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Reply-To: "Paul A. Patience" Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/simulation.scm (fenics-dolfin)[arguments]: Adjust custom 'check phase to honor the #:tests? flag. --- gnu/packages/simulation.scm | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) -- 2.35.1 diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm index 3f2d8e136d..aebb6be15e 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -549,12 +549,13 @@ (define-public fenics-dolfin ")\n") port))) #t)) (replace 'check - (lambda _ - (and (invoke "make" "unittests") - (invoke "make" "demos") - (invoke "ctest" "-R" "unittests") - (invoke "ctest" "-R" "demo" "-R" "serial") - (invoke "ctest" "-R" "demo" "-R" "mpi"))))))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (and (invoke "make" "unittests") + (invoke "make" "demos") + (invoke "ctest" "-R" "unittests") + (invoke "ctest" "-R" "demo" "-R" "serial") + (invoke "ctest" "-R" "demo" "-R" "mpi")))))))) (home-page "https://bitbucket.org/fenics-project/dolfin/") (synopsis "Problem solving environment for differential equations") (description From patchwork Tue Apr 12 01:22:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul A. Patience" X-Patchwork-Id: 38530 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 2AC9427BBEA; Tue, 12 Apr 2022 02:23:48 +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_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED 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 EB6F427BBE9 for ; Tue, 12 Apr 2022 02:23:47 +0100 (BST) Received: from localhost ([::1]:45026 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ne5Fz-00060z-4M for patchwork@mira.cbaines.net; Mon, 11 Apr 2022 21:23:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42148) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ne5FI-0005OP-82 for guix-patches@gnu.org; Mon, 11 Apr 2022 21:23:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52681) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ne5FH-0001et-W7 for guix-patches@gnu.org; Mon, 11 Apr 2022 21:23:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ne5FH-0003WR-SJ for guix-patches@gnu.org; Mon, 11 Apr 2022 21:23:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54871] [PATCH 2/5] gnu: fenics: Honor #:tests? flag. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 12 Apr 2022 01:23:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54871 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54871@debbugs.gnu.org Cc: "Paul A. Patience" X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164972653613389 (code B ref -1); Tue, 12 Apr 2022 01:23:03 +0000 Received: (at submit) by debbugs.gnu.org; 12 Apr 2022 01:22:16 +0000 Received: from localhost ([127.0.0.1]:46560 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ne5EW-0003Ts-00 for submit@debbugs.gnu.org; Mon, 11 Apr 2022 21:22:16 -0400 Received: from lists.gnu.org ([209.51.188.17]:58352) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ne5ET-0003Tf-LJ for submit@debbugs.gnu.org; Mon, 11 Apr 2022 21:22:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41798) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ne5ET-0003yJ-GW for guix-patches@gnu.org; Mon, 11 Apr 2022 21:22:13 -0400 Received: from mail-0301.mail-europe.com ([188.165.51.139]:52797) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ne5ER-0001We-TG for guix-patches@gnu.org; Mon, 11 Apr 2022 21:22:13 -0400 Date: Tue, 12 Apr 2022 01:22:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1649726527; bh=ve+xmzDstckFr1lR3VzRtQZ3PFsgmkUrVeUUn9x0FOg=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=Ru2I4SuAft/ODvgOSb9bpn0TuO6Xlgncieya3plqYwHJWYOmONSFTu8XkltQF34fL 1+CJ9xbuPacNaK8OpAITsJCuAUc8ZMFoiuFyz9vq4OTUg5nux/i/nXX4Kzveevsc2i uh5nsqjY/ZotI38u8IMwm3rHx6hKRQ6G6xCTebG5b7JKh8JtdJtuIOBj1X6xs85Hgz 1+9qAokSRIrgu/Y25G2rz2/b6V6jZsFqwi4WIkHxd2rwFw2tcP+u2zt1rY/bTM+/gf 9Q6N0ZYrOXK5WFNBKGpzxx44AgvPdrjMpexZEWVs/CkUrfHHdt6ou6TjY2lkQrBRe3 OXcTyd+srKeYA== From: "Paul A. Patience" Message-ID: <20220412012143.30573-3-paul@apatience.com> In-Reply-To: <20220412012143.30573-1-paul@apatience.com> References: <20220412012143.30573-1-paul@apatience.com> MIME-Version: 1.0 Received-SPF: pass client-ip=188.165.51.139; envelope-from=paul@apatience.com; helo=mail-0301.mail-europe.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Reply-To: "Paul A. Patience" Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/simulation.scm (fenics)[arguments]: Adjust custom 'check phase to honor the #:tests? flag. --- gnu/packages/simulation.scm | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) -- 2.35.1 diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm index aebb6be15e..3260841608 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -660,17 +660,18 @@ (define-public fenics ;; Restrict OpenBLAS to MPI-only in preference to MPI+OpenMP. (setenv "OPENBLAS_NUM_THREADS" "1"))) (replace 'check - (lambda _ - (with-directory-excursion "test" - ;; Note: The test test_snes_set_from_options() in the file - ;; unit/nls/test_PETScSNES_solver.py fails and is ignored. - ;; Limit the number of jobs to 3 as 500 MiB of memory is used - ;; per process. - (invoke "mpirun" "-np" (number->string - (min 3 (parallel-job-count))) - "python" "-B" "-m" - "pytest" "unit" "--ignore" - "unit/nls/test_PETScSNES_solver.py")))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (with-directory-excursion "test" + ;; Note: The test test_snes_set_from_options() in the file + ;; unit/nls/test_PETScSNES_solver.py fails and is ignored. + ;; Limit the number of jobs to 3 as 500 MiB of memory is used + ;; per process. + (invoke "mpirun" "-np" (number->string + (min 3 (parallel-job-count))) + "python" "-B" "-m" + "pytest" "unit" "--ignore" + "unit/nls/test_PETScSNES_solver.py"))))) (add-after 'install 'install-demo-files (lambda* (#:key outputs #:allow-other-keys) (let* ((demos (string-append From patchwork Tue Apr 12 01:22:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul A. Patience" X-Patchwork-Id: 38532 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 DECF727BBEA; Tue, 12 Apr 2022 02:23:58 +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_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED 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 A8AB027BBE9 for ; Tue, 12 Apr 2022 02:23:58 +0100 (BST) Received: from localhost ([::1]:45632 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ne5G9-0006Tq-R0 for patchwork@mira.cbaines.net; Mon, 11 Apr 2022 21:23:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ne5FI-0005Pn-TW for guix-patches@gnu.org; Mon, 11 Apr 2022 21:23:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52683) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ne5FI-0001f6-Kw for guix-patches@gnu.org; Mon, 11 Apr 2022 21:23:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ne5FI-0003Wg-HT for guix-patches@gnu.org; Mon, 11 Apr 2022 21:23:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54872] [PATCH 3/5] gnu: python-vedo: Honor #:tests? flag. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 12 Apr 2022 01:23:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54872 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54872@debbugs.gnu.org Cc: "Paul A. Patience" X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164972654613419 (code B ref -1); Tue, 12 Apr 2022 01:23:04 +0000 Received: (at submit) by debbugs.gnu.org; 12 Apr 2022 01:22:26 +0000 Received: from localhost ([127.0.0.1]:46566 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ne5Eg-0003UN-KT for submit@debbugs.gnu.org; Mon, 11 Apr 2022 21:22:26 -0400 Received: from lists.gnu.org ([209.51.188.17]:58720) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ne5Ef-0003UF-A9 for submit@debbugs.gnu.org; Mon, 11 Apr 2022 21:22:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41918) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ne5Ef-0004IF-56 for guix-patches@gnu.org; Mon, 11 Apr 2022 21:22:25 -0400 Received: from mail-0201.mail-europe.com ([51.77.79.158]:49704) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ne5Ed-0001Y9-1g for guix-patches@gnu.org; Mon, 11 Apr 2022 21:22:24 -0400 Date: Tue, 12 Apr 2022 01:22:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1649726539; bh=XWjHmZj5bTZH2nrj+6uDKfsmQ/Fg2RMHA5hzjP1hHw4=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=cGxTeTRp/NCpkxBfUIvAGnG9cv7NiymGjWmHRt5+5T7yk5aX1GRql/4MzYOwToNgF rGKjod9CPT06P95v/WGma+PSx3aqq/TruaOjJGxCEd1CrQ/T/odaViWd++d1r9El4n TzcX2RgHI3jm5fkH2Jg1JVAta1lMNvwZk40wqzP9VpzQd+tX2DTW/7r1Yk6u3MhvLS UNkvUONawx1o4gdhJ3E9IZgLb3JF8zJ+C1dvl31oXRHy/jZ4mfqaj+5MSXcqP0z0SQ XfD4uBF/0f5Pgg81eKxdwZqBJzafBP+9YeluOZzku+gQjH3o3C+h8s9F5bZPMe1IN/ DOP+XVr/6L18g== From: "Paul A. Patience" Message-ID: <20220412012143.30573-4-paul@apatience.com> In-Reply-To: <20220412012143.30573-1-paul@apatience.com> References: <20220412012143.30573-1-paul@apatience.com> MIME-Version: 1.0 Received-SPF: pass client-ip=51.77.79.158; envelope-from=paul@apatience.com; helo=mail-0201.mail-europe.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Reply-To: "Paul A. Patience" Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-science.scm (python-vedo)[arguments]: Adjust custom 'check phase to honor the #:tests? flag. Also remove its trailing boolean. --- gnu/packages/python-science.scm | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) -- 2.35.1 diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 07d713e013..4538904b68 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -876,15 +876,15 @@ (define-public python-vedo (add-after 'build 'mpi-setup ,%openmpi-setup) (replace 'check - (lambda* (#:key inputs outputs #:allow-other-keys) - (setenv "HOME" (getcwd)) - (add-installed-pythonpath inputs outputs) - (with-directory-excursion "tests" - (for-each (lambda (dir) - (with-directory-excursion dir - (invoke "./run_all.sh"))) - '("common" "dolfin"))) - #t))))) + (lambda* (#:key tests? inputs outputs #:allow-other-keys) + (when tests? + (setenv "HOME" (getcwd)) + (add-installed-pythonpath inputs outputs) + (with-directory-excursion "tests" + (for-each (lambda (dir) + (with-directory-excursion dir + (invoke "./run_all.sh"))) + '("common" "dolfin"))))))))) (inputs ; for the check phase `(("dolfin" ,fenics) ("pkgconfig" ,python-pkgconfig) From patchwork Tue Apr 12 01:22:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul A. Patience" X-Patchwork-Id: 38529 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 6660F27BBEB; Tue, 12 Apr 2022 02:23:17 +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_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED 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 1E48727BBE9 for ; Tue, 12 Apr 2022 02:23:17 +0100 (BST) Received: from localhost ([::1]:44402 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ne5FU-0005ZE-9O for patchwork@mira.cbaines.net; Mon, 11 Apr 2022 21:23:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42156) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ne5FK-0005TV-5Q for guix-patches@gnu.org; Mon, 11 Apr 2022 21:23:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52687) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ne5FJ-0001fQ-SY for guix-patches@gnu.org; Mon, 11 Apr 2022 21:23:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ne5FJ-0003X9-PD for guix-patches@gnu.org; Mon, 11 Apr 2022 21:23:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54874] [PATCH 4/5] gnu: python-vedo: Remove input labels. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 12 Apr 2022 01:23:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54874 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54874@debbugs.gnu.org Cc: "Paul A. Patience" X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164972657013478 (code B ref -1); Tue, 12 Apr 2022 01:23:05 +0000 Received: (at submit) by debbugs.gnu.org; 12 Apr 2022 01:22:50 +0000 Received: from localhost ([127.0.0.1]:46574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ne5F4-0003VK-4r for submit@debbugs.gnu.org; Mon, 11 Apr 2022 21:22:50 -0400 Received: from lists.gnu.org ([209.51.188.17]:58980) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ne5En-0003Uc-6T for submit@debbugs.gnu.org; Mon, 11 Apr 2022 21:22:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41964) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ne5En-0004Vz-1I for guix-patches@gnu.org; Mon, 11 Apr 2022 21:22:33 -0400 Received: from mail-4323.proton.ch ([185.70.43.23]:50706) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ne5El-0001ZO-6c for guix-patches@gnu.org; Mon, 11 Apr 2022 21:22:32 -0400 Date: Tue, 12 Apr 2022 01:22:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1649726549; bh=RMA0eOqbrT54fixWwH1NksStjUAMXMEEGd8mFls+2xQ=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=VL+jAuS1MqgaL/3Qr2jSxZICZ8vSuGm2sP+8+p7OIUFU6CILFouSgBD1za8WJtUNk RT3geosN9ew4bE/LzArjDzQeQcTnyZjBlIfUGWcbspy2Ohv7YG6Nyml8EibbYvMjg9 B1UzxfgP1SY7XLozCY9U6yXTlAwJ1u9ps0YZX0pANta18Of+YO9b6BHSJW9NPgc5nO EEAsQWyd88YW0C37o03eOMvqaSf47kjnnTfFNsz2/0qVokuCQTGcuyk06aDjJ+3Mx/ 5xAWJ1wK9NnZV6oVexPet2kPDt9sxivP7veE/S/GqhbjZxb4UIvcCzFr4aLvA2d8rV /QaOh+17chUqw== From: "Paul A. Patience" Message-ID: <20220412012143.30573-5-paul@apatience.com> In-Reply-To: <20220412012143.30573-1-paul@apatience.com> References: <20220412012143.30573-1-paul@apatience.com> MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.43.23; envelope-from=paul@apatience.com; helo=mail-4323.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Reply-To: "Paul A. Patience" Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-science.scm (python-vedo)[inputs]: Remove labels and sort the inputs. [propagated-inputs]: Remove labels. --- gnu/packages/python-science.scm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) -- 2.35.1 diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 4538904b68..3afaa0efc2 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -886,14 +886,14 @@ (define-public python-vedo (invoke "./run_all.sh"))) '("common" "dolfin"))))))))) (inputs ; for the check phase - `(("dolfin" ,fenics) - ("pkgconfig" ,python-pkgconfig) - ("matplotlib" ,python-matplotlib))) + (list fenics + python-matplotlib + python-pkgconfig)) (native-inputs ; for python-pkgconfig (list pkg-config)) (propagated-inputs - `(("numpy" ,python-numpy) - ("vtk" ,vtk))) + (list python-numpy + vtk)) (home-page "https://github.com/marcomusy/vedo") (synopsis "Analysis and visualization of 3D objects and point clouds") From patchwork Tue Apr 12 01:22:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul A. Patience" X-Patchwork-Id: 38528 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 04DD927BBEA; Tue, 12 Apr 2022 02:23:16 +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_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED 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 CB25F27BBE9 for ; Tue, 12 Apr 2022 02:23:15 +0100 (BST) Received: from localhost ([::1]:44314 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ne5FS-0005U2-Tb for patchwork@mira.cbaines.net; Mon, 11 Apr 2022 21:23:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42154) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ne5FJ-0005Rg-Hb for guix-patches@gnu.org; Mon, 11 Apr 2022 21:23:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52685) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ne5FJ-0001fE-8g for guix-patches@gnu.org; Mon, 11 Apr 2022 21:23:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ne5FJ-0003Wu-54 for guix-patches@gnu.org; Mon, 11 Apr 2022 21:23:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54873] [PATCH 5/5] gnu: python-vedo: Update to 2022.2.0. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 12 Apr 2022 01:23:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54873 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54873@debbugs.gnu.org Cc: "Paul A. Patience" X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164972656313454 (code B ref -1); Tue, 12 Apr 2022 01:23:04 +0000 Received: (at submit) by debbugs.gnu.org; 12 Apr 2022 01:22:43 +0000 Received: from localhost ([127.0.0.1]:46572 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ne5Ew-0003Uv-TL for submit@debbugs.gnu.org; Mon, 11 Apr 2022 21:22:43 -0400 Received: from lists.gnu.org ([209.51.188.17]:59202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ne5Ev-0003Uo-2S for submit@debbugs.gnu.org; Mon, 11 Apr 2022 21:22:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42002) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ne5Eu-0004io-Sg for guix-patches@gnu.org; Mon, 11 Apr 2022 21:22:40 -0400 Received: from mail-0301.mail-europe.com ([188.165.51.139]:51081) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ne5Et-0001cL-CY for guix-patches@gnu.org; Mon, 11 Apr 2022 21:22:40 -0400 Date: Tue, 12 Apr 2022 01:22:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1649726555; bh=9Go13ec/pNfeSOZX5C/oSXUdr30eqC2awzCnJmCaZyc=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=LpVG02iOUfdzaZg8eej5VJiz1lhHkKEFaEnhS2Wt5f8nxgseSSnZvy7aa85xIjqnj guGZ8ZZvDmpwfFWDAIN02KUKaV/9jls9i5nadd9gzYAk48MXQvQ92sfQ3bf5hwwlVV rEO+PCQ1T0sCYRCASRt04Ewv/wk1iiGVJ18neKBjojTQctkDIOE4lleHzm6bcnWNlL ZsRu7ZY6juLnFbm3+gML8dlQdrNo6wvoiBANaFeD70jxwPOT85tpVeMhPCGlB7uhrp xWoOUFP+djDLVEFuFB+mOF+QUj989nkmT/JN7XabNtt+9nk5YfB8dEU2ZVstWWZYun 2lxXqeqwU7WuQ== From: "Paul A. Patience" Message-ID: <20220412012143.30573-6-paul@apatience.com> In-Reply-To: <20220412012143.30573-1-paul@apatience.com> References: <20220412012143.30573-1-paul@apatience.com> MIME-Version: 1.0 Received-SPF: pass client-ip=188.165.51.139; envelope-from=paul@apatience.com; helo=mail-0301.mail-europe.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Reply-To: "Paul A. Patience" Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-science.scm (python-vedo): Update to 2022.2.0. [propagated-inputs]: Add python-deprecated. --- gnu/packages/python-science.scm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) -- 2.35.1 diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 3afaa0efc2..f5fcdae613 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -858,17 +858,17 @@ (define-public python-upsetplot (define-public python-vedo (package (name "python-vedo") - (version "2021.0.3") + (version "2022.2.0") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/marcomusy/vedo") - (commit version))) + (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 - "18i3ajh5jzhpc86di15lwh4jv97jhm627ii877sa4yhv6abzjfpn")))) + "1hhv4xc4bphhd1zrnf7r6fpf65xvkdqmb1lh51qg1xpv91h2az0h")))) (build-system python-build-system) (arguments `(#:phases @@ -892,7 +892,8 @@ (define-public python-vedo (native-inputs ; for python-pkgconfig (list pkg-config)) (propagated-inputs - (list python-numpy + (list python-deprecated + python-numpy vtk)) (home-page "https://github.com/marcomusy/vedo") (synopsis