3c1cf3b4b9
Wrap tests with fixtures in freeze_time WWW: https://github.com/ktosiek/pytest-freezegun
21 lines
508 B
Makefile
21 lines
508 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= pytest-freezegun
|
|
PORTVERSION= 0.4.2
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= swills@FreeBSD.org
|
|
COMMENT= Wrap tests with fixtures in freeze_time
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}freezegun>0.3:devel/py-freezegun@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pytest>=3.0.0:devel/py-pytest@${PY_FLAVOR}
|
|
|
|
USES= python:3.6+ zip
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
.include <bsd.port.mk>
|