From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id qPfZK6WW0GbjSwAAe85BDQ:P1 (envelope-from ) for ; Thu, 29 Aug 2024 15:41:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id qPfZK6WW0GbjSwAAe85BDQ (envelope-from ) for ; Thu, 29 Aug 2024 17:41:25 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Wr7ZBiQu; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=pxnzwZtp; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1724946085; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=/eHFcDckU2EBycShZAbzte5+goaGJhTBT72L6A9Ghns=; b=BATxaeEARFkANUoWAcYE24KPlrUd3RZm/BRAwOhbqTZBUCKYsLaSGjVJcCsubzePeIl+yr VsilS/BeztsBn7FIUzV6B5bhoLwiVl/o23VKdlLJKPoQb69idvRn/xv4suI+rQeuDq9VXd 3A4ANne+7gm2rZknJr3LxoIxI4c03mO1Ifzq8y2Swy8Cmmrl00GwQxr7TQPIWDEAgf4Jyx bdSSDQ7zL9lIMlbRAkCt6ScI6/nXSHR0Z1Al4ccrImehs1fGf/MbJsjIFqmXfKLs7luWiv naX+W8XUbvcAD/5NtpiWYsr41blHqgqinQUxDzvkFvnxZ63+Pgu+V2j4oXTbUQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1724946085; a=rsa-sha256; cv=none; b=EILwP2hETRvGKf9qP0ZTP5pcjNtT8pumyPI6RaXiddVKoSlSGot1oJQPQhkQvna2yDrIR6 yqDdh3huwiDJ52mr4fqTklxYKE6lgnu7OOjrD+4s+NPnh7DO69Xrpn/jHzLBitpYN5PIyu UH4y9fNzdG2lsc5KUJxQHI3FYxLpim01VGZ8Ucz+x7kiubjlJuG0XsMEYtD07bnL/JXuvq ujWmLO1PuheGHHzs/z02D/3PQ/Q26ouuPPwKArgKXFyFs3YLQ2193qu2pjhEldnyfIf37a Gqxv7IrcHxhMRcZC7ZKzw+FfqBX9EBz5/XHKTz6tTsVRzYoYnsAN87jTZahRMg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Wr7ZBiQu; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=pxnzwZtp; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8B1BFAC32 for ; Thu, 29 Aug 2024 17:41:25 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sjhGp-0005fo-L6; Thu, 29 Aug 2024 11:41:11 -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 1sjhGl-0005fD-7e for guix-patches@gnu.org; Thu, 29 Aug 2024 11:41:08 -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 1sjhGk-0001Hp-A1 for guix-patches@gnu.org; Thu, 29 Aug 2024 11:41:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=/eHFcDckU2EBycShZAbzte5+goaGJhTBT72L6A9Ghns=; b=Wr7ZBiQuntBtM8At2i80V9BDaQLB3M9tKiyi5MVQvHLLH0jEbp9h+DLmaTm0jJr3NF+Q0Ho6F7bcVeV8P2LylBa8r55Q6DvBWhxF8ANm0G8PM0znjZoHZ1abp1y4ns8rh6ddFhb7YoBagsoSZ+jTd4xso+/8oQ3ePefyiIC6azaONXiMyI6dPSY0h5XJvZtFPZCvoMs61DHM9c5ZEuqt1Eyo7GUGx05yUh7u7Tw7ql+mBGCBcL+URtdxEpo8cZ9gbRwmF7BMQ9s4hUVLMhE627ErB+CgSrzrBDLAZFcwim08zoC753+3UfIQorYlW0GeDHySHgWMdq+3QulSP8Fjtw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sjhHd-0003fo-OG; Thu, 29 Aug 2024 11:42:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72877] [PATCH 4/8] gnu: python-slepc4py: Update to 3.21.1. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, bavier@posteo.net, sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Thu, 29 Aug 2024 15:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72877 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72877@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Andreas Enge , Eric Bavier , Sharlatan Hellseher X-Debbugs-Original-Xcc: Andreas Enge , Eric Bavier , Sharlatan Hellseher Received: via spool by 72877-submit@debbugs.gnu.org id=B72877.172494606513981 (code B ref 72877); Thu, 29 Aug 2024 15:42:01 +0000 Received: (at 72877) by debbugs.gnu.org; 29 Aug 2024 15:41:05 +0000 Received: from localhost ([127.0.0.1]:51972 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sjhGi-0003dP-OM for submit@debbugs.gnu.org; Thu, 29 Aug 2024 11:41:05 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46930) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sjhGZ-0003bF-6R for 72877@debbugs.gnu.org; Thu, 29 Aug 2024 11:40:55 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sjhFa-0000zl-D0; Thu, 29 Aug 2024 11:39:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=/eHFcDckU2EBycShZAbzte5+goaGJhTBT72L6A9Ghns=; b=pxnzwZtpJqAxiKzKiTmb tJvOC6rxtqzJMzx95xriAOiSPLNntXt1x4Y5IKboxc3u0m+38uJPTQKYjoJMsIGznVmpa7aD6e0nw MN4TwfbWiMagglVPXfKAqSQ2pzTmpoiLFvxEQF0+LHYhYVEM6g5o9KjCjzkdNTQkTKMHoKFSFNwEa qMXoTagqO6O4qkvnOL4ipKmngQcky2ctKz33bhP2cYNsPl/33tf2tAyMow7frDLbN4KcTY8AqNz7a nUEd25clseCkZOQP+i23fMpM0BeNvZDSGVrweXXBf5sG3zzJryNyvwNMd4cIYs9BbsD1RZF38NeVf g0lTrum5U/XXLA==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Thu, 29 Aug 2024 17:39:37 +0200 Message-ID: <52bd9a22889bd47f077bc6b8240a748ce2cb30e7.1724945557.git.ludo@gnu.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.08 X-Spam-Score: -5.08 X-Migadu-Queue-Id: 8B1BFAC32 X-Migadu-Scanner: mx11.migadu.com X-TUID: Xpcqd/xlLDm4 From: Ludovic Courtès * gnu/packages/maths.scm (python-slepc4py): Update to 3.21.1. [arguments]: Switch to gexps. Replace ‘check’ phase. [native-inputs]: New field. [inputs]: Remove labels. Add ‘petsc-openmpi’. Change-Id: Ib6f1480415ac5128399c32c1974779b67edb5550 --- gnu/packages/maths.scm | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 22e7fc5804..7249eb68da 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -4042,31 +4042,32 @@ (define-public slepc-complex-openmpi (define-public python-slepc4py (package (name "python-slepc4py") - (version "3.16.1") + (version "3.21.1") (source (origin (method url-fetch) (uri (pypi-uri "slepc4py" version)) (sha256 (base32 - "0fq997y73ymvcvdrxycp450pxwdgnqaw62gv9rwncfgsfplkvs9w")))) + "01vvpl8g73knkwnh6mbxd45vwcs4zsw814147fvgkvj30qkhx3mw")))) (build-system python-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'build 'pre-build - (lambda _ - ;; Define path to PETSc installation. - (setenv "PETSC_DIR" (assoc-ref %build-inputs "petsc")) - ;; Define path to SLEPc installation. - (setenv "SLEPC_DIR" (assoc-ref %build-inputs "slepc")) - #t)) - (add-before 'check 'mpi-setup - ,%openmpi-setup)))) - (inputs - `(("python-numpy" ,python-numpy) - ("python-petsc4py" ,python-petsc4py) - ("slepc" ,slepc-openmpi))) + (list #:phases + #~(modify-phases %standard-phases + (add-before 'build 'pre-build + (lambda* (#:key inputs #:allow-other-keys) + ;; Define path to PETSc installation. + (setenv "PETSC_DIR" (assoc-ref inputs "petsc-openmpi")) + ;; Define path to SLEPc installation. + (setenv "SLEPC_DIR" (assoc-ref inputs "slepc-openmpi")))) + (add-before 'check 'mpi-setup + #$%openmpi-setup) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "python" "test/runtests.py"))))))) + (native-inputs (list python-cython-3)) + (inputs (list python-numpy python-petsc4py petsc-openmpi slepc-openmpi)) (home-page "https://bitbucket.org/slepc/slepc4py/") (synopsis "Python bindings for SLEPc") (description "SLEPc, the Scalable Library for Eigenvalue Problem -- 2.45.2