freebsd-ports/devel/py-mock/Makefile
Ben Woods c3823d0aa5 devel/py-mock: Return to pool, after 3 consecutive maintainer timeouts
PR:		241780
Approved by:	portmgr blanket
2019-11-14 23:22:13 +00:00

37 lines
770 B
Makefile

# Created by: jessekempf@gmail.com
# $FreeBSD$
PORTNAME= mock
PORTVERSION= 3.0.5
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Mock unit tests for Python
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.9:devel/py-six@${PY_FLAVOR}
RUN_DEPENDS:= ${BUILD_DEPENDS}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
USE_GITHUB= yes
GH_ACCOUNT= testing-cabal
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 3300
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}funcsigs>=0:devel/py-funcsigs@${PY_FLAVOR}
.endif
do-test:
@cd ${WRKSRC} && pytest
.include <bsd.port.post.mk>