summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-06-24 11:07:23 +0200
committerMichał Górny <mgorny@gentoo.org>2023-06-24 13:32:13 +0200
commit20230490139219be66382115c9f1d0b614d8dad7 (patch)
tree16e9dbbbaa3986765cfee9a9b667aade3bd41d3d /dev-python/pymongo/metadata.xml
parentdev-python/pymongo: Remove unused DB_PORT{2,3} vars (diff)
downloadgentoo-20230490139219be66382115c9f1d0b614d8dad7.tar.gz
gentoo-20230490139219be66382115c9f1d0b614d8dad7.tar.bz2
gentoo-20230490139219be66382115c9f1d0b614d8dad7.zip
dev-python/pymongo: Support running the test suite without mongodb
Add IUSE=test-full and support running the test suite without a running mongodb server when it is disabled. This makes it possible to keyword pymongo on architectures where the low quality mongodb software does not build. Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pymongo/metadata.xml')
-rw-r--r--dev-python/pymongo/metadata.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-python/pymongo/metadata.xml b/dev-python/pymongo/metadata.xml
index 9fefebbe96bd..49d5ee837cb8 100644
--- a/dev-python/pymongo/metadata.xml
+++ b/dev-python/pymongo/metadata.xml
@@ -12,6 +12,12 @@
<longdescription lang="en">PyMongo is a Python distribution containing tools
for working with MongoDB, and is the recommended way to work
with MongoDB from Python.</longdescription>
+ <use>
+ <flag name="test-full">
+ Run test suite in full, including tests that run a local
+ database instance.
+ </flag>
+ </use>
<upstream>
<remote-id type="pypi">pymongo</remote-id>
<remote-id type="github">mongodb/mongo-python-driver</remote-id>