From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id a8nOGeQ7RmHMJQEAgWs5BA (envelope-from ) for ; Sat, 18 Sep 2021 21:20:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id ALKOFOQ7RmELAwAAbx9fmQ (envelope-from ) for ; Sat, 18 Sep 2021 19:20:04 +0000 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 28BBFE1B8 for ; Sat, 18 Sep 2021 21:20:04 +0200 (CEST) Received: from localhost ([::1]:39638 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRfsZ-0005dS-7Z for larch@yhetil.org; Sat, 18 Sep 2021 15:20:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56242) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRfb8-00076Q-Ed for guix-patches@gnu.org; Sat, 18 Sep 2021 15:02:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53587) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mRfb8-0000nX-2w for guix-patches@gnu.org; Sat, 18 Sep 2021 15:02:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mRfb7-0004Bf-VJ for guix-patches@gnu.org; Sat, 18 Sep 2021 15:02:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50663] [PATCH 07/19] gnu: Add python-lazy. References: In-Reply-To: Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 Sep 2021 19:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50663 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "50663@debbugs.gnu.org" <50663@debbugs.gnu.org> Received: via spool by 50663-submit@debbugs.gnu.org id=B50663.163199168714344 (code B ref 50663); Sat, 18 Sep 2021 19:02:01 +0000 Received: (at 50663) by debbugs.gnu.org; 18 Sep 2021 19:01:27 +0000 Received: from localhost ([127.0.0.1]:36897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRfaY-0003j8-Py for submit@debbugs.gnu.org; Sat, 18 Sep 2021 15:01:27 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]:63677) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRfaV-0003bt-JV for 50663@debbugs.gnu.org; Sat, 18 Sep 2021 15:01:24 -0400 Date: Sat, 18 Sep 2021 19:01:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1631991677; bh=mXfl3sXkMLAfV/CZLQx2Z3+Qs46NKwEv3Gq2e07wqBI=; h=Date:To:From:Reply-To:Subject:From; b=RAMK9XnGfPy/T7y2qjXwW1E3jx1VGL6VvRnCTGz0C/HwQtawHxC09Ld5pd3US9NVV rzlrdzgHnmN5VjgwNM6bkH5gXQ8p6IUm9tbKpgGcMGeQXSw0vczGNQdfr/l5E7TyDj IsQMqWEZAOIEFeNTKIfcCBYcAewPi4C2gIDmsNg0= Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches From: phodina via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631992804; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: 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=mXfl3sXkMLAfV/CZLQx2Z3+Qs46NKwEv3Gq2e07wqBI=; b=Bn6CSK7OwlzYr4emTAMlodfb2A/PLfDqsrXwUT4JzUOQw4VOKOerdx4zUnnIqcIKUXpOU/ 7FW2RS6+6tLp9vLY+mJaQRVh+sAyfEXXvOdpKIZgRC1ScDnWSb3g3+oXZJNtt1pSoZKOT8 mcXX9gs3rSpjcgU+6qzN67XY1bWX2+7OyaHeR93NpaPgxJoKWqRzOms23ERDiAn1+E8fR4 eeemouMwWLgQxwruEH9fxjJBbFfzFL0RPItI21aNhyoXhkSVl7HE3g5sGOW3kKPalSyVvD ok/h+qIBUQvG8BOpqPJ3HN8P58DtlOu/g2tb8nFd71Rcm0Plr5O0bW8xk32IuQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631992804; a=rsa-sha256; cv=none; b=Ri840ghd3KTtDnb1nHAKzE3EG4B7szIHnTun3yFUsBMIVthqqynC083uA8OK7qzoNSzDs9 F0kifTrT7tQ8LQnn0Mz8hFli1DSytTgXjeKT/i0gSDl37mIXE/uaXaEILIoUK8M+e3lZwg Nr7LJ9VZBgAVF+5HCQzFvP3pkzAfV6JKG4sx5OhxVsZYLk785LyOM7HpuXQmbIyKj+Moxd iCpJAa+pEvPvrxNB16wV5d3i0V9SYA7iz+PgBg1Pf0mB/Npt3eQZFt8Pm+hAxutZ95CUgr 9KZbG/JcKmuZ9VAZk1RmUlV3TxXtSeLr7L12j4S7pcuG2JZ+AY7L+qEyZQ2RKQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=RAMK9XnG; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.39 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=RAMK9XnG; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 28BBFE1B8 X-Spam-Score: -1.39 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7AaI0R30lLKL * gnu/packages/python-xyz.scm (python-lazy): New variable. diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1b1a26f603..8f92800112 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15254,6 +15254,28 @@ feels like an AST.") inspection of types defined in the Python standard typing module.") (license license:expat))) +(define-public python-lazy + (package + (name "python-lazy") + (version "1.4") + (source + (origin + (method git-fetch) + (uri (git-reference ; pypi release link leads to project page + (url "https://github.com/stefanholek/lazy") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1y3y35jr0nnfh32zgdrb4r4sf9v8k36j07z2m0g6kz7bf3azsgc5")))) + (build-system python-build-system) + (home-page "https://github.com/stefanholek/lazy") + (synopsis "Lazy attributes for Python objects") + (description "Provides lazy attributes that are evaluated only once, +the first time they are used. Subsequent uses return the results of the f= irst +call.") + (license license:bsd-2))) + (define-public python-lazy-object-proxy (package (name "python-lazy-object-proxy") -- 2.32.0