From patchwork Sun Feb 11 11:43:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 60073 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 5F74127BBF1; Sun, 11 Feb 2024 11:56:17 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS 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 A7E3D27BBE2 for ; Sun, 11 Feb 2024 11:56:09 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZ8R2-0007pR-OV; Sun, 11 Feb 2024 06:55: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 1rZ8R1-0007og-6D for guix-patches@gnu.org; Sun, 11 Feb 2024 06:55: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 1rZ8R0-00088G-L5 for guix-patches@gnu.org; Sun, 11 Feb 2024 06:55:46 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rZ8RG-0000Od-QF for guix-patches@gnu.org; Sun, 11 Feb 2024 06:56:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69048] [PATCH 24/32] gnu: Add rust-pyo3-ffi-0.20. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 11 Feb 2024 11:56:02 +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.17076525181390 (code B ref 69048); Sun, 11 Feb 2024 11:56:02 +0000 Received: (at 69048) by debbugs.gnu.org; 11 Feb 2024 11:55:18 +0000 Received: from localhost ([127.0.0.1]:42452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZ8QX-0000MG-HR for submit@debbugs.gnu.org; Sun, 11 Feb 2024 06:55:18 -0500 Received: from mail04.noris.net ([62.128.1.224]:56685) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZ8Hm-0008IG-DL for 69048@debbugs.gnu.org; Sun, 11 Feb 2024 06:46:15 -0500 Received: from mail02.noris.net ([62.128.1.232]) by mail04.noris.net with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim) (envelope-from ) id 1rZ8GL-000FWw-Gy for 69048@debbugs.gnu.org; Sun, 11 Feb 2024 12:44:45 +0100 Received: from p57b08159.dip0.t-ipconnect.de ([87.176.129.89] helo=hermia.goebel-consult.de) by mail02.noris.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim) (envelope-from ) id 1rZ8GL-0002mn-Dm for 69048@debbugs.gnu.org; Sun, 11 Feb 2024 12:44:45 +0100 Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 003C15F542; Sun, 11 Feb 2024 12:43:57 +0100 (CET) From: Hartmut Goebel Date: Sun, 11 Feb 2024 12:43:33 +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 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+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-pyo3-ffi-0.20): New variable. (rust-pyo3-ffi-0.19): Inherit from rust-pyo3-ffi-0.20. --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index bc881d1d3c..5d3bbea948 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -58831,22 +58831,22 @@ (define-public rust-pyo3-build-config-0.15 `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1)))))) -(define-public rust-pyo3-ffi-0.19 +(define-public rust-pyo3-ffi-0.20 (package (name "rust-pyo3-ffi") - (version "0.19.2") + (version "0.20.2") (source (origin (method url-fetch) (uri (crate-uri "pyo3-ffi" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1nc4696k03ydyiy1f69l3ywknavjzxzag2mscrh2bgkywx1fwg75")))) + "1wbcv9cd0bandh3j5qfd5r66n045b8hs9wd4pi36nxhpgv0xxdyv")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) - ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.19)))) + ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.20)))) (native-inputs (list python)) (home-page "https://github.com/pyo3/pyo3") (synopsis "Python API bindings for the PyO3 ecosystem") @@ -58854,6 +58854,23 @@ (define-public rust-pyo3-ffi-0.19 "This crate provides Rust FFI declarations for Python 3.") (license license:asl2.0))) +(define-public rust-pyo3-ffi-0.19 + (package + (inherit rust-pyo3-ffi-0.20) + (name "rust-pyo3-ffi") + (version "0.19.2") + (source (origin + (method url-fetch) + (uri (crate-uri "pyo3-ffi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1nc4696k03ydyiy1f69l3ywknavjzxzag2mscrh2bgkywx1fwg75")))) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.19)))))) + (define-public rust-pyo3-ffi-0.18 (package (inherit rust-pyo3-ffi-0.19)