gnu: shrinkwrap: Use pyproject-build-system.
* gnu/packages/python-xyz.scm (shrinkwrap)[arguments]: Remove. [build-system]: Use pyproject-build-system.master
parent
e4ca1bcea5
commit
206815b796
|
@ -32861,24 +32861,7 @@ Storage}.")
|
|||
(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
|
||||
|
|
Reference in New Issue