| Port details on branch 2026Q2 |
- py-pytest-mock Thin wrapper around the mock package for easier use with py.test
- 3.15.1 devel
=1 3.10.0_1Version of this port present on the latest quarterly branch. - Maintainer: olgeni@FreeBSD.org
 - Port Added: 2017-06-26 10:32:34
- Last Update: 2026-05-14 01:01:53
- Commit Hash: 5b6315d
- People watching this port, also watch:: py311-Automat, freeimage, font-misc-meltho, libjxl, py311-pycparser
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/pytest-dev/pytest-mock/
- Description:
- This plugin provides a mocker fixture which is a thin-wrapper around the
patching API provided by the mock package.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}pytest-mock>0:devel/py-pytest-mock@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-pytest-mock/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-pytest-mock
- pkg install py311-pytest-mock
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-pytest-mock listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-pytest-mock
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1778639819
SHA256 (pytest_mock-3.15.1.tar.gz) = 1849a238f6f396da19762269de72cb1814ab44416fa73a8686deac10b0d87a0f
SIZE (pytest_mock-3.15.1.tar.gz) = 34036
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-setuptools-scm>=0 : devel/py-setuptools-scm@py311
- py311-wheel>=0 : devel/py-wheel@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- py311-coverage>0 : devel/py-coverage@py311
- py311-mock>0 : devel/py-mock@py311
- py311-pytest-asyncio>0 : devel/py-pytest-asyncio@py311
- py311-pytest>=0 : devel/py-pytest@py311
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-pytest>=6.2.5 : devel/py-pytest@py311
- python3.11 : lang/python311
- This port is required by:
- for Run
-
- astro/py-pytest-astropy
- devel/py-pytest-recorder
Configuration Options:
- No options to configure
- Options name:
- devel_py-pytest-mock
- USES:
- pytest python:3.9+
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|