Port details on branch 2023Q3
py-mock Rolling backport of unittest.mock for all Pythons
5.2.0_1 devel Σ =7 5.2.0_1Version of this port present on the latest quarterly branch. Maintainer: bofh@FreeBSD.org Port Added: 2010-07-09 20:53:29
Last Update: 2025-03-08 04:05:21
Commit Hash: 06a08e6
People watching this port, also watch: pcre , glib , py311-parsedatetime , py312-pycparser , 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. USE_RC_SUBR (Service Scripts)
no SUBR information found 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 py311-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-mock listed in the above command, you can pick from the names under the Packages section.PKGNAME: py311-mock Package flavors (<flavor>: <package> ) # distinfo: # TIMESTAMP = 1741071821
SHA256 (testing-cabal-mock-5.2.0_GH0.tar.gz) = ab700375e77a5213e8def1f61c2d83ca1b50ff9b56b541992dc54784c1274c52
SIZE (testing-cabal-mock-5.2.0_GH0.tar.gz) = 90933
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>=63.1.0 : devel/py-setuptools@py311 python3.11 : lang/python311
Test dependencies: #
py311-pytest>=7,1 : devel/py-pytest@py311 python3.11 : lang/python311
Runtime dependencies: #
python3.11 : lang/python311
This port is required by: # for Build #
databases/py-peewee_migrate
devel/py-buildbot-www
graphics/qgis
graphics/qgis-ltr
Deleted ports which required this port:
for Run #
astro/py-skyfield
databases/py-peewee_migrate
devel/py-fam
devel/py-pytest-shutil
devel/py-sure
devel/py-tables
devel/py-vsts-cd-manager
Deleted ports which required this port:
for Test #
astro/py-skyfield-data
benchmarks/py-locust
databases/py-pgcli
databases/py-redis
databases/py-redis2
databases/py-redis5
databases/py-redis6
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: #