SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
24
devel/py-mock/Makefile
Normal file
24
devel/py-mock/Makefile
Normal file
|
@ -0,0 +1,24 @@
|
|||
COMMENT= python mocking and patching library for testing
|
||||
|
||||
MODPY_EGG_VERSION= 4.0.3
|
||||
REVISION= 2
|
||||
DISTNAME= mock-${MODPY_EGG_VERSION}
|
||||
PKGNAME= py-${DISTNAME}
|
||||
CATEGORIES= devel
|
||||
|
||||
HOMEPAGE= https://mock.readthedocs.io/en/latest/
|
||||
|
||||
MAINTAINER= Kurt Mosiejczuk <kmos@openbsd.org>
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE= Yes
|
||||
|
||||
MODULES= lang/python
|
||||
|
||||
FLAVORS= python3
|
||||
FLAVOR= python3
|
||||
|
||||
MODPY_PI= Yes
|
||||
MODPY_PYBUILD= setuptools
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/py-mock/distinfo
Normal file
2
devel/py-mock/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (mock-4.0.3.tar.gz) = fT+73hgij0/y8fEZpFzf+kWLTA3uMutNK7L4JVS6x7w=
|
||||
SIZE (mock-4.0.3.tar.gz) = 72316
|
12
devel/py-mock/pkg/DESCR
Normal file
12
devel/py-mock/pkg/DESCR
Normal file
|
@ -0,0 +1,12 @@
|
|||
mock is a Python module that provides a core Mock class. It removes
|
||||
the need to create a host of stubs throughout your test suite. After
|
||||
performing an action, you can make assertions about which methods
|
||||
or attributes were used and arguments they were called with. You
|
||||
can also specify return values and set needed attributes in the
|
||||
normal way.
|
||||
|
||||
The mock module also provides utility functions / objects to assist
|
||||
with testing, particularly monkey patching.
|
||||
|
||||
This module backports mock to Python 2.7 and earlier versions of
|
||||
Python 3.x
|
18
devel/py-mock/pkg/PLIST
Normal file
18
devel/py-mock/pkg/PLIST
Normal file
|
@ -0,0 +1,18 @@
|
|||
@pkgpath devel/py-mock
|
||||
lib/python${MODPY_VERSION}/site-packages/mock/
|
||||
lib/python${MODPY_VERSION}/site-packages/mock-${MODPY_EGG_VERSION}.dist-info/
|
||||
lib/python${MODPY_VERSION}/site-packages/mock-${MODPY_EGG_VERSION}.dist-info/LICENSE.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/mock-${MODPY_EGG_VERSION}.dist-info/METADATA
|
||||
lib/python${MODPY_VERSION}/site-packages/mock-${MODPY_EGG_VERSION}.dist-info/RECORD
|
||||
lib/python${MODPY_VERSION}/site-packages/mock-${MODPY_EGG_VERSION}.dist-info/WHEEL
|
||||
lib/python${MODPY_VERSION}/site-packages/mock-${MODPY_EGG_VERSION}.dist-info/top_level.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/mock/__init__.py
|
||||
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/mock/${MODPY_PYCACHE}/
|
||||
lib/python${MODPY_VERSION}/site-packages/mock/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||
lib/python${MODPY_VERSION}/site-packages/mock/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/mock/${MODPY_PYCACHE}backports.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||
lib/python${MODPY_VERSION}/site-packages/mock/${MODPY_PYCACHE}backports.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/mock/${MODPY_PYCACHE}mock.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||
lib/python${MODPY_VERSION}/site-packages/mock/${MODPY_PYCACHE}mock.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/mock/backports.py
|
||||
lib/python${MODPY_VERSION}/site-packages/mock/mock.py
|
Loading…
Add table
Add a link
Reference in a new issue