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

Port details
py-mock 1.0.1 devel on this many watch lists=0 search for ports that depend on this port
Mock unit tests for Python
Maintained by: jessekempf@gmail.com search for ports maintained by this maintainer
Port Added: 09 Jul 2010 20:53:29
Also Listed In: python
License: BSD


A Python Mocking and Patching Library for Testing

mock is a Python module that provides a core Mock class. It is intended to
reduce the need for creating a host of trivial stubs throughout your test suite.
After performing an action, you can make assertions about which methods /
attributes were used and arguments they were called with. You can also specify
return values and set needed attributes in the normal way.

WWW: http://pypi.python.org/pypi/mock
SVNWeb : Main Web Site : Distfiles Availability : PortsMon

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

Required To Build:
  1. devel/py-setuptools
  2. lang/python27
Required To Run:
  1. devel/py-setuptools
  2. lang/python27

This port is required by:

for Run

To install the port: cd /usr/ports/devel/py-mock/ && make install clean
To add the package: pkg_add -r py27-mock


Configuration Options
===> The following configuration options are available for py27-mock-1.0.1:
     TESTS=off: Install tox for running unit tests
===> Use 'make config' to modify these settings

Master Sites:
  1. ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/
  2. http://b.pypi.python.org/packages/source/m/mock/
  3. http://c.pypi.python.org/packages/source/m/mock/
  4. http://d.pypi.python.org/packages/source/m/mock/
  5. http://e.pypi.python.org/packages/source/m/mock/
  6. http://f.pypi.python.org/packages/source/m/mock/
  7. http://pypi.inqbus.de/mock/
  8. http://pypi.it.uwosh.edu/mock/
  9. http://pypi.python.jp/mock/
  10. http://pypi.python.org/packages/source/m/mock/

Number of commits found: 6

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
02 Dec 2012 10:56:26
Original commit files touched by this commit  1.0.1
rm search for other commits by this committer
- add pkg-plist, missed in previous commit

Feature safe:	yes
02 Dec 2012 10:39:45
Original commit files touched by this commit  1.0.1
rm search for other commits by this committer
- update to 1.0.1
- add OPTIONS for unit test support
- patch setup.py to install the egg uncompressed
- use a pkg-plist instead of PLIST_FILES
- restore creator to Makefile header and use new convention
- fix plist for python >= 3.2

PR:		172592
Submitted by:	Kubilay Kocak <koobs.freebsd@gmail.com>
Approved by:	maintainer timeout (1 month+)
Feature safe:	yes
11 Sep 2012 19:51:01
Original commit files touched by this commit  0.8.0_1
rm search for other commits by this committer
- switch to setuptools
- bump PORTREVISION because of dependency change

while here:
- strip Makefile header
- add license (BSD)
- move pkg-plist contents to PLIST_FILES
- mark it python 3 ready
- tab -> space in pkg-descr:WWW

PR:		170127
Reported by:	Kubilay Kocak <koobs.freebsd at gmail dot com>
Approved by:	maintainer timeout (>1 month)
14 Mar 2012 03:58:19
Original commit files touched by this commit  0.8.0
lwhsu search for other commits by this committer
- Update to 0.8.0

PR:             ports/165996
Submitted by:   lwhsu
Approved by:    Jesse Kempf <jessekempf@gmail.com> (maintainer)
Feature safe:   yes
03 Jul 2011 14:59:23
Original commit files touched by this commit  0.6.0
ohauer search for other commits by this committer
-remove MD5
09 Jul 2010 20:53:12
Original commit files touched by this commit  0.6.0
lwhsu search for other commits by this committer
Add py-mock 0.6.0, mock unit tests for Python.

PR:             ports/148437
Submitted by:   jessekempf at gmail.com

Number of commits found: 6

285e
Login
User Login
Create account

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

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
otrsMay 23
otrsMay 23
otrsMay 23
otrsMay 23
chromiumMay 22
chromiumMay 22
firefox*May 21
firefox-devel*May 21
firefox-esr*May 21
firefox10*May 21
firefox15*May 21
firefox3*May 21
firefox3-devel*May 21
firefox35*May 21
firefox36*May 21

8 vulnerabilities affecting 24 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds


Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 24539
Broken 216
Deprecated 487
Ignore 634
Forbidden 2
Restricted 292
No CDROM 109
Vulnerable 25
Expired 123
Set to expire 525
Interactive 33
new 24 hours 8
new 48 hours11
new 7 days34
new fortnight58
new month222

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

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2013 DVL Software Limited. All rights reserved.
0