1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-13 04:35:56 +02:00

gnu: python-m2crypto: Update to 0.47.0.

* gnu/packages/python-crypto.scm (python-m2crypto): Update to 0.47.0.
[source]: Switch to git-fetch.
[native-inputs]: Replace swig-4.0 by swig.  Remove python-wheel.

Change-Id: I2a71ecf2deca9fe9b1742759694e60960622aa26
Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
Nicolas Graves
2026-04-22 12:03:56 +02:00
committed by Andreas Enge
parent 7c60dab501
commit 1c3f020a60
+8 -5
View File
@@ -1142,20 +1142,23 @@ provides drop-in compatibility with PyCrypto.")))
(define-public python-m2crypto
(package
(name "python-m2crypto")
(version "0.38.0")
(version "0.47.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "M2Crypto" version))
(method git-fetch)
(uri (git-reference
(url "https://gitlab.com/m2crypto/m2crypto")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1jyynaybncgjp8rndrwjpj5gnbrislngimf6ind9874h6052dwlr"))))
(base32 "090dvgnjmqidh0c318kipysiy24cn1rwbmxl4vybnqd57n65xsn8"))))
(build-system pyproject-build-system)
(arguments
`(;; FIXME: Tests start failing with time due to date checks in TLS
;; certificates.
#:tests? #f))
(inputs (list openssl))
(native-inputs (list swig-4.0 python-setuptools python-wheel))
(native-inputs (list swig python-setuptools))
(home-page "https://gitlab.com/m2crypto/m2crypto")
(synopsis "Python crypto and TLS toolkit")
(description "@code{M2Crypto} is a complete Python wrapper for OpenSSL