[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/5] gnu: python-jsonschema: Define 'python2-variant'.
From: |
Leo Famulari |
Subject: |
[PATCH 2/5] gnu: python-jsonschema: Define 'python2-variant'. |
Date: |
Tue, 9 Feb 2016 03:11:00 -0500 |
* gnu/packages/python.scm (python-jsonschema)[properties]: New field.
(python2-jsonschema): Use 'strip-python2-variant'.
---
gnu/packages/python.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 982de40..0a90e48 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -2242,10 +2242,12 @@ version numbers.")
(synopsis "Implementation of JSON Schema for Python")
(description
"Jsonschema is an implementation of JSON Schema for Python.")
- (license license:expat)))
+ (license license:expat)
+ (properties `((python2-variant . ,(delay python2-jsonschema))))))
(define-public python2-jsonschema
- (let ((jsonschema (package-with-python2 python-jsonschema)))
+ (let ((jsonschema (package-with-python2
+ (strip-python2-variant python-jsonschema))))
(package (inherit jsonschema)
(inputs
`(("python2-functools32" ,python2-functools32)
--
2.6.3
- [PATCH 4/5] gnu: python-requests: Define 'python2-variant'., (continued)
- [PATCH 4/5] gnu: python-requests: Define 'python2-variant'., Leo Famulari, 2016/02/09
- [PATCH 3/5] gnu: python-wheel: Define 'python2-variant'., Leo Famulari, 2016/02/09
- [PATCH 1/5] gnu: python-cryptography: Define 'python2-variant'., Leo Famulari, 2016/02/09
- [PATCH 2/5] gnu: python-jsonschema: Define 'python2-variant'.,
Leo Famulari <=
- Re: [PATCH 0/5] python2-variants, Ludovic Courtès, 2016/02/10
- Re: [PATCH 0/5] python2-variants, Efraim Flashner, 2016/02/11