summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-08-03 13:04:12 +0200
committerMichał Górny <mgorny@gentoo.org>2023-08-03 13:05:06 +0200
commitaae5e900c980b2fac79c38ad4cbb7bb68e0b3ef5 (patch)
tree15a37f198e400d0a2d5a242153007afe6dd96c9e /dev-python/pymongo
parentdev-python/rapidfuzz: Remove old (diff)
downloadgentoo-aae5e900c980b2fac79c38ad4cbb7bb68e0b3ef5.tar.gz
gentoo-aae5e900c980b2fac79c38ad4cbb7bb68e0b3ef5.tar.bz2
gentoo-aae5e900c980b2fac79c38ad4cbb7bb68e0b3ef5.zip
dev-python/pymongo: Pull test-full deps only with USE=test
Closes: https://bugs.gentoo.org/911653 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pymongo')
-rw-r--r--dev-python/pymongo/pymongo-4.4.1.ebuild8
1 files 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