BSD Ports

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.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDwww/py-requests-mock1.11.0_1no data-[email protected]-
FreeBSDwww/py-requests-mock1.12.1 newestnone known-[email protected]-
OpenBSDwww/py-requests-mock1.12.1p2 newestno data-The OpenBSD ports mailing-list <[email protected]>2026-08-11
DragonFlywww/py-requests-mock1.12.1 newestnone known-[email protected]-
HardenedBSDwww/py-requests-mock1.12.1 newestno data-[email protected]-
GhostBSDwww/py-requests-mock1.12.1 newestno data-[email protected]-

Compare across BSDs

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

Runtime 2

Test 6

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
FileSizeSHA256
requests-mock-1.11.0.tar.gz74377ef10b572b489a5f28e09b708697208c4a3b2b89ef80a9f01584340ea357ec3c4
Master sites 1
  • PYPI