notbugIf you buy from Amazon USA, please support us by using this link.
Port details
py-vcrpy Automatically mock HTTP interactions to simplify and speed up testing
2.0.1 devel on this many watch lists=1 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: koobs@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2016-02-26 04:16:35
Last Update: 2019-05-15 10:12:28
SVN Revision: 501695
Also Listed In: www python
License: MIT
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

WWW: https://github.com/kevin1024/vcrpy
SVNWeb : Homepage

There is no configure plist information for this port.

Dependency lines:
  • py36-vcrpy>0:devel/py-vcrpy

To install the port: cd /usr/ports/devel/py-vcrpy/ && make install clean
To add the package: pkg install py36-vcrpy

PKGNAME: py36-vcrpy

Package flavors (<flavor>: <package>)
  • py36: py36-vcrpy
  • py27: py27-vcrpy

distinfo:

TIMESTAMP = 1557911202
SHA256 (vcrpy-2.0.1.tar.gz) = 57be64aa8e9883a4117d0b15de28af62275c001abcdb00b6dc2d4406073d9a4f
SIZE (vcrpy-2.0.1.tar.gz) = 63596


NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. py36-setuptools>0 : devel/py-setuptools@py36
  2. python3.6 : lang/python36
Runtime dependencies:
  1. py36-yaml>0 : devel/py-yaml@py36
  2. py36-wrapt>0 : devel/py-wrapt@py36
  3. py36-six>=1.5 : devel/py-six@py36
  4. py36-setuptools>0 : devel/py-setuptools@py36
  5. python3.6 : lang/python36
  6. py36-yarl>0 : www/py-yarl@py36
There are no ports dependent upon this port

Configuration Options
     No options to configure

USES:
python

Master Sites:
  1. https://files.pythonhosted.org/packages/source/v/vcrpy/
  2. https://pypi.org/packages/source/v/vcrpy/
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2017-11-30
    Affects: */py*
    Author: mat@FreeBSD.org
    Reason: 
      Ports using Python via USES=python are now flavored.  All the py3-* ports
      have been removed and folded into their py-* master ports.
    
      People using Poudriere 3.2+ and binary packages do not have to do anything.
    
      For other people, to build the Python 3.6 version of, for example,
      databases/py-gdbm, you need to run:
    
        # make FLAVOR=py36 install
    
    

Number of commits found: 7

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
15 May 2019 09:12:28
Original commit files touched by this commit  2.0.1
Revision:501695
koobs search for other commits by this committer
devel/py-vcrpy: Update to 2.0.1

Changelog:

  https://github.com/kevin1024/vcrpy/releases
20 Jun 2018 17:05:44
Original commit files touched by this commit  1.7.4
Revision:472884
mat search for other commits by this committer
Use PY_FLAVOR for dependencies.

FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
30 Nov 2017 15:50:34
Original commit files touched by this commit  1.7.4
Revision:455210  Sanity Test Failure
mat search for other commits by this committer
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 View all of this commit message)
10 Sep 2017 18:51:46
Original commit files touched by this commit  1.7.4
Revision:449586
olgeni search for other commits by this committer
Some typo fixes and whitespace cleanup for pkg-descr files.
21 Oct 2016 12:51:41
Original commit files touched by this commit  1.7.4
Revision:424411  Sanity Test Failure
mat search for other commits by this committer
${RM} already has -f.

PR:		213570
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
01 Apr 2016 14:00:57
Original commit files touched by this commit  1.7.4
Revision:412346
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
26 Feb 2016 04:16:26
Original commit files touched by this commit  1.7.4
Revision:409578
koobs search for other commits by this committer
[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

Number of commits found: 7

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
firefoxMay 22
firefox-esrMay 22
libxulMay 22
linux-firefoxMay 22
linux-seamonkeyMay 22
linux-thunderbirdMay 22
seamonkeyMay 22
thunderbirdMay 22
waterfoxMay 22
rustMay 15
linux-flashplayerMay 14
samba46May 14
samba47May 14
samba48May 14
php71-exifMay 11

7 vulnerabilities affecting 119 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2019-05-22 12:01:45


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 36494
Broken 79
Deprecated 117
Ignore 298
Forbidden 3
Restricted 163
No CDROM 74
Vulnerable 32
Expired 34
Set to expire 90
Interactive 0
new 24 hours 4
new 48 hours10
new 7 days55
new fortnight100
new month183

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2019 Dan Langille. All rights reserved.