gnu: python-gpy: Update to 1.13.2.

* gnu/packages/python-science.scm (python-gpy): Update to
1.13.2. Fix build and refresh package style.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I446821dace8cc9c99543f0940e400ca4fc081b08
This commit is contained in:
Sharlatan Hellseher 2025-03-22 22:34:46 +00:00
parent aaf4bf1491
commit 6ac3bc012f
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -3754,18 +3754,18 @@ for parameterized model creation and handling. Its features include:
(define-public python-gpy (define-public python-gpy
(package (package
(name "python-gpy") (name "python-gpy")
(version "1.13.1") (version "1.13.2")
(source (origin (source
(origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "GPy" version)) (uri (pypi-uri "GPy" version))
(sha256 (sha256
(base32 (base32 "083rl8nr4nmmr1pzn0g8gsc4wi9dnhj3jjhkwsssadm5vns5d0m3"))))
"05d1ry4jpp0srsrmp3qd6s0p2bjc4c0z99450pzdr79vagbfvlk4"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list (list
#:phases #:phases
'(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'compatibility (add-after 'unpack 'compatibility
(lambda _ (lambda _
;; This file uses Python 2 statements ;; This file uses Python 2 statements
@ -3780,9 +3780,17 @@ for parameterized model creation and handling. Its features include:
(("sp\\.poly1d") "np.poly1d") (("sp\\.poly1d") "np.poly1d")
(("sp\\.roots") "np.roots"))))))) (("sp\\.roots") "np.roots")))))))
(native-inputs (native-inputs
(list python-cython python-matplotlib python-pods python-pytest)) (list python-cython
python-matplotlib
python-pods
python-pytest
python-setuptools
python-wheel))
(propagated-inputs (propagated-inputs
(list python-numpy python-paramz python-scipy python-six)) (list python-numpy
python-paramz
python-scipy
python-six))
(home-page "https://sheffieldml.github.io/GPy/") (home-page "https://sheffieldml.github.io/GPy/")
(synopsis "The Gaussian Process Toolbox") (synopsis "The Gaussian Process Toolbox")
(description (description