Port details |
- py-vcrpy Automatically mock HTTP interactions to simplify and speed up testing
- 6.0.1_1 devel =3 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-07-07 08:05:33
- Commit Hash: 1a80ec7
- People watching this port, also watch:: picoc, roxterm, monit, notmuch, php81-pecl-scrypt
- 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 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 = 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:
-
- py311-setuptools>=63.1.0 : devel/py-setuptools@py311
- python3.11 : lang/python311
- Test dependencies:
-
- py311-pytest>0 : devel/py-pytest@py311
- py311-pytest>=7,1 : devel/py-pytest@py311
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-six>=1.5 : devel/py-six@py311
- py311-wrapt>0 : devel/py-wrapt@py311
- py311-pyyaml>=0 : devel/py-pyyaml@py311
- py311-yarl>0 : www/py-yarl@py311
- py311-setuptools>=63.1.0 : devel/py-setuptools@py311
- python3.11 : lang/python311
- 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:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
6.0.1_1 07 Jul 2024 08:05:33 |
Po-Chuan Hsieh (sunpoet) |
devel/py-pyyaml: Move devel/py-yaml to devel/py-pyyaml
- Bump PORTREVISION of dependent ports for dependency change |
6.0.1 26 Jan 2024 15:56:30 |
Muhammad Moinur Rahman (bofh) |
devel/py-vcrpy: Update version 6.0.0=>6.0.1
Changelog: https://github.com/kevin1024/vcrpy/releases/tag/v6.0.1 |
6.0.0 24 Jan 2024 10:20:11 |
Muhammad Moinur Rahman (bofh) |
devel/py-vcrpy: Update version 5.1.0=>6.0.0
Changelog: https://github.com/kevin1024/vcrpy/releases/tag/v6.0.0 |
5.1.0 02 Aug 2023 12:27:28 |
Muhammad Moinur Rahman (bofh) |
devel/py-vcrpy: Update version 5.0.0=>5.1.0
Changelog: https://github.com/kevin1024/vcrpy/releases/tag/v5.1.0 |
5.0.0 30 Jun 2023 04:43:56 |
Muhammad Moinur Rahman (bofh) |
devel/py-vcrpy: Update version 4.4.0=>5.0.0
Changelog: https://github.com/kevin1024/vcrpy/releases/tag/v5.0.0 |
4.4.0 29 Jun 2023 20:20:17 |
Muhammad Moinur Rahman (bofh) |
devel/py-vcrpy: Update version 4.3.1=>4.4.0
Changelog: https://github.com/kevin1024/vcrpy/releases/tag/v4.4.0 |
4.3.1 27 Jun 2023 19:34:34 |
Rene Ladan (rene) |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
4.3.1 03 Jun 2023 20:18:10 |
Muhammad Moinur Rahman (bofh) |
devel/py-vcrpy: Update version 4.2.1=>4.3.1
Changelog: https://github.com/kevin1024/vcrpy/releases/tag/v4.3.1 |
4.2.1 11 Jan 2023 15:58:34 |
Dmitry Marakasov (amdmi3) |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
4.2.1 31 Dec 2022 21:59:03 |
Muhammad Moinur Rahman (bofh) |
devel/py-vcrpy: Update version 4.1.1=>4.2.1
Relnotes: https://github.com/kevin1024/vcrpy/releases/tag/v4.2.1 |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
4.1.1 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
4.1.1 20 Jul 2022 14:21:35 |
Tobias C. Berner (tcberner) |
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
4.1.1 12 Mar 2022 10:38:27 |
Muhammad Moinur Rahman (bofh) |
devel/py-vcrpy: Update version 2.0.1=>4.1.1
Relnotes: https://github.com/kevin1024/vcrpy/releases/tag/v4.1.1 |
2.0.1 08 Mar 2022 02:09:57 |
Muhammad Moinur Rahman (bofh) |
*/*: Take maintainership |
2.0.1 07 Mar 2022 19:07:39 |
Rene Ladan (rene) |
all: return koobs' ports to the pool after safekeeping his commit bit. |
2.0.1 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
2.0.1 12 Jan 2021 22:03:52 |
rene |
Simplify some ports using PYTHON_VER and Python 3.6+ |
2.0.1 28 Dec 2020 23:02:15 |
antoine |
Drop python 2.7 support from a few ports
With hat: portmgr |
2.0.1 15 May 2019 09:12:28 |
koobs |
devel/py-vcrpy: Update to 2.0.1
Changelog:
https://github.com/kevin1024/vcrpy/releases |
1.7.4 20 Jun 2018 17:05:44 |
mat |
Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.
Sponsored by: Absolight |
1.7.4 30 Nov 2017 15:50:34 |
mat |
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the (Only the first 15 lines of the commit message are shown above ) |
1.7.4 10 Sep 2017 18:51:46 |
olgeni |
Some typo fixes and whitespace cleanup for pkg-descr files. |
1.7.4 21 Oct 2016 12:51:41 |
mat |
${RM} already has -f.
PR: 213570
Submitted by: mat
Exp-run by: antoine
Sponsored by: Absolight |
1.7.4 01 Apr 2016 14:00:57 |
mat |
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat: portmgr
Sponsored by: Absolight |
1.7.4 26 Feb 2016 04:16:26 |
koobs |
[NEW] devel/py-vcrpy: Automatically mock HTTP interactions to simplify and speed
up testing
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 peice 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
WWW: https://github.com/kevin1024/vcrpy |