gnu: python-random2: Fix building with python 3.9.

* gnu/packages/patches/python-random2-getrandbits-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/python-xyz.scm (python-random2)[source]: Use it.
This commit is contained in:
Guillaume Le Vaillant 2021-09-11 14:16:46 +02:00
parent 0321c098d3
commit 9cfa0078e6
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F
3 changed files with 27 additions and 1 deletions

View file

@ -16179,7 +16179,9 @@ focus on building massively scalable web applications.")
(uri (pypi-uri "random2" version ".zip"))
(sha256
(base32
"01y0s4747plsx8fdnxy0nz83dp69naddz58m81r9h0s1qfm31b9l"))))
"01y0s4747plsx8fdnxy0nz83dp69naddz58m81r9h0s1qfm31b9l"))
(patches
(search-patches "python-random2-getrandbits-test.patch"))))
(build-system python-build-system)
(native-inputs `(("unzip" ,unzip)))
(home-page "http://pypi.python.org/pypi/random2")