diff options
author | Guillaume Le Vaillant <glv@posteo.net> | 2021-09-11 14:16:46 +0200 |
---|---|---|
committer | Guillaume Le Vaillant <glv@posteo.net> | 2021-09-11 14:16:46 +0200 |
commit | 9cfa0078e6c08d182e09efe4f216ed9b528ec3ad (patch) | |
tree | 7fd62fe500b2275c98b0ae60d3b710a7948db393 /gnu/packages/python-xyz.scm | |
parent | 0321c098d3d57ae4f046a131a5e9610e3495f843 (diff) | |
download | guix-patches-9cfa0078e6c08d182e09efe4f216ed9b528ec3ad.tar guix-patches-9cfa0078e6c08d182e09efe4f216ed9b528ec3ad.tar.gz |
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.
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r-- | gnu/packages/python-xyz.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f88882111a..88609fbc02 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -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") |