databases/py-mongomock 4.3.0 FreeBSD
Library for testing Python code that interacts with MongoDB
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
288db125ba- License
- ISCL
- Categories
- databases, python
Description
Mongomock is a small library to help testing Python code that interacts with MongoDB via Pymongo. It implements a fake in-memory MongoDB server and provides a subset of PyMongo's API, allowing tests to run without a running MongoDB instance.
Version history 1
Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.
Install
Binary package:
pkg install py312-mongomock
From the ports tree:
cd /usr/ports/databases/py-mongomock/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-mongomock>0:databases/py-mongomock
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | - | - | - | - | 4.3.0 |
| FreeBSD:14:quarterly | - | - | n/a | - | - |
| FreeBSD:15:latest | - | - | n/a | - | - |
| FreeBSD:15:quarterly | - | - | n/a | n/a | n/a |
| FreeBSD:16:latest | - | 4.3.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0: devel/py-hatch-vcs${PYTHON_PKGNAMEPREFIX}hatchling>=0: devel/py-hatchling
Runtime 3
${PYTHON_PKGNAMEPREFIX}packaging>=0: devel/py-packaging${PYTHON_PKGNAMEPREFIX}pytz>=0: devel/py-pytz${PYTHON_PKGNAMEPREFIX}sentinels>=0: devel/py-sentinels
Test 1
${PYTHON_PKGNAMEPREFIX}pymongo>=0: databases/py-pymongo
The full lists below include those, and their dependencies in turn.
Build dependencies 22
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-hatch-vcs
- devel/py-hatchling
- devel/py-installer
- devel/py-packaging
- devel/py-pathspec
- devel/py-pluggy
- devel/py-pyproject-hooks
- devel/py-setuptools
- devel/py-setuptools-scm
- devel/py-trove-classifiers
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/py-tomlkit
Run dependencies 13
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| mongomock-4.3.0.tar.gz | 135862 | 32667b79066fabc12d4f17f16a8fd7361b5f4435208b3ba32c226e52212a8c30 |
Master sites 1
- PYPI