From patchwork Wed Apr 12 20:52:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: paul X-Patchwork-Id: 49117 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 12B61174EE; Wed, 12 Apr 2023 21:54:23 +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=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 73934174BB for ; Wed, 12 Apr 2023 21:54:22 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pmhTj-0003UV-Ix; Wed, 12 Apr 2023 16:54:07 -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 1pmhTg-0003U3-KF for guix-patches@gnu.org; Wed, 12 Apr 2023 16:54:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pmhTf-00050P-0G for guix-patches@gnu.org; Wed, 12 Apr 2023 16:54:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pmhTe-0000P9-Rx; Wed, 12 Apr 2023 16:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#60493] [v2 1/3] gnu: Add python-async-lru. References: <428f3d79be8e236db047148bedd44e40@autistici.org> In-Reply-To: <428f3d79be8e236db047148bedd44e40@autistici.org> Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, guix-patches@gnu.org Resent-Date: Wed, 12 Apr 2023 20:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60493 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60493@debbugs.gnu.org Cc: Giacomo Leidi , lars@6xq.net X-Debbugs-Original-Xcc: lars@6xq.net Received: via spool by 60493-submit@debbugs.gnu.org id=B60493.16813327891469 (code B ref 60493); Wed, 12 Apr 2023 20:54:02 +0000 Received: (at 60493) by debbugs.gnu.org; 12 Apr 2023 20:53:09 +0000 Received: from localhost ([127.0.0.1]:41929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmhSn-0000NY-4O for submit@debbugs.gnu.org; Wed, 12 Apr 2023 16:53:09 -0400 Received: from confino.investici.org ([93.190.126.19]:35535) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmhSj-0000N2-HA for 60493@debbugs.gnu.org; Wed, 12 Apr 2023 16:53:06 -0400 Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4PxZfm2jGnz110j; Wed, 12 Apr 2023 20:53:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1681332784; bh=kRjk2OqxD86MFl5pq7/gRloIrWgGRTZA6R0NuRYWjzo=; h=From:To:Cc:Subject:Date:From; b=dUfEj1i0lDWraFQDOgDVwTosQxSqjHN1rJDnCQMzb77BRWpbWQotgPR9eVJcHbsvW jUy3sShOHXRvv6BNr8/pblioe/1nkY+W7haF8oz+zyGawcwqt2KgIuRKtG6rlanyHj Cl9+yMQ3BwzwWN1MWWYHFgS0fMhaijMlNUBh+G8k= Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4PxZfm27d2z110h; Wed, 12 Apr 2023 20:53:04 +0000 (UTC) Date: Wed, 12 Apr 2023 22:52:51 +0200 Message-Id: <20230412205253.25395-1-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 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: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches X-Patchwork-Original-From: Giacomo Leidi via Guix-patches via From: paul 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/python-xyz.scm (python-async-lru): New variable. --- gnu/packages/python-xyz.scm | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) base-commit: dd3e5e71104a2bcbad80e52e062a144ea96b8c6a diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 06eae3d62d..1f9fdb79c6 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -63,7 +63,7 @@ ;;; Copyright © 2019, 2020 Alex Griffin ;;; Copyright © 2019, 2020, 2021, 2022 Pierre Langlois ;;; Copyright © 2019 Jacob MacDonald -;;; Copyright © 2019, 2020, 2021 Giacomo Leidi +;;; Copyright © 2019-2021, 2023 Giacomo Leidi ;;; Copyright © 2019 Wiktor Żelazny ;;; Copyright © 2019, 2020, 2021, 2022 Tanguy Le Carrour ;;; Copyright © 2019, 2021, 2022 Mădălin Ionel Patrașcu @@ -23082,6 +23082,23 @@ (define-public python-async-timeout manager compatible with @code{asyncio}.") (license license:asl2.0))) +(define-public python-async-lru + (package + (name "python-async-lru") + (version "1.0.3") + (source (origin + (method url-fetch) + (uri (pypi-uri "async-lru" version)) + (sha256 + (base32 + "0ankphghvzdgfwv64wvdb47gjnvi1ys58wbi7v7yc57b2llrpjy2")))) + (build-system python-build-system) + (home-page "https://github.com/aio-libs/async_lru") + (synopsis "Simple lru_cache for asyncio") + (description "This package provides a simple @code{lru_cache} for Python's +asyncio.") + (license license:expat))) + (define-public python-glob2 (package (name "python-glob2")