* [PATCH] gnu: Add python-wrapt
@ 2015-09-08 22:29 Cyril Roelandt
2015-09-08 23:35 ` Cyril Roelandt
0 siblings, 1 reply; 2+ messages in thread
From: Cyril Roelandt @ 2015-09-08 22:29 UTC (permalink / raw)
To: guix-devel
* 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] gnu: Add python-wrapt
2015-09-08 22:29 [PATCH] gnu: Add python-wrapt Cyril Roelandt
@ 2015-09-08 23:35 ` Cyril Roelandt
0 siblings, 0 replies; 2+ messages in thread
From: Cyril Roelandt @ 2015-09-08 23:35 UTC (permalink / raw)
To: guix-devel
On 09/09/2015 12:29 AM, Cyril Roelandt wrote:
> * gnu/packages/python.scm (python-wrapt, python2-wrapt): New variables.
> ---
Forget this patch, it was meant to be part of a series of 5 patches.
Cyril.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-09-08 23:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-08 22:29 [PATCH] gnu: Add python-wrapt Cyril Roelandt
2015-09-08 23:35 ` Cyril Roelandt
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).