BSD Ports

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

  1. 4.3.0 288db125ba

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest----4.3.0
FreeBSD:14:quarterly--n/a--
FreeBSD:15:latest--n/a--
FreeBSD:15:quarterly--n/an/an/a
FreeBSD:16:latest-4.3.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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

Runtime 3

Test 1

The full lists below include those, and their dependencies in turn.

Build dependencies 22
Run dependencies 13

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
mongomock-4.3.0.tar.gz13586232667b79066fabc12d4f17f16a8fd7361b5f4435208b3ba32c226e52212a8c30
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
288db125ba Goran Mekić databases/py-mongomock: Add new port
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. WWW: https://github.com/mongomock/mongomock PR: 300720 Approved by: osa, vvd (mentors, implicit)