www/py-requests-mock 1.11.0_1 MidnightBSD
Mock out responses from the requests package
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- Apache-2.0
- Categories
- www, python
Description
requests-mock provides a building block to stub out the HTTP requests portions of your testing code.
In the other systems
The newest version among them is 1.12.1, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | www/py-requests-mock | 1.11.0_1 | no data | - | [email protected] | - |
| FreeBSD | www/py-requests-mock | 1.12.1 newest | none known | - | [email protected] | - |
| OpenBSD | www/py-requests-mock | 1.12.1p2 newest | no data | - | The OpenBSD ports mailing-list <[email protected]> | 2026-08-11 |
| DragonFly | www/py-requests-mock | 1.12.1 newest | none known | - | [email protected] | - |
| HardenedBSD | www/py-requests-mock | 1.12.1 newest | no data | - | [email protected] | - |
| GhostBSD | www/py-requests-mock | 1.12.1 newest | no data | - | [email protected] | - |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}requests-mock
From mports:
cd /usr/mports/www/py-requests-mock && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests-mock>0:www/py-requests-mock
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}pbr>=0: devel/py-pbr
Runtime 2
${PYTHON_PKGNAMEPREFIX}requests>=2.3<3: www/py-requests${PYTHON_PKGNAMEPREFIX}six>=0: devel/py-six
Test 6
${PYTHON_PKGNAMEPREFIX}fixtures>=0: devel/py-fixtures${PYTHON_PKGNAMEPREFIX}mock>=0: devel/py-mock${PYTHON_PKGNAMEPREFIX}pytest>=0: devel/py-pytest${PYTHON_PKGNAMEPREFIX}sphinx>=0,1: textproc/py-sphinx${PYTHON_PKGNAMEPREFIX}testrepository>=0.0.18: devel/py-testrepository${PYTHON_PKGNAMEPREFIX}testtools>=0: devel/py-testtools
Build dependencies 1
Run dependencies 2
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| requests-mock-1.11.0.tar.gz | 74377 | ef10b572b489a5f28e09b708697208c4a3b2b89ef80a9f01584340ea357ec3c4 |
Master sites 1
- PYPI