diff options
| author | 宋文武 <iyzsong@gmail.com> | 2016-06-23 23:10:45 +0800 |
|---|---|---|
| committer | 宋文武 <iyzsong@gmail.com> | 2016-06-25 20:49:59 +0800 |
| commit | 77cadb436be83557d17605565af1b17e574bdb68 (patch) | |
| tree | c1adf13eaed8656ae33dc77b23fcf7eb72cdc00b /gnu/packages/python.scm | |
| parent | f5deff7a033e2b3fd0e8aceb094798e59f692d4c (diff) | |
gnu: Add python-lazy-object-proxy and python2-lazy-object-proxy.
* gnu/packages/python.scm (python-lazy-object-proxy)
(python2-lazy-object-proxy): New variables.
Diffstat (limited to 'gnu/packages/python.scm')
| -rw-r--r-- | gnu/packages/python.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index d1d127bab99..dc9879a8f03 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm | |||
| @@ -9419,3 +9419,26 @@ docstring and colored output.") | |||
| 9419 | (define-public python2-cleo | 9419 | (define-public python2-cleo |
| 9420 | (package-with-python2 python-cleo)) | 9420 | (package-with-python2 python-cleo)) |
| 9421 | 9421 | ||
| 9422 | (define-public python-lazy-object-proxy | ||
| 9423 | (package | ||
| 9424 | (name "python-lazy-object-proxy") | ||
| 9425 | (version "1.2.2") | ||
| 9426 | (source (origin | ||
| 9427 | (method url-fetch) | ||
| 9428 | (uri (pypi-uri "lazy-object-proxy" version)) | ||
| 9429 | (sha256 | ||
| 9430 | (base32 | ||
| 9431 | "0s22aqqkdscyh8sjspyyax7qa1aiz8p4midrnyf39717fhfczm6x")))) | ||
| 9432 | (build-system python-build-system) | ||
| 9433 | (native-inputs | ||
| 9434 | `(("python-setuptools" ,python-setuptools))) | ||
| 9435 | (home-page "https://github.com/ionelmc/python-lazy-object-proxy") | ||
| 9436 | (synopsis "Lazy object proxy for python") | ||
| 9437 | (description | ||
| 9438 | "Lazy object proxy is an object that wraps a callable but defers the call | ||
| 9439 | until the object is actually required, and caches the result of said call.") | ||
| 9440 | (license bsd-2))) | ||
| 9441 | |||
| 9442 | (define-public python2-lazy-object-proxy | ||
| 9443 | (package-with-python2 python-lazy-object-proxy)) | ||
| 9444 | |||
