From patchwork Sat May 20 23:12:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 50187 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 1F75C27BBE9; Sun, 21 May 2023 00:14:39 +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=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 EC9F727BBE2 for ; Sun, 21 May 2023 00:14:36 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q0Vm2-0007jK-FH; Sat, 20 May 2023 19:14:06 -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 1q0Vm0-0007hi-Eo for guix-patches@gnu.org; Sat, 20 May 2023 19:14:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q0Vm0-0002YQ-6v for guix-patches@gnu.org; Sat, 20 May 2023 19:14:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q0Vm0-0000Yu-2S for guix-patches@gnu.org; Sat, 20 May 2023 19:14:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63619] [PATCH 5/9] gnu: Add python-xarray-einstats. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 20 May 2023 23:14:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63619 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63619@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 63619-submit@debbugs.gnu.org id=B63619.16846244262071 (code B ref 63619); Sat, 20 May 2023 23:14:04 +0000 Received: (at 63619) by debbugs.gnu.org; 20 May 2023 23:13:46 +0000 Received: from localhost ([127.0.0.1]:59554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0Vli-0000XK-9a for submit@debbugs.gnu.org; Sat, 20 May 2023 19:13:46 -0400 Received: from mout02.posteo.de ([185.67.36.66]:41445) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0Vlg-0000Wy-NY for 63619@debbugs.gnu.org; Sat, 20 May 2023 19:13:45 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 3C909240101 for <63619@debbugs.gnu.org>; Sun, 21 May 2023 01:13:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1684624419; bh=0ptGnDAWOx+DMMdK9eo5LyxWzCYZK8Rxfx3qOKZYIZs=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=aFFEy7EJZajtI5DbsVkKDXen6/c3CxDkhrtLT/s4SvOQ6MAYLtOTdpdvahimaR53W Th7+0b0tefFZ+d7x3ZHjqJCzblYZW+mNk2hknODtlX+x+fmT+M+QIZZfUpIAj2ObFB eu3FYZ8vQgyPFhkBhIhxYtBFBiso0ABm/RYGIIU/evfDdTZwMIRW2wXX6U3k8vA7gD NwC3lum9FVpmODs5ZZMUcmCTxLqR6kwdM/yey3wuIUMXC48Q/g9gLsrnLP4IAxRt4/ cI0kcjF6UfQKK0zGKqXbQ7KsdTH1xi9sMWno9R4/F+vqwXmSPTbfgjUI9znKjiFhkB kbL9tkCX1u7aQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QNzzP65tYz9rxF; Sun, 21 May 2023 01:13:37 +0200 (CEST) From: Vinicius Monego Date: Sat, 20 May 2023 23:12:37 +0000 Message-Id: <20230520231241.962799-5-monego@posteo.net> In-Reply-To: <20230520231241.962799-1-monego@posteo.net> References: <20230520231241.962799-1-monego@posteo.net> 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/python-science.scm (python-xarray-einstats): New variable. --- gnu/packages/python-science.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 468da66a2b..d076c877fc 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -730,6 +730,30 @@ (define-public python-xarray and visualization with these data structures.") (license license:asl2.0))) +(define-public python-xarray-einstats + (package + (name "python-xarray-einstats") + (version "0.5.1") + (source (origin + (method git-fetch) ; no tests in PyPI + (uri (git-reference + (url "https://github.com/arviz-devs/xarray-einstats") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1gg7p2lq7zxic64nbr6a8ynizs8rjzb29fnqib7hw3lmp13wsfm0")))) + (build-system pyproject-build-system) + (native-inputs (list python-einops python-flit-core python-numba + python-pytest)) + (propagated-inputs (list python-numpy python-scipy python-xarray)) + (home-page "https://einstats.python.arviz.org/en/latest/") + (synopsis "Stats, linear algebra and einops for xarray") + (description + "@code{xarray_einstats} provides wrappers around some NumPy and SciPy +functions and around einops with an API and features adapted to xarray.") + (license license:asl2.0))) + (define-public python-msgpack-numpy (package (name "python-msgpack-numpy")