From patchwork Thu Jun 16 18:37:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antero Mejr X-Patchwork-Id: 40054 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 CC0BE27BBEA; Thu, 16 Jun 2022 19:38:22 +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=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,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 8162627BBE9 for ; Thu, 16 Jun 2022 19:38:22 +0100 (BST) Received: from localhost ([::1]:50380 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o1uNp-0003t2-MO for patchwork@mira.cbaines.net; Thu, 16 Jun 2022 14:38:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1uNW-0003sd-Ln for guix-patches@gnu.org; Thu, 16 Jun 2022 14:38:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49242) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o1uNW-0000Lf-Df for guix-patches@gnu.org; Thu, 16 Jun 2022 14:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o1uNW-0000rw-Bh for guix-patches@gnu.org; Thu, 16 Jun 2022 14:38:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56026] [PATCH] gnu: Add python-pynrrd. Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 16 Jun 2022 18:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56026 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56026@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16554046583306 (code B ref -1); Thu, 16 Jun 2022 18:38:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Jun 2022 18:37:38 +0000 Received: from localhost ([127.0.0.1]:43139 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o1uN7-0000rF-Hq for submit@debbugs.gnu.org; Thu, 16 Jun 2022 14:37:37 -0400 Received: from lists.gnu.org ([209.51.188.17]:57864) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o1uN3-0000r5-TG for submit@debbugs.gnu.org; Thu, 16 Jun 2022 14:37:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42118) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1uN1-0003qW-Sq for guix-patches@gnu.org; Thu, 16 Jun 2022 14:37:33 -0400 Received: from mout-p-202.mailbox.org ([80.241.56.172]:56366) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1o1uMz-0000K1-3o for guix-patches@gnu.org; Thu, 16 Jun 2022 14:37:31 -0400 Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4LP9rf5mKWz9sQr for ; Thu, 16 Jun 2022 20:37:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1655404642; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=k0+sa7KQAqBcD+oifvi0Rs8h0OcKzl7mI2fpWcM9IlM=; b=mXrYsp5yGXpPNxTo5q304gKFApVrTvmXfDJExFqicJpGBmObpuldnKr5RQ7y7tnKP/fip+ ZdKdHqbDAlSZu1U0G5KAo6+D2S+H2wqtItUzf+GA7idvWYVrghc7PXz8oOMU3g1UddC0xX JphRniGn3II9hHLXSZ32SYUTOgJJ530jstyKvS+aSiHlTsdaUG9gv86jG6s6LvIvNpUsJk e5DbdBgyjj7GmWjM9tm4JerneW/4ZMzX11AUe4MywP6ByccXzPlbLD2MRYJYyXByC5ykzJ nkORvrd5Wse+LBBuo2i+YYmmTDFnk0dHwKfWUJUhS2Pqgmq1rxI5YRrLinA8xQ== Date: Thu, 16 Jun 2022 18:37:16 +0000 Message-Id: <20220616183716.9088-1-antero@mailbox.org> MIME-Version: 1.0 X-MBO-RS-META: tub5dd9w1331f8ayoi3wy48o7kj7fcg7 X-MBO-RS-ID: c8161579f6784eec145 Received-SPF: pass client-ip=80.241.56.172; envelope-from=antero@mailbox.org; helo=mout-p-202.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_DNSWL_LOW=-0.7, 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Antero Mejr X-ACL-Warn: , Antero Mejr via Guix-patches X-Patchwork-Original-From: Antero Mejr via Guix-patches via From: Antero Mejr X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-science.scm (python-pynrrd): New variable. --- gnu/packages/python-science.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 0684826a6c..f7be371512 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -1367,3 +1367,29 @@ (define-public python-gpy Python, from the Sheffield machine learning group. GPy implements a range of machine learning algorithms based on GPs.") (license license:bsd-3))) + +(define-public python-pynrrd + (package + (name "python-pynrrd") + (version "0.4.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mhe/pynrrd") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "12vlgx2k7jxbq9r9maiix4dbk8alixa0il420bqwhzln08s3chz1")))) + (build-system python-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (delete 'ensure-no-mtimes-pre-1980)))) + (propagated-inputs (list python-numpy)) + (home-page "https://github.com/mhe/pynrrd") + (synopsis "Python module for reading and writing NRRD files") + (description + "@code{pynrrd} is a Python module for reading and writing NRRD +files into and from numpy arrays.") + (license license:expat)))