From patchwork Sat Sep 7 16:56:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 67733 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 3BEF927BBEA; Sat, 7 Sep 2024 17:57:46 +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=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,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 DF39527BBE2 for ; Sat, 7 Sep 2024 17:57:45 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smykG-0000to-Hs; Sat, 07 Sep 2024 12:57:08 -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 1smykD-0000sG-4r for guix-patches@gnu.org; Sat, 07 Sep 2024 12:57:06 -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 1smykC-0001c3-SG for guix-patches@gnu.org; Sat, 07 Sep 2024 12:57:04 -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=7QvCQXaQe8qe6uxvwWrSW/kwu7T4fxu3gIcwyZltEew=; b=Q+uE2O+zkhOo2L2+khZnM8JJdHOx85WINlCJuVAb///d+Fx8rxsp8dETixGtHWrYZO4HtQpb0ykdMkihfYDJm9t2DFzlfe56C6OoMjKEBCUg3xBff2/Eve/1HX+IhuMSLNWCoP/8rZjoIR3eroLbbaxQR+RCcGY2F6u79YzPv5l73/fjYIOvqx0/dsE9N8/mQnuCK+QyPJIFo3+tiyxq0IMpilM1jGHrkRP87RnVr3R7g/jfecniCNAkp7/p1edSjWn0xkl7J0HS8KqjM3IRFZfTnkDrI1KLadsragIq1hxgHYfDrZHNUJGUMDaTvc/MzHXIBHjUNZiNR0NOiVHAiA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1smykD-0007wa-R5 for guix-patches@gnu.org; Sat, 07 Sep 2024 12:57:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73106] [PATCH 09/10] gnu: Add rust-numpy-0.21. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Sep 2024 16:57:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73106 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73106@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 73106-submit@debbugs.gnu.org id=B73106.172572820530439 (code B ref 73106); Sat, 07 Sep 2024 16:57:05 +0000 Received: (at 73106) by debbugs.gnu.org; 7 Sep 2024 16:56:45 +0000 Received: from localhost ([127.0.0.1]:57453 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smyjs-0007ul-Sj for submit@debbugs.gnu.org; Sat, 07 Sep 2024 12:56:45 -0400 Received: from 3.mo560.mail-out.ovh.net ([46.105.58.226]:47475) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smyjo-0007tp-9Q for 73106@debbugs.gnu.org; Sat, 07 Sep 2024 12:56:41 -0400 Received: from director6.ghost.mail-out.ovh.net (unknown [10.109.139.191]) by mo560.mail-out.ovh.net (Postfix) with ESMTP id 4X1K4k1BZwz1Y9m for <73106@debbugs.gnu.org>; Sat, 7 Sep 2024 16:56:38 +0000 (UTC) Received: from ghost-submission-55b549bf7b-b86kn (unknown [10.111.182.119]) by director6.ghost.mail-out.ovh.net (Postfix) with ESMTPS id E40B51FE06; Sat, 7 Sep 2024 16:56:37 +0000 (UTC) Received: from ngraves.fr ([37.59.142.97]) by ghost-submission-55b549bf7b-b86kn with ESMTPSA id xhQ3JMWF3GbJuwkAJWjdqg (envelope-from ); Sat, 07 Sep 2024 16:56:37 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-97G0023e333c06-a086-4e65-814f-0b5d446acd94, 9FD0014F98746B3795650381BBEC0664E0950E21) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.146.208 Date: Sat, 7 Sep 2024 18:56:15 +0200 Message-ID: <20240907165626.22651-9-ngraves@ngraves.fr> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240907165626.22651-1-ngraves@ngraves.fr> References: <20240907165626.22651-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 9639392055238517474 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrudeifedguddutdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugeeirddvtdekpdefjedrheelrddugedvrdeljeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefuddtieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheeitddpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=7QvCQXaQe8qe6uxvwWrSW/kwu7T4fxu3gIcwyZltEew=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1725728198; v=1; b=cxsCkRLr4Jv3G90e98Zej55itVmo9BAouRuiDQToGYIp24z8UP1F7EwI2lGXjK9zBFH1hLmu HgJ2PfLOGf7UOP8dsnWnbfMbk1g5DnnbSeVQCePEwZRbcrLa8mzAEfsqDkO0i6S4hI5qk8qq0q1 9ry/895oKfBmE1zH7aVRbDaS0nuznjsu9HBTcYy82vYcirFqOsaHJB06qF2wGgEPhbGBRxpnBTw 3IWqGSOZ0KKTkhNjQhJjvM3Tb6vp859GPjmDTgn6XkjM7ffw5NQxCplRmYafiyoPU5m9ZoElkRC hvQj/0KttSPydZJ6J3ktW7cTYV/G3YSW02nXFd6QrsAvw== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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/crates-io.scm (rust-numpy-0.21): New variable. Change-Id: Idae5915f3cefa47c16c4bf9a5679f55621e35da7 --- gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7a8f090fd9..ba5cb75d2c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -48734,6 +48734,41 @@ (define-public rust-number-prefix-0.3 giga, kibi.") (license license:expat))) +(define-public rust-numpy-0.21 + (package + (name "rust-numpy") + (version "0.21.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "numpy" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1x1p5x7lwfc5nsccwj98sln5vx3g3n8sbgm5fmfmy5rpr8rhf5zc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-half" ,rust-half-2) + ("rust-libc" ,rust-libc-0.2) + ("rust-nalgebra" ,rust-nalgebra-0.32) + ("rust-ndarray" ,rust-ndarray-0.13) + ("rust-num-complex" ,rust-num-complex-0.2) + ("rust-num-integer" ,rust-num-integer-0.1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-pyo3" ,rust-pyo3-0.21) + ("rust-rustc-hash" ,rust-rustc-hash-1)) + #:cargo-development-inputs + (("rust-nalgebra" ,rust-nalgebra-0.32) + ("rust-pyo3" ,rust-pyo3-0.21)))) + (native-inputs (list python-minimal + (@ (gnu packages python-xyz) python-numpy))) + (home-page "https://github.com/PyO3/rust-numpy") + (synopsis "Rust bindings for the NumPy C-API") + (description + "This package provides @code{PyO3-based} Rust bindings of the +@code{NumPy} C-API.") + (license license:bsd-2))) + (define-public rust-numtoa-0.2 (package (name "rust-numtoa")