Port details on branch 2024Q4 |
- py-mock Rolling backport of unittest.mock for all Pythons
- 5.1.0 devel =9 5.1.0Version of this port present on the latest quarterly branch.
- Maintainer: bofh@FreeBSD.org
- Port Added: 2010-07-09 20:53:29
- Last Update: 2023-07-15 15:43:35
- Commit Hash: ea260e9
- People watching this port, also watch:: libxml2, py311-six, indexinfo, py311-configargparse, py311-configobj
- Also Listed In: python
- License: BSD2CLAUSE
- WWW:
- https://mock.readthedocs.org/en/latest/
- 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.
- ¦ ¦ ¦ ¦
- 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.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-mock/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-mock
- pkg install py39-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 py39-mock listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-mock
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1689432997
SHA256 (testing-cabal-mock-5.1.0_GH0.tar.gz) = e3ad0dbebbdab94f7401920e86cb765f50c42f6f88db223c8438c352fc8c136f
SIZE (testing-cabal-mock-5.1.0_GH0.tar.gz) = 87814
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:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- py39-pytest>=7,1 : devel/py-pytest@py39
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Build
-
- databases/py-peewee_migrate
- devel/py-buildbot-www
- dns/py-ns1-python
- graphics/qgis
- graphics/qgis-ltr
-
Deleted ports which required this port:
- for Run
-
- astro/py-skyfield
- databases/py-peewee_migrate
- devel/py-pytest-shutil
- devel/py-sure
- devel/py-tables
- devel/py-vsts-cd-manager
- finance/odoo
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- No options to configure
- Options name:
- devel_py-mock
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|