Lines 3-9
Link Here
|
3 |
PORTNAME= flask-restplus |
3 |
PORTNAME= flask-restplus |
4 |
PORTVERSION= 0.9.2 |
4 |
PORTVERSION= 0.9.2 |
5 |
CATEGORIES= www python |
5 |
CATEGORIES= www python |
6 |
MASTER_SITES= CHEESESHOP |
|
|
7 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
6 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
8 |
|
7 |
|
9 |
MAINTAINER= andrej@ebert.su |
8 |
MAINTAINER= andrej@ebert.su |
Lines 17-36
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>=0.8:www/py-flask \
Link Here
|
17 |
${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema \ |
16 |
${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema \ |
18 |
${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz \ |
17 |
${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz \ |
19 |
${PYTHON_PKGNAMEPREFIX}aniso8601>=0.82:devel/py-aniso8601 |
18 |
${PYTHON_PKGNAMEPREFIX}aniso8601>=0.82:devel/py-aniso8601 |
20 |
|
19 |
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}blinker>0:devel/py-blinker \ |
21 |
TEST_DEPENDS:= ${RUN_DEPENDS} \ |
|
|
22 |
${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose \ |
20 |
${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose \ |
23 |
${PYTHON_PKGNAMEPREFIX}rednose>0:devel/py-rednose \ |
21 |
${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest |
24 |
${PYTHON_PKGNAMEPREFIX}blinker>0:devel/py-blinker \ |
|
|
25 |
${PYTHON_PKGNAMEPREFIX}tzlocal>0:devel/py-tzlocal |
26 |
|
22 |
|
27 |
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}flask-restplus08 |
23 |
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}flask-restplus08 |
28 |
|
24 |
|
|
|
25 |
USE_GITHUB= yes |
26 |
GH_ACCOUNT= noirbizarre |
27 |
|
29 |
USES= python |
28 |
USES= python |
30 |
USE_PYTHON= autoplist distutils |
29 |
USE_PYTHON= autoplist distutils |
31 |
NO_ARCH= yes |
30 |
NO_ARCH= yes |
32 |
|
31 |
|
|
|
32 |
.include <bsd.port.pre.mk> |
33 |
|
34 |
.if ${PYTHON_REL} < 3300 |
35 |
TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock |
36 |
.endif |
37 |
|
33 |
do-test: |
38 |
do-test: |
34 |
@(cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test) |
39 |
@${RM} -fr ${TEST_WRKSRC}/build/lib/tests |
|
|
40 |
@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest) |
35 |
|
41 |
|
36 |
.include <bsd.port.mk> |
42 |
.include <bsd.port.post.mk> |