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

Collapse All | Expand All

(-)Makefile (-9 / +3 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	Jinja2
4
PORTNAME=	Jinja2
5
PORTVERSION=	2.8
5
PORTVERSION=	2.8.1
6
CATEGORIES=	devel python
6
CATEGORIES=	devel python
7
MASTER_SITES=	CHEESESHOP
7
MASTER_SITES=	CHEESESHOP
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Lines 18-24 Link Here
18
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}MarkupSafe>=0.18:textproc/py-MarkupSafe
18
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}MarkupSafe>=0.18:textproc/py-MarkupSafe
19
19
20
NO_ARCH=	yes
20
NO_ARCH=	yes
21
USES=		python
21
USES=		python:-2.7
22
.if empty(PKGNAMESUFFIX)
22
.if empty(PKGNAMESUFFIX)
23
USE_PYTHON=	autoplist distutils
23
USE_PYTHON=	autoplist distutils
24
.endif
24
.endif
Lines 29-39 Link Here
29
OPTIONS_DEFAULT?=	BABEL
29
OPTIONS_DEFAULT?=	BABEL
30
BABEL_DESC=		Enable Babel extension
30
BABEL_DESC=		Enable Babel extension
31
31
32
BABEL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Babel>=1.3:devel/py-babel
32
BABEL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Babel>=2.3:devel/py-babel
33
33
34
PY2TO3_CMD=	${LOCALBASE}/bin/2to3-${PYTHON_VER}
35
PY2TO3_ARGS=	--fix=all --no-diffs --nobackups --verbose --write
36
37
.include <bsd.port.options.mk>
34
.include <bsd.port.options.mk>
38
35
39
.include <bsd.port.pre.mk>
36
.include <bsd.port.pre.mk>
Lines 58-66 Link Here
58
.if ${PORT_OPTIONS:MEXAMPLES}
55
.if ${PORT_OPTIONS:MEXAMPLES}
59
PORTEXAMPLES=	*
56
PORTEXAMPLES=	*
60
post-build:
57
post-build:
61
.	if ${PYTHON_REL} >= 3000
62
	${PY2TO3_CMD} ${PY2TO3_ARGS} ${WRKSRC}/examples
63
.	endif
64
	${PYTHON_CMD} -m compileall ${WRKSRC}/examples ; \
58
	${PYTHON_CMD} -m compileall ${WRKSRC}/examples ; \
65
	${PYTHON_CMD} -O -m compileall ${WRKSRC}/examples
59
	${PYTHON_CMD} -O -m compileall ${WRKSRC}/examples
66
60
(-)distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (Jinja2-2.8.tar.gz) = bc1ff2ff88dbfacefde4ddde471d1417d3b304e8df103a7a9437d47269201bf4
1
TIMESTAMP = 1483984923
2
SIZE (Jinja2-2.8.tar.gz) = 357055
2
SHA256 (Jinja2-2.8.1.tar.gz) = 35341f3a97b46327b3ef1eb624aadea87a535b8f50863036e085e7c426ac5891
3
SIZE (Jinja2-2.8.1.tar.gz) = 358129

Return to bug 215651