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:
Ricardo Wurmus 2025-01-13 13:07:48 +01:00
parent 9edb4fe373
commit 6d8965368b
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -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,