From 54bed86a04235cc8ceb961501b0ce7556aebeac1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 20 May 2021 12:53:15 +0200 Subject: [PATCH] dev-python/flask: Move asgiref to test-deps MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .../flask/{flask-2.0.0.ebuild => flask-2.0.0-r1.ebuild} | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) rename dev-python/flask/{flask-2.0.0.ebuild => flask-2.0.0-r1.ebuild} (93%) 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 ca0c359d7f482..6e9937852c214 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