From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Subject: [PATCH 06/10] gnu: Add python-lazy-object-proxy and python2-lazy-object-proxy. Date: Thu, 23 Jun 2016 23:20:00 +0800 Message-ID: <20160623152004.24065-2-iyzsong@gmail.com> References: <20160623152004.24065-1-iyzsong@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46707) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG6QY-000799-CG for guix-devel@gnu.org; Thu, 23 Jun 2016 11:20:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bG6QX-0005nF-Cd for guix-devel@gnu.org; Thu, 23 Jun 2016 11:20:22 -0400 Received: from mail.openmailbox.org ([62.4.1.34]:56137) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG6QX-0005nA-6k for guix-devel@gnu.org; Thu, 23 Jun 2016 11:20:21 -0400 In-Reply-To: <20160623152004.24065-1-iyzsong@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Cc: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= * gnu/packages/python.scm (python-lazy-object-proxy) (python2-lazy-object-proxy): New variables. --- gnu/packages/python.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index d1d127b..dc9879a 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -9419,3 +9419,26 @@ docstring and colored output.") (define-public python2-cleo (package-with-python2 python-cleo)) +(define-public python-lazy-object-proxy + (package + (name "python-lazy-object-proxy") + (version "1.2.2") + (source (origin + (method url-fetch) + (uri (pypi-uri "lazy-object-proxy" version)) + (sha256 + (base32 + "0s22aqqkdscyh8sjspyyax7qa1aiz8p4midrnyf39717fhfczm6x")))) + (build-system python-build-system) + (native-inputs + `(("python-setuptools" ,python-setuptools))) + (home-page "https://github.com/ionelmc/python-lazy-object-proxy") + (synopsis "Lazy object proxy for python") + (description + "Lazy object proxy is an object that wraps a callable but defers the call +until the object is actually required, and caches the result of said call.") + (license bsd-2))) + +(define-public python2-lazy-object-proxy + (package-with-python2 python-lazy-object-proxy)) + -- 2.8.4