summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-05-20 12:53:15 +0200
committerMichał Górny <mgorny@gentoo.org>2021-05-20 15:51:03 +0200
commit54bed86a04235cc8ceb961501b0ce7556aebeac1 (patch)
tree509163f1b9d8b778c0490a67075dbdf6c558ceae /dev-python/flask
parentdev-python/cython-test-exception-raiser: Revert "Keyword 1.0.0 alpha mips ris... (diff)
downloadgentoo-54bed86a04235cc8ceb961501b0ce7556aebeac1.tar.gz
gentoo-54bed86a04235cc8ceb961501b0ce7556aebeac1.tar.bz2
gentoo-54bed86a04235cc8ceb961501b0ce7556aebeac1.zip
dev-python/flask: Move asgiref to test-deps
asgiref is entirely optional and I suppose it makes little sense to pull it in for all flask users. The packages needing asgiref-related features will need to dep on asgiref directly (but then, they will probably have to do that anyway). Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/flask')
-rw-r--r--dev-python/flask/flask-2.0.0-r1.ebuild (renamed from dev-python/flask/flask-2.0.0.ebuild)5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-python/flask/flask-2.0.0.ebuild b/dev-python/flask/flask-2.0.0-r1.ebuild
index ca0c359d7f48..6e9937852c21 100644
--- a/dev-python/flask/flask-2.0.0.ebuild
+++ b/dev-python/flask/flask-2.0.0-r1.ebuild
@@ -24,12 +24,15 @@ SLOT="0"
IUSE="examples"
RDEPEND="
- >=dev-python/asgiref-3.2[${PYTHON_USEDEP}]
>=dev-python/click-7.1.2[${PYTHON_USEDEP}]
dev-python/blinker[${PYTHON_USEDEP}]
>=dev-python/itsdangerous-2.0[${PYTHON_USEDEP}]
>=dev-python/jinja-3.0[${PYTHON_USEDEP}]
>=dev-python/werkzeug-2.0[${PYTHON_USEDEP}]"
+BDEPEND="
+ test? (
+ >=dev-python/asgiref-3.2[${PYTHON_USEDEP}]
+ )"
distutils_enable_sphinx docs
distutils_enable_tests pytest