From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: [PATCH 1/5] gnu: Add python-wrapt Date: Wed, 9 Sep 2015 01:34:20 +0200 Message-ID: <1441755264-6790-1-git-send-email-tipecaml@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59182) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZSPL-0004TR-1S for guix-devel@gnu.org; Tue, 08 Sep 2015 19:34:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZSPG-00029W-F0 for guix-devel@gnu.org; Tue, 08 Sep 2015 19:34:34 -0400 Received: from mail-wi0-x22f.google.com ([2a00:1450:400c:c05::22f]:33541) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZSPG-00029F-8r for guix-devel@gnu.org; Tue, 08 Sep 2015 19:34:30 -0400 Received: by wiclk2 with SMTP id lk2so137598649wic.0 for ; Tue, 08 Sep 2015 16:34:29 -0700 (PDT) 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * gnu/packages/python.scm (python-wrapt, python2-wrapt): New variables. --- gnu/packages/python.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 8ea5777..bb510cc 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -4767,3 +4767,35 @@ reading and writing MessagePack data.") (define-public python2-netaddr (package-with-python2 python-netaddr)) + +(define-public python-wrapt + (package + (name "python-wrapt") + (version "1.10.5") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/w/wrapt/wrapt-" + version + ".tar.gz")) + (sha256 + (base32 + "0cq8rlpzkxzk48b50yrfhzn1d1hrq4gjcdqlrgq4v5palgiv9jwr")))) + (build-system python-build-system) + (arguments + ;; Lots of different test configurations. TODO: run them all. + `(#:tests? #f)) + (inputs + `(("python-setuptools" ,python-setuptools))) + (home-page "https://github.com/GrahamDumpleton/wrapt") + (synopsis + "Module for decorators, wrappers and monkey patching") + (description + "The aim of the wrapt module is to provide a transparent object proxy for + Python, which can be used as the basis for the construction of function + wrappers and decorator functions.") + (license bsd-2))) + +(define-public python2-wrapt + (package-with-python2 python-wrapt)) -- 2.1.4