FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

We also have a status page: https://freshports.wordpress.com/

Port details
py-vcrpy Automatically mock HTTP interactions to simplify and speed up testing
1.7.4 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: 26 Feb 2016 04:16:35
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 : PortsMon
There is no configure plist information for this port

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

PKGNAME: py27-vcrpy

distinfo:

SHA256 (kevin1024-vcrpy-v.1.7.4_GH0.tar.gz) = 5bf75cf4dcb666b7181f07d6128dd04b9c2b222fa69436cb5e29412f70dce3bd
SIZE (kevin1024-vcrpy-v.1.7.4_GH0.tar.gz) = 315232


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

Build dependencies:
  1. py27-setuptools>0 : devel/py-setuptools@py27
  2. python2.7 : lang/python27
Runtime dependencies:
  1. py27-yaml>0 : devel/py-yaml@py27
  2. py27-wrapt>0 : devel/py-wrapt@py27
  3. py27-six>=1.5 : devel/py-six@py27
  4. py27-setuptools>0 : devel/py-setuptools@py27
  5. python2.7 : lang/python27
  6. py27-mock>0 : devel/py-mock@py27
  7. py27-contextlib2>0 : devel/py-contextlib2@py27
There are no ports dependent upon this port

Configuration Options
     No options to configure

USES:
python

Master Sites:
  1. https://codeload.github.com/kevin1024/vcrpy/tar.gz/v.1.7.4?dummy=/
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: 5

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
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: 5

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, 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
libXcursorDec 17
libXfont2Dec 17
libXfont2Dec 17
globalDec 16
jenkinsDec 15
jenkins-ltsDec 15
gitlabDec 14
nodeDec 14
node4Dec 14
node6Dec 14
node8Dec 14
torDec 14
asterisk13Dec 13
asterisk13*Dec 13
asterisk13*Dec 13

18 vulnerabilities affecting 90 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2017-12-17 18:50:28


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 32136
Broken 122
Deprecated 47
Ignore 358
Forbidden 0
Restricted 173
No CDROM 77
Vulnerable 41
Expired 10
Set to expire 39
Interactive 0
new 24 hours 9
new 48 hours10
new 7 days33
new fortnight108
new month43009

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