mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 13:36:36 +01:00
gnu: python-falcon: Add missing inputs.
* gnu/packages/python-web.scm (python-falcon)[native-inputs]: Add python-setuptools and python-wheel. [arguments]: Remove custom 'check phase; ignore test_utils.py. Change-Id: I030504dc8113b8e44a37970cc0832c685aa51ec9
This commit is contained in:
parent
9edb4fe373
commit
6d8965368b
1 changed files with 7 additions and 7 deletions
|
@ -1259,15 +1259,13 @@ (define-public python-falcon
|
|||
(arguments
|
||||
(list
|
||||
#:test-flags
|
||||
'(list "--ignore-glob=examples/*" "--ignore-glob=bench/*" "tests")
|
||||
'(list "--ignore=tests/test_utils.py"
|
||||
"--ignore-glob=examples/*"
|
||||
"--ignore-glob=bench/*" "tests")
|
||||
#:phases
|
||||
'(modify-phases %standard-phases
|
||||
(add-before 'check 'set-HOME
|
||||
(lambda _ (setenv "HOME" "/tmp")))
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? test-flags #:allow-other-keys)
|
||||
(when tests?
|
||||
(apply invoke "pytest" "-vv" test-flags)))))))
|
||||
(lambda _ (setenv "HOME" "/tmp"))))))
|
||||
(propagated-inputs
|
||||
(list python-mimeparse))
|
||||
(native-inputs
|
||||
|
@ -1287,9 +1285,11 @@ (define-public python-falcon
|
|||
python-pyyaml
|
||||
python-rapidjson
|
||||
python-requests
|
||||
python-setuptools
|
||||
python-testtools
|
||||
python-ujson
|
||||
python-websockets))
|
||||
python-websockets
|
||||
python-wheel))
|
||||
(home-page "https://falconframework.org")
|
||||
(synopsis "Web framework for building APIs and application backends")
|
||||
(description "Falcon is a web API framework for building microservices,
|
||||
|
|
Loading…
Reference in a new issue