notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Volunteers wanted to help translate FreshPorts
Port details on branch 2026Q4
py-requests-mock Mock out responses from the requests package
1.12.1 www on this many watch lists=0 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 1.12.1Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2017-10-02 18:24:13
Last Update: 2024-03-31 18:51:50
Commit Hash: 6d51e45
Also Listed In: python
License: APACHE20
WWW:
https://github.com/jamielennox/requests-mock
Description:
requests-mock provides a building block to stub out the HTTP requests portions of your testing code.
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}requests-mock>0:www/py-requests-mock@${PY_FLAVOR}
To install the port:
cd /usr/ports/www/py-requests-mock/ && make install clean
To add the package, run one of these commands:
  • pkg install www/py-requests-mock
  • pkg install py39-requests-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-requests-mock listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py39-requests-mock
Package flavors (<flavor>: <package>)
  • py39: py39-requests-mock
distinfo:
TIMESTAMP = 1711860545 SHA256 (requests-mock-1.12.1.tar.gz) = e9e12e333b525156e82a3c852f22016b9158220d2f47454de9cae8a77d371401 SIZE (requests-mock-1.12.1.tar.gz) = 60901

Packages (timestamps in pop-ups are UTC):
py39-requests-mock
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64leriscv64
FreeBSD:13:latest--n/an/an/an/an/an/an/a
FreeBSD:13:quarterly--n/an/an/an/an/an/an/a
FreeBSD:14:latest--1.10.0--1.10.0-1.10.0-
FreeBSD:14:quarterly-----1.11.01.11.01.11.0-
FreeBSD:15:latest--n/a-n/an/a1.11.01.11.0-
FreeBSD:15:quarterly--n/a-n/an/a---
FreeBSD:16:latest--n/a-n/an/a---
 
py311-requests-mock
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64leriscv64
FreeBSD:13:latest1.12.11.12.1n/an/an/an/an/an/an/a
FreeBSD:13:quarterly1.12.11.12.1n/an/an/an/an/an/an/a
FreeBSD:14:latest---1.12.1-----
FreeBSD:14:quarterly---1.12.1-----
FreeBSD:15:latest--n/a1.12.1n/an/a---
FreeBSD:15:quarterly--n/a-n/an/a---
FreeBSD:16:latest--n/a-n/an/a---
 
py312-requests-mock
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64leriscv64
FreeBSD:13:latest--n/an/an/an/an/an/an/a
FreeBSD:13:quarterly--n/an/an/an/an/an/an/a
FreeBSD:14:latest1.12.11.12.1--1.12.1----
FreeBSD:14:quarterly1.12.11.12.1--1.12.1----
FreeBSD:15:latest1.12.11.12.1n/a-n/an/a---
FreeBSD:15:quarterly1.12.11.12.1n/a-n/an/a---
FreeBSD:16:latest1.12.11.12.1n/a-n/an/a---
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py39-setuptools>=56 : devel/py-setuptools@py39
  2. py39-setuptools-scm>=0 : devel/py-setuptools-scm@py39
  3. py39-wheel>=0 : devel/py-wheel@py39
  4. python3.9 : lang/python39
  5. py39-build>=0 : devel/py-build@py39
  6. py39-installer>=0 : devel/py-installer@py39
Test dependencies:
  1. py39-fixtures>=0 : devel/py-fixtures@py39
  2. py39-mock>=0 : devel/py-mock@py39
  3. py39-pytest>=0 : devel/py-pytest@py39
  4. py39-sphinx>=0,1 : textproc/py-sphinx@py39
  5. py39-testrepository>=0.0.18 : devel/py-testrepository@py39
  6. py39-testtools>=0 : devel/py-testtools@py39
  7. python3.9 : lang/python39
Runtime dependencies:
  1. py39-requests>=2.3<3 : www/py-requests@py39
  2. py39-six>=0 : devel/py-six@py39
  3. python3.9 : lang/python39
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
www_py-requests-mock
USES:
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/r/requests-mock/
  2. https://pypi.org/packages/source/r/requests-mock/
Collapse this list.

There are no commits on branch 2026Q4 for this port