mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-flasgger: Reduce closure size.
* gnu/packages/python-xyz.scm (python-flasgger): Update to 0.9.7.1. [arguments] <test-flags>: Skip example tests to reduce closure size from native inputs. <phases>: Remove 'prepare-check. [native-inputs]: Remove python-apispec, python-apispec-webframeworks, python-decorator, python-flask-restful, python-flex, python-marshmallow, python-pytest-cov, and python-wheel. Change-Id: I724855c2cdd22d9d36c0f7716ae183cf3b7db382
This commit is contained in:
parent
f2ee8422a7
commit
673cf99168
1 changed files with 11 additions and 27 deletions
|
@ -27385,17 +27385,9 @@ web frameworks.")
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
;; This test fails due to missing fixtures
|
#:test-flags
|
||||||
#:test-flags '(list "-k" "not test_swag")
|
#~(list "--ignore=tests/test_examples.py"
|
||||||
#:phases
|
"-k" "not test_swag")))
|
||||||
'(modify-phases %standard-phases
|
|
||||||
(add-after 'unpack 'prepare-check
|
|
||||||
(lambda _
|
|
||||||
;; This requires a dummy package "flasgger_package" to be installed.
|
|
||||||
(delete-file "examples/package_example.py")
|
|
||||||
;; These fail with an internal server error
|
|
||||||
(for-each delete-file '("examples/marshmallow_apispec.py"
|
|
||||||
"examples/validation.py")))))))
|
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-flask
|
(list python-flask
|
||||||
python-pyyaml
|
python-pyyaml
|
||||||
|
@ -27403,16 +27395,8 @@ web frameworks.")
|
||||||
python-mistune
|
python-mistune
|
||||||
python-six))
|
python-six))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-apispec
|
(list python-pytest
|
||||||
python-apispec-webframeworks
|
python-setuptools))
|
||||||
python-decorator
|
|
||||||
python-flask-restful
|
|
||||||
python-flex
|
|
||||||
python-marshmallow
|
|
||||||
python-pytest
|
|
||||||
python-pytest-cov
|
|
||||||
python-setuptools
|
|
||||||
python-wheel))
|
|
||||||
(home-page "https://github.com/rochacbruno/flasgger/")
|
(home-page "https://github.com/rochacbruno/flasgger/")
|
||||||
(synopsis "Extract Swagger specs from your Flask project")
|
(synopsis "Extract Swagger specs from your Flask project")
|
||||||
(description "@code{python-flasgger} allows extracting Swagger specs
|
(description "@code{python-flasgger} allows extracting Swagger specs
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue