devel/py-mock 5.2.0_1 FreeBSD
Rolling backport of unittest.mock for all Pythons
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- BSD2CLAUSE
- Categories
- devel, python
- Package size
- 71.8 KiB, 378.4 KiB installed
Description
mock is a library for testing in Python. It allows you to replace parts of your system under test with mock objects and make assertions about how they have been used.
mock is now part of the Python standard library, available as unittest.mock in Python 3.3 onwards.
This package contains a rolling backport of the standard library mock code compatible with Python 2.7 and 3.4 and up.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-mock | 5.2.0_1 |
| OpenBSD | devel/py-mock | 5.1.0p1 |
| NetBSD | devel/py-mock | 5.2.0nb1 |
| DragonFly | devel/py-mock | 5.2.0_1 |
| MidnightBSD | devel/py-mock | 5.2.0_1 |
Install
Binary package:
pkg install py312-mock
From the ports tree:
cd /usr/ports/devel/py-mock/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-mock>0:devel/py-mock
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 | 5.2.0_1 | 5.2.0_1 | 5.0.1 | 5.2.0_1 | 5.2.0_1 |
| FreeBSD:14:quarterly | 5.2.0_1 | 5.2.0_1 | n/a | 5.2.0_1 | 5.2.0_1 |
| FreeBSD:15:latest | 5.2.0_1 | 5.2.0_1 | n/a | 5.2.0_1 | 5.2.0_1 |
| FreeBSD:15:quarterly | 5.2.0_1 | 5.2.0_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 5.2.0_1 | 5.2.0_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 11
Run dependencies 7
Required by 83
- astro/kosmorro
- astro/py-kosmorrolib
- astro/py-skyfield
- astro/py-skyfield-data
- biology/groopm
- databases/py-peewee_migrate
- deskutils/py-qmd
- devel/py-buildbot-www
- devel/py-fam
- devel/py-odoo-addon-openupgrade-framework16
- devel/py-odoo-addon-openupgrade-framework17
- devel/py-odoo-addon-openupgrade-framework18
- devel/py-odoo-addon-openupgrade-scripts16
- devel/py-odoo-addon-openupgrade-scripts17
- devel/py-odoo-addon-openupgrade-scripts18
- devel/py-orca
- devel/py-pytest-shutil
- devel/py-pytest-virtualenv
- devel/py-sure
- devel/py-tables
- devel/py-vsts-cd-manager
- devel/vitables
- finance/odoo
- finance/odoo16
- finance/odoo17
- finance/odoo18
- graphics/py-geosnap
- graphics/py-olmocr
- graphics/py-pandana
- graphics/py-pandarm
- graphics/py-urbanaccess
- graphics/py-urbansim
- graphics/qgis
- graphics/qgis-ltr
- irc/py-limnoria
- misc/colibri
- misc/comfyui
- misc/py-compressed-tensors
- misc/py-kokoro
- misc/py-llama-index-embeddings-huggingface
- misc/py-optimum
- misc/py-peft
- misc/py-sagemaker
- misc/py-sagemaker-core
- misc/py-sagemaker-mlops
- misc/py-sagemaker-serve
- misc/py-sagemaker-train
- misc/py-sentence-transformers
- misc/py-transformers
- misc/py-vllm
- misc/py-xgrammar
- science/py-PyNE
- science/py-pyphot
- security/py-certbot-dns-powerdns
- security/py-certbot-dns-standalone
- textproc/py-docling
- textproc/py-docling-agent
- textproc/py-docling-analysis-framework
- textproc/py-docling-core
- textproc/py-docling-cvat-tools
- textproc/py-docling-demo
- textproc/py-docling-enhanced
- textproc/py-docling-enhanced-onnx
- textproc/py-docling-eval
- textproc/py-docling-glm-ocr
- textproc/py-docling-google-ocr
- textproc/py-docling-graph
- textproc/py-docling-haystack
- textproc/py-docling-hierarchical-pdf
- textproc/py-docling-ibm-models
- textproc/py-docling-jobkit
- textproc/py-docling-langchain
- textproc/py-docling-litellm-picture-description
- textproc/py-docling-mcp
- textproc/py-docling-ocr
- textproc/py-docling-ocr-mistral
- textproc/py-docling-ocr-onnxtr
- textproc/py-docling-parse
- textproc/py-docling-sdg
- textproc/py-docling-serve
- textproc/py-docling-slim
- textproc/py-extended-docling
- textproc/py-langchain-docling
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| testing-cabal-mock-5.2.0_GH0.tar.gz | 90933 | ab700375e77a5213e8def1f61c2d83ca1b50ff9b56b541992dc54784c1274c52 |
Commit history 0
No commits in the history this site was built from.