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

Port details
py-flexmock Testing library to create mocks, stubs and fakes
0.10.2 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 04 Nov 2011 15:57:57
Also Listed In: python
License: BSD2CLAUSE
flexmock is a testing library for Python that makes it easy to create mocks,
stubs and fakes.

Its API is inspired by a Ruby library of the same name. However, it is not a
goal of Python flexmock to be a clone of the Ruby version. Instead, the focus is
on providing full support for testing Python programs and making the creation of
fake objects as unobtrusive as possible.

As a result, Python flexmock removes a number of redundancies in the Ruby
flexmock API, alters some defaults, and introduces a number of Python-only
features.

flexmock's design focuses on simplicity and intuitivenes. This means that the
API is as lean as possible, though a few convenient short-hand methods are
provided to aid brevity and readability.

flexmock declarations are structured to read more like English sentences than
API calls, and it is possible to chain them together in any order to achieve
high degree of expressiveness in a single line of code.

WWW: https://pypi.org/project/flexmock/
WWW: https://github.com/bkabrda/flexmock
SVNWeb : Homepage : PortsMon
There is no configure plist information for this port

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

PKGNAME: py27-flexmock

distinfo:

SHA256 (flexmock-0.10.2.tar.gz) = fe95c8727f4db73dc8f2f7b4548bffe7992440a965fefd60da291abda5352c2b
SIZE (flexmock-0.10.2.tar.gz) = 44425


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-setuptools>0 : devel/py-setuptools@py27
  2. python2.7 : lang/python27
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/f/flexmock/
  2. https://pypi.org/packages/source/f/flexmock/
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: 15

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
25 Apr 2018 16:42:38
Original commit files touched by this commit  0.10.2
Revision:468282
amdmi3 search for other commits by this committer
Switch all pypi.python.org WWWs to a new PyPi home pypi.org where
they now redirect to anyway. All new urls checked to return 200,
I've fixed a couple of them in the process.

Approved by:	portmgr blanket, mat
26 Jan 2018 18:11:55
Original commit files touched by this commit  0.10.2
Revision:460024
sunpoet search for other commits by this committer
Add LICENSE

- Update COMMENT
- Add NO_ARCH
- Allow concurrent installation (USE_PYTHON=concurrent)
- Update pkg-descr
- Update WWW
- Add GitHub repository to WWW
- Take maintainership
22 Jan 2016 03:50:13
Original commit files touched by this commit  0.10.2
Revision:406888
vanilla search for other commits by this committer
Upgrade to 0.10.2.
18 Dec 2015 16:14:38
Original commit files touched by this commit  0.10.1
Revision:403976
mi search for other commits by this committer
Upgrade from 0.10.0 to 0.10.1. According to changelog, this fixes a decoding
problem that appears, when the setup.py is used with Python3

Notified by:	portscout
11 Dec 2015 06:23:13
Original commit files touched by this commit  0.10.0
Revision:403501
vanilla search for other commits by this committer
Upgrade to 0.10.0.
02 Dec 2014 22:40:57
Original commit files touched by this commit  0.9.7_1
Revision:373790
bapt search for other commits by this committer
Reset maintainership:
- Lots of maintainers timeout
- unresponsive for almost a year

PR:		195059
20 Oct 2014 16:04:14
Original commit files touched by this commit  0.9.7_1
Revision:371280
mva search for other commits by this committer
- Convert ports of devel/ to USES=python

Approved by:	portmgr (implicit)
19 Feb 2014 08:07:35
Original commit files touched by this commit  0.9.7_1
Revision:345012
miwi search for other commits by this committer
- Stage support
- Convert to autoplist
- Bump PORTREVISION
13 Jan 2014 21:00:04
Original commit files touched by this commit  0.9.7
Revision:339634
rene search for other commits by this committer
Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by:	python (mva, rm)
Approved by:	portmgr-lurkers (mat)
20 Sep 2013 17:13:47
Original commit files touched by this commit  0.9.7
Revision:327724
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 3)
21 Jun 2013 03:34:37
Original commit files touched by this commit  0.9.7
Revision:321438
clsung search for other commits by this committer
- Update to 0.9.7
26 Jun 2012 07:14:07
Original commit files touched by this commit  0.9.6
clsung search for other commits by this committer
- Update to 0.9.6
15 Dec 2011 08:28:00
Original commit files touched by this commit  0.9.1
clsung search for other commits by this committer
- Update to 0.9.1
06 Nov 2011 03:47:29
Original commit files touched by this commit  0.9.0
clsung search for other commits by this committer
- Update to 0.9.0
04 Nov 2011 15:57:36
Original commit files touched by this commit  0.8.1
clsung search for other commits by this committer
Flexmock is a mock/stub/spy library for Python.

Its API is inspired by a Ruby library of the same name.
However, it is not a goal of Python Flexmock to be a clone of
the Ruby version. Instead, the focus is on providing full support
for testing Python programs and making the creation of fake
objects as unobtrusive as possible.

As a result, Python Flexmock removes a number of redandancies in
the Ruby Flexmock API, alters some defaults, and introduces a
number of Python-only features.

Flexmock declarations are structured to read more like English
sentences than API calls, and it is possible to chain them
together in any order to achieve high degree of expressiveness
in a single line of code.

WWW:    http://has207.github.com/flexmock/

Number of commits found: 15

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
slurm-wlmJun 16
nodeJun 15
node6Jun 15
node8Jun 15
libgcrypt*Jun 14
password-storeJun 14
asterisk13*Jun 12
libresslJun 12
libressl-develJun 12
opensslJun 12
openssl-develJun 12
asterisk13Jun 11
asterisk15Jun 11
asterisk15Jun 11
chromiumJun 10

14 vulnerabilities affecting 116 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2018-06-16 15:43:50


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 34425
Broken 82
Deprecated 102
Ignore 334
Forbidden 2
Restricted 160
No CDROM 76
Vulnerable 32
Expired 12
Set to expire 89
Interactive 0
new 24 hours 12
new 48 hours20
new 7 days43
new fortnight88
new month15986

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