gnu: python-pycrypto: Fix build with Python 3.8.

* gnu/packages/patches/python-pycrypto-time-clock.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/python-crypto.scm (python-pycrypto)[source](patches): Add it.
This commit is contained in:
Marius Bakke 2020-04-11 16:04:26 +02:00
parent 8cc103cb01
commit 2a2a987868
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA
3 changed files with 26 additions and 1 deletions

View file

@ -280,7 +280,8 @@ making them easy to handle and incorporate into other protocols.")
(origin
(method url-fetch)
(uri (pypi-uri "pycrypto" version))
(patches (search-patches "python-pycrypto-CVE-2013-7459.patch"))
(patches (search-patches "python-pycrypto-CVE-2013-7459.patch"
"python-pycrypto-time-clock.patch"))
(sha256
(base32
"0g0ayql5b9mkjam8hym6zyg6bv77lbh66rv1fyvgqb17kfc1xkpj"))))