blob: 791ce0e70033ba74ad534076163adbbd6cef1bd8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Created by: wen@FreeBSD.org
# $FreeBSD$
PORTNAME= MarkupSafe
PORTVERSION= 0.18
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wen@FreeBSD.org
COMMENT= Implements a XML/HTML/XHTML Markup safe string for Python
LICENSE= BSD
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
PYEASYINSTALL_ARCHDEP= no
.include <bsd.port.pre.mk>
.if ${PYTHON_VERSION} == python3.2
PY2TO3_CMD= ${LOCALBASE}/bin/2to3-${PYTHON_VER}
PY2TO3_ARGS= --no-diffs --fix=all --nobackups --verbose --write
pre-build:
@${PY2TO3_CMD} ${PY2TO3_ARGS} ${WRKSRC}/markupsafe
.endif
.if ${PYTHON_REL} >= 320
.include "${PORTSDIR}/devel/py-virtualenv/files/py3k-fix-pkg-plist.inc"
.endif
.include <bsd.port.post.mk>
|