From 206815b796808874523dc3f928943c423b104f98 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 12 May 2023 22:53:46 +0200 Subject: gnu: shrinkwrap: Use pyproject-build-system. * gnu/packages/python-xyz.scm (shrinkwrap)[arguments]: Remove. [build-system]: Use pyproject-build-system. --- gnu/packages/python-xyz.scm | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 30769e4966..1710a303c1 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -32861,24 +32861,7 @@ (define-public shrinkwrap (sha256 (base32 "1f3qrygj16y767q2c7pn9j6m95ggcmj9s5cx9v92ygygly4mr3jp")))) - (build-system python-build-system) - (arguments - (list - #:phases - #~(modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "pytest" "-v" "tests")))) - ;; XXX: PEP 517 manual build copied from python-isort. - (replace 'build - (lambda _ - (invoke "python" "-m" "build" "--wheel" "--no-isolation" "."))) - (replace 'install - (lambda _ - (let ((whl (car (find-files "dist" "\\.whl$")))) - (invoke "pip" "--no-cache-dir" "--no-input" - "install" "--no-deps" "--prefix" #$output whl))))))) + (build-system pyproject-build-system) (native-inputs (list python-click python-poetry-core -- cgit v1.2.3