From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f5pbN-0001jv-06 for guix-patches@gnu.org; Tue, 10 Apr 2018 05:30:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f5pbH-0001p1-9o for guix-patches@gnu.org; Tue, 10 Apr 2018 05:30:09 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36675) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f5pbH-0001ob-69 for guix-patches@gnu.org; Tue, 10 Apr 2018 05:30:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f5pbG-00013h-U4 for guix-patches@gnu.org; Tue, 10 Apr 2018 05:30:02 -0400 Subject: [bug#31121] [PATCH 2/3] gnu: Add python-m2crypto, python2-m2crypto. References: <20180410092425.5560-1-sleep_walker@gnu.org> In-Reply-To: <20180410092425.5560-1-sleep_walker@gnu.org> Resent-Message-ID: From: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Date: Tue, 10 Apr 2018 11:29:34 +0200 Message-Id: <20180410092935.5915-1-sleep_walker@gnu.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 31121@debbugs.gnu.org * gnu/packages/python.scm (python-m2crypto): New variable. (python2-m2crypto): New variable. --- gnu/packages/python.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index e728cbaa9..d84aae1fb 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -13148,3 +13148,39 @@ in Python. You can simply type pybtex instead of bibtex.") protocols access, supporting HTTP keepalive, reget, throttling and other convenience features.") (license license:lgpl2.1))) + +(define-public python-m2crypto + (package + (name "python-m2crypto") + (version "0.29.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "M2Crypto" version)) + (sha256 + (base32 + "1h16gpilrnlzc0iyj1mnd1iqh8wchzjsxjqw9n344glimg2s5zm0")))) + (build-system python-build-system) + (inputs + `(("openssl" ,openssl))) + (propagated-inputs + `(("python-typing" ,python-typing))) + (home-page "https://gitlab.com/m2crypto/m2crypto") + (synopsis "A Python crypto and SSL toolkit") + (description "A Python crypto and SSL toolkit. M2 stands for \"me, too!\" +. M2Crypto comes with the following: +RSA, DSA, DH, HMACs, message digests, +symmetric ciphers including AES, +TLS functionality to implement clients and servers. +Example SSL client and server programs, which are variously +threading, forking or based on non-blocking socket IO. +HTTPS extensions to Python's httplib, urllib and xmlrpclib. +Unforgeable HMAC'ing AuthCookies for web session management. +FTP/TLS client and server. +S/MIME v2. +ZServerSSL: A HTTPS server for Zope. +ZSmime: An S/MIME messenger for Zope.") + (license license:x11))) + +(define-public python2-m2crypto + (package-with-python2 python-m2crypto)) -- 2.17.0