mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
gnu: python-gpy: Adjust for newer python.
* gnu/packages/python-science.scm (python-gpy)[source]: Add snippet to adjust python module imports. Change-Id: I0772febb97d75e0a0caa331913c9e7453d11e70d
This commit is contained in:
parent
7e795eae15
commit
504e621445
1 changed files with 5 additions and 1 deletions
|
@ -1872,7 +1872,11 @@ (define-public python-gpy
|
||||||
(uri (pypi-uri "GPy" version))
|
(uri (pypi-uri "GPy" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1yx65ajrmqp02ykclhlb0n8s3bx5r0xj075swwwigiqaippr7dx2"))))
|
"1yx65ajrmqp02ykclhlb0n8s3bx5r0xj075swwwigiqaippr7dx2"))
|
||||||
|
(snippet
|
||||||
|
#~(begin (use-modules (guix build utils))
|
||||||
|
(substitute* "GPy/models/state_space_main.py"
|
||||||
|
(("collections\\.Iterable") "collections.abc.Iterable"))))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases (modify-phases %standard-phases
|
`(#:phases (modify-phases %standard-phases
|
||||||
|
|
Loading…
Reference in a new issue