mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 18:41:17 +02:00
create bsd12 branch
This commit is contained in:
27
python/py-mock/Makefile
Normal file
27
python/py-mock/Makefile
Normal file
@@ -0,0 +1,27 @@
|
||||
# Created by: jessekempf@gmail.com
|
||||
# $FreeBSD: head/devel/py-mock/Makefile 472884 2018-06-20 17:05:41Z mat $
|
||||
|
||||
PORTNAME= mock
|
||||
PORTVERSION= 2.0.0
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= jessekempf@gmail.com
|
||||
COMMENT= Mock unit tests for Python
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=1.3:python/py-pbr@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}six>=1.9:python/py-six@${PY_FLAVOR}
|
||||
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||
|
||||
NO_ARCH= yes
|
||||
USES= python
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PYTHON_REL} < 3300
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}funcsigs>=0:python/py-funcsigs@${PY_FLAVOR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
3
python/py-mock/distinfo
Normal file
3
python/py-mock/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1490606425
|
||||
SHA256 (mock-2.0.0.tar.gz) = b158b6df76edd239b8208d481dc46b6afd45a846b7812ff0ce58971cf5bc8bba
|
||||
SIZE (mock-2.0.0.tar.gz) = 73684
|
||||
9
python/py-mock/pkg-descr
Normal file
9
python/py-mock/pkg-descr
Normal file
@@ -0,0 +1,9 @@
|
||||
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.org/project/mock/
|
||||
Reference in New Issue
Block a user