Port details on branch 2022Q2 |
- py-vcrpy Automatically mock HTTP interactions to simplify and speed up testing
- 6.0.1 devel =1 6.0.1Version of this port present on the latest quarterly branch.
- Maintainer: bofh@FreeBSD.org
- Port Added: 2016-02-26 04:16:35
- Last Update: 2024-01-26 15:56:30
- Commit Hash: 5233689
- People watching this port, also watch:: mailgraph, py39-mailcap_fix, py39-knack, openfire
- 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.
- 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 py39-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 py39-vcrpy listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-vcrpy
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1706277570
SHA256 (vcrpy-6.0.1.tar.gz) = 9e023fee7f892baa0bbda2f7da7c8ac51165c1c6e38ff8688683a12a4bde9278
SIZE (vcrpy-6.0.1.tar.gz) = 84836
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:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- py39-pytest>0 : devel/py-pytest@py39
- py39-pytest>=7,1 : devel/py-pytest@py39
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-six>=1.5 : devel/py-six@py39
- py39-wrapt>0 : devel/py-wrapt@py39
- py39-yaml>0 : devel/py-yaml@py39
- py39-yarl>0 : www/py-yarl@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- www/py-habanero
Configuration Options:
- No options to configure
- Options name:
- devel_py-vcrpy
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|