commit:     54bed86a04235cc8ceb961501b0ce7556aebeac1
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu May 20 10:53:15 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu May 20 13:51:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54bed86a

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 <AT> gentoo.org>

 dev-python/flask/{flask-2.0.0.ebuild => flask-2.0.0-r1.ebuild} | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-python/flask/flask-2.0.0.ebuild 
b/dev-python/flask/flask-2.0.0-r1.ebuild
similarity index 93%
rename from dev-python/flask/flask-2.0.0.ebuild
rename to dev-python/flask/flask-2.0.0-r1.ebuild
index ca0c359d7f4..6e9937852c2 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

Reply via email to