Port details |
- py3-mock Mock unit tests for Python
- 2.0.0 devel
=0 2.0.0Version of this port present on the latest quarterly branch.
- Maintainer: jessekempf@gmail.com
- Port Added: 2017-06-10 02:52:17
- Last Update: 2017-11-30 15:50:34
- SVN Revision: 455210
- Also Listed In: python
- License: BSD2CLAUSE
- WWW:
- https://pypi.python.org/pypi/mock
- Description:
- 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: https://pypi.python.org/pypi/mock
-
cgit ¦ GitHub ¦ GitHub ¦ GitLab ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py3-mock@${PY_FLAVOR}
- No installation instructions:
- This port has been deleted.
- PKGNAME: py36-mock
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1490606425
SHA256 (mock-2.0.0.tar.gz) = b158b6df76edd239b8208d481dc46b6afd45a846b7812ff0ce58971cf5bc8bba
SIZE (mock-2.0.0.tar.gz) = 73684
No package information for this port in our database- Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link:
- Master port: devel/py-mock
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py36-pbr>=1.3 : devel/py3-pbr
- py36-six>=1.9 : devel/py3-six
- py36-setuptools>0 : devel/py36-setuptools
- python3.6 : lang/python36
- Runtime dependencies:
-
- py36-pbr>=1.3 : devel/py3-pbr
- py36-six>=1.9 : devel/py3-six
- py36-setuptools>0 : devel/py36-setuptools
- python3.6 : lang/python36
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- N/A
- USES:
- python:3.2+
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 2
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
This is a slave port. You may also want to view the commits to the master port: devel/py-mock | Commit | Credits | Log message |
2.0.0 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 ) |
2.0.0 10 Jun 2017 02:52:09 |
woodsb02 |
[NEW] devel/py3-mock: Add Python 3.x version of this port
PR: 219833 |
Number of commits found: 2
|