From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id IPWLO1VHiWWuOAEAkFu2QA (envelope-from ) for ; Mon, 25 Dec 2023 10:11:50 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 2Er9NFVHiWVr4wAA62LTzQ (envelope-from ) for ; Mon, 25 Dec 2023 10:11:49 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=eI7X1nIP; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1703495509; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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:dkim-signature; bh=2KlBRFjhEmo4PDdYrNxeTh/6cCYaE0q3KLY0RLrGsso=; b=JqXSyU+2LL65IKfRk7cd+UzHTS4V1+cTmqpx/zMZgpgDy1u+yfN4W5IURo5ESK1RIdozvc gdPjALKNm7LTCJgPLTdBi4ndVTZ3xREINLv7AVtKZe3VuJO6WcET+pm1mqXKRfWWASdKog Z/uLCNZHIW8uIapD4ow37BM4Y8PtTkovkjzkho6WaqGd+e1jFvUR8RmNSBZ5Tnfu6ZqAtH V89+O/i3hUbyKh6nbsoYLo5IcqRpvzAZ5WU0k6J1JfpPbspPcMb0UzWZU1gFHNMEtxlrY2 DjjWXu1EFtYLkFfR0+Oj4XJPy9BEQHsqGbAy7HzfmwTC3O+Zeuk3ci+Su673XQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=eI7X1nIP; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1703495509; a=rsa-sha256; cv=none; b=fU4ERJfv3Yw/SlABFi0i/QUcVTFstaKsPgAH/uPQYL2R5HG/lxrPZuZJBXmsqwpG3xpqjy fKPR3AI44A80oZUXVg+Rd32sKweB6tvDJHWBXoR5irfO1SDT4tGIPs4gYjCTf7Ksq2W7vD ksjqSNTyJntXR+7AMOEbmjPe6sEq4dDKLDRrQIrAU1LxBZLVjwDlZLUBCjPvJM5y82PO+i FSskvAmBOGMYqAMtcJQLrWKFy/KfpiiR+r4WyHyEpzSaejVl8GGb1ivsrX7CfTDJlsY/nt j+/xlr8LEM7dhyfIfqSg6hKcKPwBww6xgRoVKEUnmOYfE/Nz10qYoDzNnjsUow== 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 B5B46525B9 for ; Mon, 25 Dec 2023 10:11:49 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rHgzF-0003OP-3A; Mon, 25 Dec 2023 04:11:01 -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 1rHgzD-0003M4-0v for guix-patches@gnu.org; Mon, 25 Dec 2023 04:10:59 -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 1rHgzC-000196-Oh; Mon, 25 Dec 2023 04:10:58 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rHgzH-0003j6-Ve; Mon, 25 Dec 2023 04:11:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68023] [PATCH 08/13] gnu: Add python-rpds-py. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Mon, 25 Dec 2023 09:11:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68023 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68023@debbugs.gnu.org Cc: me@bonfacemunyoki.com, Mathieu Othacehe , me@tobias.gr, lars@6xq.net, efraim@flashner.co.il, leo@famulari.name, vagrant@debian.org, jgart@dismail.de, marius@gnu.org, Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , jgart Received: via spool by 68023-submit@debbugs.gnu.org id=B68023.170349541814185 (code B ref 68023); Mon, 25 Dec 2023 09:11:03 +0000 Received: (at 68023) by debbugs.gnu.org; 25 Dec 2023 09:10:18 +0000 Received: from localhost ([127.0.0.1]:53954 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHgyX-0003gb-VF for submit@debbugs.gnu.org; Mon, 25 Dec 2023 04:10:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48248) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHgyL-0003eJ-GN for 68023@debbugs.gnu.org; Mon, 25 Dec 2023 04:10:06 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHgy9-0000jP-OF; Mon, 25 Dec 2023 04:09:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=2KlBRFjhEmo4PDdYrNxeTh/6cCYaE0q3KLY0RLrGsso=; b=eI7X1nIPuX5LtHpcxdpw ld9fYxJma6bx0zIlMtWqmIZmmPgv8uMmisybxzLIjFigsXK9yTF/Gpr4t9xXe/T1ljT0SJWEkoUgO kiHJBFrQDWGhYChNLyLXC2b9tsXBv1TwUHtCrDJ5asf843yK8GaWlVUofWVSly5YEp7rNkK84n8Ey gDR/r/ZVKsB/jGrvSeA3TpzTpIAYeVSU7MswbPMJwfgjoUBK+jSngezVwCbhpQcHWxof677vMrWqw xzgww3ZDBlXzdF3ukCewj8EwsceJW0tKLd6e6sS4/asbSETZbzkouYY6p2kLNjYEOWRvShMmSbGyN tSZJx/xy1ZHfSQ==; From: Mathieu Othacehe Date: Mon, 25 Dec 2023 10:09:24 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -3.91 X-Spam-Score: -3.91 X-Migadu-Queue-Id: B5B46525B9 X-TUID: PxHxfMWrps76 * gnu/packages/python-xyz.scm (python-rpds-py): New variable. Signed-off-by: Mathieu Othacehe Change-Id: I6f4d80cc7a9a3d591fcf894375ef14e079573c0d --- gnu/packages/python-xyz.scm | 40 +++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index cab44be011..4d3041db2c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -34054,6 +34054,46 @@ (define-public python-types-orjson etc. to check code that uses @code{orjson}.") (license license:asl2.0))) +(define-public python-rpds-py + (package + (name "python-rpds-py") + (version "0.10.6") + (source (origin + (method url-fetch) + (uri (pypi-uri "rpds_py" version)) + (sha256 + (base32 + "0l5slkvhq2vf64mapimmj6ginsv01mc4niyj90vvz3assq4agrac")))) + (build-system cargo-build-system) + (arguments + (list + #:imported-modules `(,@%cargo-build-system-modules + ,@%pyproject-build-system-modules) + #:modules '((guix build cargo-build-system) + ((guix build pyproject-build-system) #:prefix py:) + (guix build utils)) + #:phases + #~(modify-phases %standard-phases + (add-after 'prepare-python-module 'build-python-module + (assoc-ref py:%standard-phases 'build)) + (add-after 'build-python-module 'install-python-module + (assoc-ref py:%standard-phases 'install))) + #:cargo-inputs + `(("rust-archery" ,rust-archery-1) + ("rust-pyo3" ,rust-pyo3-0.19) + ("rust-rpds" ,rust-rpds-1)) + #:install-source? #false)) + (inputs + (list maturin)) + (native-inputs + (list python-wrapper)) + (home-page "https://github.com/crate-py/rpds") + (synopsis "Bindings to Rust rpds for persistent data structures") + (description "This package provides Python bindings to the Rust rpds crate +for persistent data structures. It was written initially to support replacing +@code{python-pyrsistent}.") + (license license:expat))) + (define-public python-nanoid ;; There are no tests on PyPi. (let ((commit "061f9a598f310b0e2e91b9ed6ce725a22770da64") -- 2.41.0