gnu: python-opt-einsum: Use pyproject-build-system.

* gnu/packages/python-science.scm (python-opt-einsum)[build-system]: Use
pyproject-build-system.
[arguments]: Remove.
[native-inputs]: Remove python-pytest-pep8; add python-setuptools and
python-wheel.

Change-Id: I6da632c3c7e02ec13ab61124ce2984aa2675d996
This commit is contained in:
Ricardo Wurmus 2025-02-23 10:26:40 +01:00 committed by Andreas Enge
parent e3cfbd0c15
commit d97df2b206
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -4074,16 +4074,10 @@ numerical computation.")
(sha256
(base32
"0jb5lia0q742d1713jk33vlj41y61sf52j6pgk7pvhxvfxglgxjr"))))
(build-system python-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "pytest" "-vv")))))))
(build-system pyproject-build-system)
(propagated-inputs (list python-numpy))
(native-inputs (list python-pytest python-pytest-cov python-pytest-pep8))
(native-inputs
(list python-pytest python-pytest-cov python-setuptools python-wheel))
(home-page "https://github.com/dgasmith/opt_einsum")
(synopsis "Optimizing numpys einsum function")
(description