[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/5] gnu: python-cryptography: Define 'python2-variant'.
From: |
Leo Famulari |
Subject: |
[PATCH 1/5] gnu: python-cryptography: Define 'python2-variant'. |
Date: |
Tue, 9 Feb 2016 03:10:59 -0500 |
* gnu/packages/python.scm (python-cryptography)[properties]: New field.
(python2-cryptography): Use 'strip-python2-variant'.
---
gnu/packages/python.scm | 20 +++++++-------------
1 file changed, 7 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 5b988c1..982de40 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -2334,11 +2334,8 @@ OAuth request-signing logic.")
(let ((base (package-with-python2 python-oauthlib)))
(package
(inherit base)
- (inputs
- `(("python2-unittest2" ,python2-unittest2)
- ("python2-cryptography" ,python2-cryptography)
- ,@(alist-delete "python-cryptography"
- (package-inputs base)))))))
+ (inputs `(("python2-unittest2" ,python2-unittest2)
+ ,@(package-inputs base))))))
(define-public python-itsdangerous
(package
@@ -5821,10 +5818,12 @@ library” for Python. The package includes both high
level recipes, and low
level interfaces to common cryptographic algorithms such as symmetric ciphers,
message digests and key derivation functions.")
;; Distributed under either BSD-3 or ASL2.0
- (license (list bsd-3 asl2.0))))
+ (license (list bsd-3 asl2.0))
+ (properties `((python2-variant . ,(delay python2-cryptography))))))
(define-public python2-cryptography
- (let ((crypto (package-with-python2 python-cryptography)))
+ (let ((crypto (package-with-python2
+ (strip-python2-variant python-cryptography))))
(package (inherit crypto)
(propagated-inputs
`(("python2-ipaddress" ,python2-ipaddress)
@@ -5881,12 +5880,7 @@ library.")
(license asl2.0)))
(define-public python2-pyopenssl
- (let ((pyopenssl (package-with-python2 python-pyopenssl)))
- (package (inherit pyopenssl)
- (propagated-inputs
- `(("python2-cryptography" ,python2-cryptography)
- ,@(alist-delete "python-cryptography"
- (package-propagated-inputs pyopenssl)))))))
+ (package-with-python2 python-pyopenssl))
(define-public python-pip
(package
--
2.6.3
- [PATCH 5/5] gnu: Split acme into python-acme and python2-acme., (continued)
- [PATCH 5/5] gnu: Split acme into python-acme and python2-acme., Leo Famulari, 2016/02/09
- [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 <=
- [PATCH 2/5] gnu: python-jsonschema: Define 'python2-variant'., Leo Famulari, 2016/02/09
- Re: [PATCH 0/5] python2-variants, Ludovic Courtès, 2016/02/10
- Re: [PATCH 0/5] python2-variants, Efraim Flashner, 2016/02/11