From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id sMuaOXOzyGWHMgAAqHPOHw:P1 (envelope-from ) for ; Sun, 11 Feb 2024 12:45:56 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id sMuaOXOzyGWHMgAAqHPOHw (envelope-from ) for ; Sun, 11 Feb 2024 12:45:56 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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=1707651955; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: 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; bh=JuZLUpQTxeI/7Bjz2F99NBy98fWpJQMMNNW3OlZEBE0=; b=RDbAbwj7SDlhc+KorxhT6UHwdj6pGjycQN8fWypd6koFq3nEnieQx52UdUt43bxVZKKqL0 YC8FlVV6jW+YkyVLjFjnIbo1jRhi96XCr+qYCZb2IAviZAbWd2IqvSYB5WJfHaKpIFP59x JwQoLVQCp6NEjL8N/ozwBhCtRri1Vsb/KZzlboBHhIcl35X97MAzcuJY+XBO7KvfEb90Ta DuqYTHLaDc42S+kqXCSwJVAjA8qZR7dnF0xSeXsoh223V+CGvnQsFIkELwBTCDaWZA6+2g lQ6TmbpR+rD9dWXfwTSOG/ulNXa/1fmTNWI7TJpQRaic6OfKQ9lD37dsrR9veQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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-Seal: i=1; s=key1; d=yhetil.org; t=1707651955; a=rsa-sha256; cv=none; b=NNveOgRYwhmPE7PEUWwaXAZ3gncmzvWcKYgddbdc7g9KTEaqxUwkJ2N6t1bS0FQNQQ3QqL tu/X8xp8nbgMu43w+z1A36IgrviYzdKllb7GITqOFmyLPtkzYSus7KaCo4ZrZFMIZJCgpK QPkzmRp7/7nlaasMyieDxB/qfB/oJJ67+t0bMeDiNAsJNVb1sfYJIRSzs0F82L4nFMGq7r xy4SetA18QJ0qQlFqc404kt2ue44qEL+1JNkuY32RGPIsLF7GyAL5CcG4opHSD0S73vNh3 MJN7Cb0+9ZToZAm29oIqxyBMtqAy5Kxji43cU0F9O+EeYD25n8ravnCcElEQPg== 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 BAD8C11D57 for ; Sun, 11 Feb 2024 12:45:55 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZ8HM-0005xD-VG; Sun, 11 Feb 2024 06:45:48 -0500 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 1rZ8HL-0005vA-GB for guix-patches@gnu.org; Sun, 11 Feb 2024 06:45:47 -0500 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 1rZ8HL-0006Q9-7p for guix-patches@gnu.org; Sun, 11 Feb 2024 06:45:47 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rZ8Hb-0008Ed-AN for guix-patches@gnu.org; Sun, 11 Feb 2024 06:46:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69048] [PATCH 27/32] gnu: Add rust-pyo3-0.20. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 11 Feb 2024 11:46:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69048 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69048@debbugs.gnu.org Received: via spool by 69048-submit@debbugs.gnu.org id=B69048.170765191331392 (code B ref 69048); Sun, 11 Feb 2024 11:46:03 +0000 Received: (at 69048) by debbugs.gnu.org; 11 Feb 2024 11:45:13 +0000 Received: from localhost ([127.0.0.1]:41777 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZ8Gm-0008A4-7M for submit@debbugs.gnu.org; Sun, 11 Feb 2024 06:45:12 -0500 Received: from mail04.noris.net ([62.128.1.224]:54449) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZ8Gk-00089s-Rx for 69048@debbugs.gnu.org; Sun, 11 Feb 2024 06:45:11 -0500 Received: from mail01.noris.net ([62.128.1.221]) by mail04.noris.net with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim) (envelope-from ) id 1rZ8GS-000FXC-CV for 69048@debbugs.gnu.org; Sun, 11 Feb 2024 12:44:52 +0100 Received: from p57b08159.dip0.t-ipconnect.de ([87.176.129.89] helo=hermia.goebel-consult.de) by mail01.noris.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim) (envelope-from ) id 1rZ8GS-0008NS-97 for 69048@debbugs.gnu.org; Sun, 11 Feb 2024 12:44:52 +0100 Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 5F7AF5F571; Sun, 11 Feb 2024 12:44:00 +0100 (CET) From: Hartmut Goebel Date: Sun, 11 Feb 2024 12:43:36 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <60825c66932829f895e6426b36d6d290a081ffa5.1707650792.git.h.goebel@crazy-compilers.com> References: <60825c66932829f895e6426b36d6d290a081ffa5.1707650792.git.h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Noris-IP: 87.176.129.89 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.38 X-Spam-Score: -5.38 X-Migadu-Queue-Id: BAD8C11D57 X-Migadu-Scanner: mx12.migadu.com X-TUID: 7Pr4FaOxPRYH * gnu/packages/crates-io.scm (rust-pyo3-0.20): New variable. (rust-pyo3-0.19): Inherit from rust-pyo3-0.20. --- gnu/packages/crates-io.scm | 65 ++++++++++++++++++++++++++++++++------ 1 file changed, 56 insertions(+), 9 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index fe22a6603a..3701b3f310 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -59152,8 +59152,63 @@ (define-public rust-pyo3-macros-0.15 ("rust-syn" ,rust-syn-1)))) (native-inputs (list python)))) +(define-public rust-pyo3-0.20 + (package + (name "rust-pyo3") + (version "0.20.2") + (source (origin + (method url-fetch) + (uri (crate-uri "pyo3" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1q3g7ppg2qskigbgqg3w9280klkil5is9hhyps1ykl2hb1xdr2cs")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-either" ,rust-either-1) + ("rust-eyre" ,rust-eyre-0.6) + ("rust-hashbrown" ,rust-hashbrown-0.14) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-indoc" ,rust-indoc-2) + ("rust-inventory" ,rust-inventory-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-memoffset" ,rust-memoffset-0.9) + ("rust-num-bigint" ,rust-num-bigint-0.4) + ("rust-num-complex" ,rust-num-complex-0.4) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.20) + ("rust-pyo3-ffi" ,rust-pyo3-ffi-0.20) + ("rust-pyo3-macros" ,rust-pyo3-macros-0.20) + ("rust-rust-decimal" ,rust-rust-decimal-1) + ("rust-serde" ,rust-serde-1) + ("rust-either" ,rust-either-1) + ("rust-unindent" ,rust-unindent-0.2)) + #:cargo-development-inputs + (("rust-assert-approx-eq" ,rust-assert-approx-eq-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-proptest" ,rust-proptest-1) + ("rust-rayon" ,rust-rayon-1) + ("rust-send-wrapper" ,rust-send-wrapper-0.6) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-trybuild" ,rust-trybuild-1) + ("rust-widestring" ,rust-widestring-0.5)))) + (inputs (list python)) + (home-page "https://github.com/pyo3/pyo3") + (synopsis "Rust bindings for the Python interpreter") + (description + "This package provides Rust bindings for Python, including tools for +creating native Python extension modules. Running and interacting with +Python code from a Rust binary is also supported.") + (license license:asl2.0))) + (define-public rust-pyo3-0.19 (package + (inherit rust-pyo3-0.20) (name "rust-pyo3") (version "0.19.2") (source (origin @@ -59196,15 +59251,7 @@ (define-public rust-pyo3-0.19 ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-trybuild" ,rust-trybuild-1) - ("rust-widestring" ,rust-widestring-0.5)))) - (inputs (list python)) - (home-page "https://github.com/pyo3/pyo3") - (synopsis "Rust bindings for the Python interpreter") - (description - "This package provides Rust bindings for Python, including tools for -creating native Python extension modules. Running and interacting with -Python code from a Rust binary is also supported.") - (license license:asl2.0))) + ("rust-widestring" ,rust-widestring-0.5)))))) (define-public rust-pyo3-0.18 (package -- 2.41.0