mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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.
This commit is contained in:
parent
90fb136ff7
commit
e810de3e68
1 changed files with 6 additions and 2 deletions
|
@ -859,7 +859,6 @@ in userspace)
|
||||||
(base32 "1h16gpilrnlzc0iyj1mnd1iqh8wchzjsxjqw9n344glimg2s5zm0"))))
|
(base32 "1h16gpilrnlzc0iyj1mnd1iqh8wchzjsxjqw9n344glimg2s5zm0"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(inputs `(("openssl" ,openssl)))
|
(inputs `(("openssl" ,openssl)))
|
||||||
(propagated-inputs `(("python-typing" ,python-typing)))
|
|
||||||
(home-page "https://gitlab.com/m2crypto/m2crypto")
|
(home-page "https://gitlab.com/m2crypto/m2crypto")
|
||||||
(synopsis "Python crypto and TLS toolkit")
|
(synopsis "Python crypto and TLS toolkit")
|
||||||
(description "@code{M2Crypto} is a complete Python wrapper for OpenSSL
|
(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;
|
AuthCookies for web session management; FTP/TLS client and server; S/MIME;
|
||||||
M2Crypto can also be used to provide TLS for Twisted. Smartcards supported
|
M2Crypto can also be used to provide TLS for Twisted. Smartcards supported
|
||||||
through the Engine interface.")
|
through the Engine interface.")
|
||||||
|
(properties `((python2-variant . ,(delay python2-m2crypto))))
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public python2-m2crypto
|
(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
|
(define-public python-pylibscrypt
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue