View | Details | Raw Unified | Return to bug 211174 | Differences between
and this patch

Collapse All | Expand All

(-)www/py-flask-restplus/Makefile (-8 / +19 lines)
Lines 3-10 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
6
MASTER_SITES=	CHEESESHOP \
7
		https://raw.githubusercontent.com/noirbizarre/${PORTNAME}/9bef667/tests/:json
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
9
DISTFILES=	${EXTRACT_ONLY} \
10
		postman-v1.schema.json:json
11
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
8
12
9
MAINTAINER=	andrej@ebert.su
13
MAINTAINER=	andrej@ebert.su
10
COMMENT=	Extension for Flask that adds support for quickly building REST APIs
14
COMMENT=	Extension for Flask that adds support for quickly building REST APIs
Lines 17-28 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>=0.8:www/py-flask \ Link Here
17
		${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema \
21
		${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema \
18
		${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz \
22
		${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz \
19
		${PYTHON_PKGNAMEPREFIX}aniso8601>=0.82:devel/py-aniso8601
23
		${PYTHON_PKGNAMEPREFIX}aniso8601>=0.82:devel/py-aniso8601
20
24
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}blinker>0:devel/py-blinker \
21
TEST_DEPENDS:=	${RUN_DEPENDS} \
22
		${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose \
25
		${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose \
23
		${PYTHON_PKGNAMEPREFIX}rednose>0:devel/py-rednose \
26
		${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest
24
		${PYTHON_PKGNAMEPREFIX}blinker>0:devel/py-blinker \
25
		${PYTHON_PKGNAMEPREFIX}tzlocal>0:devel/py-tzlocal
26
27
27
CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}flask-restplus08
28
CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}flask-restplus08
28
29
Lines 30-36 USES= python Link Here
30
USE_PYTHON=	autoplist distutils
31
USE_PYTHON=	autoplist distutils
31
NO_ARCH=	yes
32
NO_ARCH=	yes
32
33
34
.include <bsd.port.pre.mk>
35
36
.if ${PYTHON_REL} < 3300
37
TEST_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock
38
.endif
39
40
post-extract:
41
	@${LN} -fs ${_DISTDIR}/postman-v1.schema.json ${WRKSRC}/tests/
42
33
do-test:
43
do-test:
34
	@(cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test)
44
	@${RM} -fr ${TEST_WRKSRC}/build/lib/tests
45
	@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
35
46
36
.include <bsd.port.mk>
47
.include <bsd.port.post.mk>
(-)www/py-flask-restplus/distinfo (+2 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1468167697
1
TIMESTAMP = 1468167697
2
SHA256 (flask-restplus-0.9.2.tar.gz) = c4313097a673ef2cffabceb44b6fdd03132ee5e7ab34d0289c37af12a3d11186
2
SHA256 (flask-restplus-0.9.2.tar.gz) = c4313097a673ef2cffabceb44b6fdd03132ee5e7ab34d0289c37af12a3d11186
3
SIZE (flask-restplus-0.9.2.tar.gz) = 868988
3
SIZE (flask-restplus-0.9.2.tar.gz) = 868988
4
SHA256 (postman-v1.schema.json) = 9b444fc527bf9b58ac7d4ef903285f658c600f8328e1009d6f398ae15871f8e6
5
SIZE (postman-v1.schema.json) = 35411
(-)www/py-flask-restplus08/Makefile (-8 / +19 lines)
Lines 3-11 Link Here
3
PORTNAME=	flask-restplus
3
PORTNAME=	flask-restplus
4
PORTVERSION=	0.8.6
4
PORTVERSION=	0.8.6
5
CATEGORIES=	www python
5
CATEGORIES=	www python
6
MASTER_SITES=	CHEESESHOP
6
MASTER_SITES=	CHEESESHOP \
7
		https://raw.githubusercontent.com/noirbizarre/${PORTNAME}/9bef667/tests/:json
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
PKGNAMESUFFIX=	08
9
PKGNAMESUFFIX=	08
10
DISTFILES=	${EXTRACT_ONLY} \
11
		postman-v1.schema.json:json
12
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
9
13
10
MAINTAINER=	andrej@ebert.su
14
MAINTAINER=	andrej@ebert.su
11
COMMENT=	Extension for Flask that adds support for quickly building REST APIs
15
COMMENT=	Extension for Flask that adds support for quickly building REST APIs
Lines 18-29 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask-RESTful>=0.3.2:www/py-flask-restful \ Link Here
18
		${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema \
22
		${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema \
19
		${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz \
23
		${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz \
20
		${PYTHON_PKGNAMEPREFIX}aniso8601>=0.82:devel/py-aniso8601
24
		${PYTHON_PKGNAMEPREFIX}aniso8601>=0.82:devel/py-aniso8601
21
25
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}blinker>0:devel/py-blinker \
22
TEST_DEPENDS:=	${RUN_DEPENDS} \
23
		${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose \
26
		${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose \
24
		${PYTHON_PKGNAMEPREFIX}rednose>0:devel/py-rednose \
27
		${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest
25
		${PYTHON_PKGNAMEPREFIX}blinker>0:devel/py-blinker \
26
		${PYTHON_PKGNAMEPREFIX}tzlocal>0:devel/py-tzlocal
27
28
28
CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}flask-restplus
29
CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}flask-restplus
29
PORTSCOUT=	limit:^0\.8
30
PORTSCOUT=	limit:^0\.8
Lines 32-38 USES= python Link Here
32
USE_PYTHON=	autoplist distutils
33
USE_PYTHON=	autoplist distutils
33
NO_ARCH=	yes
34
NO_ARCH=	yes
34
35
36
.include <bsd.port.pre.mk>
37
38
.if ${PYTHON_REL} < 3300
39
TEST_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock
40
.endif
41
42
post-extract:
43
	@${LN} -fs ${_DISTDIR}/postman-v1.schema.json ${WRKSRC}/tests/
44
35
do-test:
45
do-test:
36
	@(cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test)
46
	@${RM} -fr ${TEST_WRKSRC}/build/lib/tests
47
	@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
37
48
38
.include <bsd.port.mk>
49
.include <bsd.port.post.mk>
(-)www/py-flask-restplus08/distinfo (+2 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1468851260
1
TIMESTAMP = 1468851260
2
SHA256 (flask-restplus-0.8.6.tar.gz) = 3bb76cc156b9a09da62396d82b29fa31e4f27cccf79528538fe7155cf2785593
2
SHA256 (flask-restplus-0.8.6.tar.gz) = 3bb76cc156b9a09da62396d82b29fa31e4f27cccf79528538fe7155cf2785593
3
SIZE (flask-restplus-0.8.6.tar.gz) = 1077073
3
SIZE (flask-restplus-0.8.6.tar.gz) = 1077073
4
SHA256 (postman-v1.schema.json) = 9b444fc527bf9b58ac7d4ef903285f658c600f8328e1009d6f398ae15871f8e6
5
SIZE (postman-v1.schema.json) = 35411

Return to bug 211174