[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/13: gnu: python-m2crypto: python-typing is only needed for python2.
From: |
Marius Bakke |
Subject: |
08/13: gnu: python-m2crypto: python-typing is only needed for python2. |
Date: |
Mon, 22 Oct 2018 17:02:53 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit e810de3e68db1e892688dc21a8804df066ff218b
Author: Marius Bakke <address@hidden>
Date: Mon Oct 22 18:23:15 2018 +0200
gnu: python-m2crypto: python-typing is only needed for python2.
* gnu/packages/python-crypto.scm (python-m2crypto)[propagated-inputs]:
Remove.
[properties]: New field.
(python2-m2crypto)[propagated-inputs]: Add PYTHON2-TYPING.
---
gnu/packages/python-crypto.scm | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index bda5474..8bee14c 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -859,7 +859,6 @@ in userspace)
(base32 "1h16gpilrnlzc0iyj1mnd1iqh8wchzjsxjqw9n344glimg2s5zm0"))))
(build-system python-build-system)
(inputs `(("openssl" ,openssl)))
- (propagated-inputs `(("python-typing" ,python-typing)))
(home-page "https://gitlab.com/m2crypto/m2crypto")
(synopsis "Python crypto and TLS toolkit")
(description "@code{M2Crypto} is a complete Python wrapper for OpenSSL
@@ -869,10 +868,15 @@ extensions to Python's httplib, urllib, and xmlrpclib;
unforgeable HMAC'ing
AuthCookies for web session management; FTP/TLS client and server; S/MIME;
M2Crypto can also be used to provide TLS for Twisted. Smartcards supported
through the Engine interface.")
+ (properties `((python2-variant . ,(delay python2-m2crypto))))
(license license:expat)))
(define-public python2-m2crypto
- (package-with-python2 python-m2crypto))
+ (let ((m2crypto (package-with-python2
+ (strip-python2-variant python-m2crypto))))
+ (package (inherit m2crypto)
+ (propagated-inputs
+ `(("python2-typing" ,python2-typing))))))
(define-public python-pylibscrypt
(package
- branch master updated (9861bcd -> 63abd1e), Marius Bakke, 2018/10/22
- 02/13: gnu: python-lazy-object-proxy: Update to 1.3.1., Marius Bakke, 2018/10/22
- 03/13: gnu: Add GN., Marius Bakke, 2018/10/22
- 01/13: gnu: python-mistune: Update to 0.8.4., Marius Bakke, 2018/10/22
- 04/13: gnu: samba: Update to 4.8.6., Marius Bakke, 2018/10/22
- 05/13: gnu: libmd: Update to 1.0.1., Marius Bakke, 2018/10/22
- 09/13: gnu: python-m2crypto: Update to 0.30.1., Marius Bakke, 2018/10/22
- 11/13: gnu: python-markdown: Update to 3.0.1., Marius Bakke, 2018/10/22
- 07/13: gnu: xorg-server: Update to 1.20.2., Marius Bakke, 2018/10/22
- 10/13: gnu: python-markdown: Update home page., Marius Bakke, 2018/10/22
- 08/13: gnu: python-m2crypto: python-typing is only needed for python2.,
Marius Bakke <=
- 06/13: gnu: xf86-input-libinput: Update to 0.28.1., Marius Bakke, 2018/10/22
- 13/13: gnu: python-pymongo: Update to 3.7.2., Marius Bakke, 2018/10/22
- 12/13: gnu: python-sure: Update to 1.4.11., Marius Bakke, 2018/10/22