From d97df2b206f52fa101ead131cace7fa085b3651b Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 23 Feb 2025 10:26:40 +0100 Subject: 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 --- gnu/packages/python-science.scm | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 0cdf23dfa8d..b51a4a0a9b0 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -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 -- cgit v1.3