mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-apiron: Move to pyproject-build-system.
* gnu/packages/python-web.scm (python-apiron): [build-system]: Move to pyproject-build-system. [arguments]<#:phases>: Replace field with <#:test-flags>. Change-Id: I04bb9739b6356fd50fc07ae54838764d51ed22d6 Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
80a0bd2586
commit
bc90ab9281
1 changed files with 2 additions and 9 deletions
|
@ -3637,16 +3637,9 @@ WebSocket usage in Python programs.")
|
|||
(uri (pypi-uri "apiron" version))
|
||||
(sha256
|
||||
(base32 "1qwbqn47sf0aqznj1snbv37v8ijx476qqkjf5l9pac7xjkxsr8qk"))))
|
||||
(build-system python-build-system)
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(add-installed-pythonpath inputs outputs)
|
||||
(invoke "pytest" "-vv" "--cov" "-k"
|
||||
;; This test tries to connect to the internet.
|
||||
"not test_call"))))))
|
||||
(list #:test-flags '(list "-k" "not test_call")))
|
||||
(propagated-inputs
|
||||
(list python-requests))
|
||||
(native-inputs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue