commit:     aae5e900c980b2fac79c38ad4cbb7bb68e0b3ef5
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  3 11:04:12 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Aug  3 11:05:06 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aae5e900

dev-python/pymongo: Pull test-full deps only with USE=test

Closes: https://bugs.gentoo.org/911653
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pymongo/pymongo-4.4.1.ebuild | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/dev-python/pymongo/pymongo-4.4.1.ebuild 
b/dev-python/pymongo/pymongo-4.4.1.ebuild
index a371ef783deb..a543900a9665 100644
--- a/dev-python/pymongo/pymongo-4.4.1.ebuild
+++ b/dev-python/pymongo/pymongo-4.4.1.ebuild
@@ -31,8 +31,10 @@ RDEPEND="
        kerberos? ( dev-python/pykerberos[${PYTHON_USEDEP}] )
 "
 BDEPEND="
-       test-full? (
-               >=dev-db/mongodb-2.6.0
+       test? (
+               test-full? (
+                       >=dev-db/mongodb-2.6.0
+               )
        )
 "
 
@@ -40,7 +42,7 @@ distutils_enable_sphinx doc
 distutils_enable_tests unittest
 
 reqcheck() {
-       if use test-full; then
+       if use test && use test-full; then
                # During the tests, database size reaches 1.5G.
                local CHECKREQS_DISK_BUILD=1536M
 

Reply via email to