| Port details on branch 2025Q2 |
- py-vcrpy Automatically mock HTTP interactions to simplify and speed up testing
- 8.1.1 devel
=1 8.1.1Version of this port present on the latest quarterly branch. - Maintainer: bofh@FreeBSD.org
 - Port Added: 2016-02-26 04:16:35
- Last Update: 2026-01-07 15:55:20
- Commit Hash: b32468f
- People watching this port, also watch:: policyd2, rc, py311-cjkwrap, py311-darts.util.lru, monit
- Also Listed In: python www
- License: MIT
- WWW:
- https://github.com/kevin1024/vcrpy
- Description:
- VCR.py simplifies and speeds up tests that make HTTP requests. The first
time you run code that is inside a VCR.py context manager or decorated
function, VCR.py records all HTTP interactions that take place through
the libraries it supports and serializes and writes them to a flat file
(in yaml format by default). This flat file is called a cassette.
When the relevant piece of code is executed again, VCR.py will read the
serialized requests and responses from the aforementioned cassette file,
and intercept any HTTP requests that it recognizes from the original test
run and return the responses that corresponded to those requests. This
means that the requests will not actually result in HTTP traffic, which
confers several benefits including:
* The ability to work offline
* Completely deterministic tests
* Increased test execution speed
¦ ¦ ¦ ¦ 
- 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}vcrpy>0:devel/py-vcrpy@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-vcrpy/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-vcrpy
- pkg install py311-vcrpy
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-vcrpy listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-vcrpy
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1767800246
SHA256 (vcrpy-8.1.1.tar.gz) = 58e3053e33b423f3594031cb758c3f4d1df931307f1e67928e30cf352df7709f
SIZE (vcrpy-8.1.1.tar.gz) = 85770
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>0 : devel/py-setuptools@py311
- py311-wheel>0 : devel/py-wheel@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- py311-pytest>0 : devel/py-pytest@py311
- py311-pytest>=7,1 : devel/py-pytest@py311
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-wrapt>0 : devel/py-wrapt@py311
- py311-pyyaml>=0 : devel/py-pyyaml@py311
- py311-yarl>0 : www/py-yarl@py311
- python3.11 : lang/python311
- This port is required by:
- for Run
-
- devel/py-pytest-recorder
- devel/py-pytest-recording
- misc/py-langchain-tests
- misc/py-langsmith
Configuration Options:
- No options to configure
- Options name:
- devel_py-vcrpy
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|