Changeset View
Changeset View
Standalone View
Standalone View
devel/py-pytest-mock/Makefile
| PORTNAME= pytest-mock | PORTNAME= pytest-mock | ||||
| DISTVERSION= 3.10.0 | DISTVERSION= 3.10.0 | ||||
| CATEGORIES= devel python | CATEGORIES= devel python | ||||
| MASTER_SITES= PYPI | MASTER_SITES= PYPI | ||||
| PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | ||||
| MAINTAINER= olgeni@FreeBSD.org | MAINTAINER= olgeni@FreeBSD.org | ||||
| COMMENT= Thin wrapper around the mock package for easier use with py.test | COMMENT= Thin wrapper around the mock package for easier use with py.test | ||||
| WWW= https://github.com/pytest-dev/pytest-mock/ | WWW= https://github.com/pytest-dev/pytest-mock/ | ||||
| LICENSE= MIT | LICENSE= MIT | ||||
| LICENSE_FILE= ${WRKSRC}/LICENSE | LICENSE_FILE= ${WRKSRC}/LICENSE | ||||
| BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} | BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} | ||||
| RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=5.0:devel/py-pytest@${PY_FLAVOR} | RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=5.0:devel/py-pytest@${PY_FLAVOR} | ||||
| USES= python | USES= python | ||||
| USE_PYTHON= autoplist concurrent distutils pytest # 6 tests fail, see https://github.com/pytest-dev/pytest-mock/issues/340 | USE_PYTHON= autoplist concurrent distutils pytest # 6 tests fail, see https://github.com/pytest-dev/pytest-mock/issues/340 | ||||
| NO_ARCH= yes | NO_ARCH= yes | ||||
| TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} | TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} | ||||
| .include <bsd.port.mk> | .include <bsd.port.mk> | ||||