Lines 1-5
Link Here
|
1 |
PORTNAME= pytest-factoryboy |
1 |
PORTNAME= pytest-factoryboy |
2 |
PORTVERSION= 2.1.0 |
2 |
PORTVERSION= 2.5.0 |
3 |
CATEGORIES= devel python |
3 |
CATEGORIES= devel python |
4 |
MASTER_SITES= CHEESESHOP |
4 |
MASTER_SITES= CHEESESHOP |
5 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
5 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
Lines 18-32
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR}
Link Here
|
18 |
${PYTHON_PKGNAMEPREFIX}text-unidecode>=0:converters/py-text-unidecode@${PY_FLAVOR} |
18 |
${PYTHON_PKGNAMEPREFIX}text-unidecode>=0:converters/py-text-unidecode@${PY_FLAVOR} |
19 |
|
19 |
|
20 |
USES= python:3.6+ |
20 |
USES= python:3.6+ |
21 |
USE_GITHUB= yes # tests not shiped with sdist |
|
|
22 |
GH_ACCOUNT= pytest-dev |
23 |
USE_PYTHON= autoplist concurrent distutils |
21 |
USE_PYTHON= autoplist concurrent distutils |
24 |
|
22 |
|
25 |
TEST_ENV= PYTHONPATH=${WRKSRC}/src |
|
|
26 |
|
27 |
NO_ARCH= yes |
23 |
NO_ARCH= yes |
28 |
|
24 |
|
29 |
do-test: |
25 |
# Tests not shipped with the distribution |
30 |
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts= |
26 |
# Issue: https://github.com/pytest-dev/pytest-factoryboy/issues/170 |
31 |
|
27 |
|
32 |
.include <bsd.port.mk> |
28 |
.include <bsd.port.mk> |