blob: 819c786bd5f790af6127c8d279105a968b6bcde6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# $FreeBSD$
PORTNAME= pytest-mock
PORTVERSION= 1.6.0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Thin wrapper around the mock package for easier use with py.test
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py${SLAVE_SUFFIX}-setuptools_scm
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock
NO_ARCH= yes
USES+= python
USE_PYTHON= autoplist concurrent distutils
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
.include <bsd.port.mk>
|