Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Volunteers wanted to help translate FreshPorts
Searches without login should now work. You must get asked to click a button.
Port details on branch 2023Q4
py-pytest-mock Thin wrapper around the mock package for easier use with py.test
3.15.1 devel Σ=1 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 3.15.1Version of this port present on the latest quarterly branch.
Maintainer: olgeni@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2017-06-26 10:32:34
Last Update: 2026-06-26 20:47:37
Commit Hash: 5598e30
People watching this port, also watch: py311-Automat, freeimage, font-misc-meltho, libjxl, py312-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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

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 py312-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 py312-pytest-mock listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-pytest-mock
Package flavors (<flavor>: <package>) #
  • py312: py312-pytest-mock
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): #
py39-pytest-mock
ABIaarch64amd64armv6armv7i386
FreeBSD:13:latest--n/an/an/a
FreeBSD:13:quarterly--n/an/an/a
FreeBSD:14:latest--1.10.4--
FreeBSD:14:quarterly-----
FreeBSD:15:latest--n/a-n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest--n/a-n/a
 
py311-pytest-mock
ABIaarch64amd64armv6armv7i386
FreeBSD:13:latest3.10.0_13.10.0_1n/an/an/a
FreeBSD:13:quarterly3.10.0_13.10.0_1n/an/an/a
FreeBSD:14:latest---3.10.0_1-
FreeBSD:14:quarterly---3.10.0_1-
FreeBSD:15:latest--n/a3.10.0_1n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest--n/a-n/a
 
py312-pytest-mock
ABIaarch64amd64armv6armv7i386
FreeBSD:13:latest--n/an/an/a
FreeBSD:13:quarterly--n/an/an/a
FreeBSD:14:latest3.15.13.15.1--3.15.1
FreeBSD:14:quarterly3.15.13.15.1--3.15.1
FreeBSD:15:latest3.15.13.15.1n/a-n/a
FreeBSD:15:quarterly3.15.13.15.1n/a-n/a
FreeBSD:16:latest3.15.13.15.1n/a-n/a
 
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. py312-setuptools-scm>=0 : devel/py-setuptools-scm@py312
  2. py312-wheel>=0 : devel/py-wheel@py312
  3. python3.12 : lang/python312
  4. py312-build>=0 : devel/py-build@py312
  5. py312-installer>=0 : devel/py-installer@py312
Test dependencies: #
  1. py312-coverage>0 : devel/py-coverage@py312
  2. py312-mock>0 : devel/py-mock@py312
  3. py312-pytest-asyncio>0 : devel/py-pytest-asyncio@py312
  4. py312-pytest>=0 : devel/py-pytest@py312
  5. python3.12 : lang/python312
Runtime dependencies: #
  1. py312-pytest>=6.2.5 : devel/py-pytest@py312
  2. python3.12 : lang/python312
This port is required by: #
for Run #
  1. astro/py-pytest-astropy
  2. devel/py-pytest-recorder
for Test #
  1. biology/py-cutadapt
  2. cad/py-cocotb
  3. databases/py-deltalake
  4. databases/py-fakeredis
  5. databases/py-lancedb
  6. devel/meson-python
  7. devel/py-circuitbreaker
Expand this list (92 items / 85 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list.
  2. devel/py-cookiecutter
  3. devel/py-devtools
  4. devel/py-diff-cover
  5. devel/py-git-url-parse
  6. devel/py-gitpython
  7. devel/py-hvac
  8. devel/py-inline-snapshot
  9. devel/py-molecule
  10. devel/py-natsort
  11. devel/py-poetry
  12. devel/py-poetry-plugin-export
  13. devel/py-pudb
  14. devel/py-pydantic-settings
  15. devel/py-pyproject-api
  16. devel/py-pyproject-fmt
  17. devel/py-pytest-recording
  18. devel/py-pytest-ruff
  19. devel/py-qstylizer
  20. devel/py-scikit-build
  21. devel/py-traitlets
  22. devel/py-unearth
  23. devel/py-virtualenv
  24. finance/py-financetoolkit
  25. finance/py-pythclient
  26. finance/py-stripe
  27. finance/py-technical
  28. ftp/py-aioftp
  29. graphics/py-albucore
  30. graphics/py-graphviz
  31. misc/py-censys
  32. misc/py-csvw
  33. misc/py-langchain
  34. misc/py-langchain-anthropic
  35. misc/py-langchain-core
  36. misc/py-langchain-google-community
  37. misc/py-langchain-google-genai
  38. misc/py-langchain-groq
  39. misc/py-langchain-openai
  40. misc/py-langchain-text-splitters
  41. misc/py-langgraph
  42. misc/py-langgraph-checkpoint
  43. misc/py-langgraph-checkpoint-sqlite
  44. misc/py-langgraph-prebuilt
  45. misc/py-langgraph-sdk
  46. misc/py-papermill
  47. misc/py-wandb
  48. multimedia/py-guessit
  49. net/py-saltyrtc.server
  50. net/py-sbws
  51. net-im/py-apprise
  52. science/py-ase
  53. science/py-dwave-gate
  54. science/py-mp-api
  55. science/py-mplhep
  56. science/py-pymatgen-analysis-alloys
  57. security/py-pass-git-helper
  58. shells/xonsh
  59. sysutils/py-ansible-compat
  60. sysutils/py-ansible-core
  61. sysutils/py-ansible-core220
  62. sysutils/py-ansible-core221
  63. sysutils/py-ansible-lint
  64. sysutils/py-filelock
  65. textproc/lookatme
  66. textproc/py-docstring-to-markdown
  67. textproc/py-segments
  68. www/py-aiohttp
  69. www/py-dj60-django-redis
  70. www/py-django-redis
  71. www/py-flask-dance
  72. www/py-httpie
  73. www/py-httpx-oauth
  74. www/py-lomond
  75. www/py-mechanicalsoup
  76. www/py-qh3
  77. www/py-requests
  78. Collapse this list.

Deleted ports which required this port:

Expand this list of 9 deleted ports
  1. devel/py-python-gilt*
  2. net/cloud-init-devel*
  3. sysutils/py-ansible-core218*
  4. sysutils/py-ansible-core219*
  5. www/py-dj42-django-redis*
  6. www/py-dj50-django-redis*
  7. www/py-dj51-django-redis*
  8. www/py-dj52-django-redis*
  9. www/py-fastapi-users*
  10. Collapse this list of deleted ports.
* - 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-pytest-mock
USES: #
pytest python
FreshPorts was unable to extract/find any pkg message #
Master Sites: #
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/p/pytest_mock/
  2. https://pypi.org/packages/source/p/pytest_mock/
Collapse this list.

There are no commits on branch 2023Q4 for this port