Added
Link Here
|
1 |
# $FreeBSD$ |
2 |
|
3 |
PORTNAME= pytest-flask |
4 |
PORTVERSION= 0.15.0 |
5 |
CATEGORIES= devel python |
6 |
MASTER_SITES= CHEESESHOP |
7 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
8 |
|
9 |
MAINTAINER= meka@tilda.center |
10 |
COMMENT= Set of pytest fixtures for Flask extensions and applications |
11 |
|
12 |
LICENSE= MIT |
13 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
14 |
|
15 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>=0:www/py-flask@${PY_FLAVOR} \ |
16 |
${PYTHON_PKGNAMEPREFIX}werkzeug>=0:www/py-werkzeug@${PY_FLAVOR} \ |
17 |
${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} |
18 |
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ |
19 |
pylint${PYTHON_PKGNAMESUFFIX}>=0:devel/pylint@${PY_FLAVOR} \ |
20 |
${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \ |
21 |
${PYTHON_PKGNAMEPREFIX}pytest-pep8>=0:devel/py-pytest-pep8@${PY_FLAVOR} |
22 |
|
23 |
USES= python:3.5+ |
24 |
USE_PYTHON= autoplist concurrent distutils |
25 |
|
26 |
TEST_ENV= PYTHONPATH=${WRKSRC}/src |
27 |
|
28 |
NO_ARCH= yes |
29 |
|
30 |
do-test: |
31 |
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts= |
32 |
|
33 |
.include <bsd.port.mk> |