svn commit: r322464 - head/textproc/py-MarkupSafe
Nicola Vitale
nivit at FreeBSD.org
Sun Jul 7 22:51:15 UTC 2013
Author: nivit
Date: Sun Jul 7 22:51:15 2013
New Revision: 322464
URL: http://svnweb.freebsd.org/changeset/ports/322464
Log:
- Fix build with Python 3.2 [1]
Build log: http://goo.gl/W77Ku
Reported by: eadler (via private email) [1]
Approved by: wen (mantainer, via private email)
Modified:
head/textproc/py-MarkupSafe/Makefile (contents, props changed)
Modified: head/textproc/py-MarkupSafe/Makefile
==============================================================================
--- head/textproc/py-MarkupSafe/Makefile Sun Jul 7 22:46:13 2013 (r322463)
+++ head/textproc/py-MarkupSafe/Makefile Sun Jul 7 22:51:15 2013 (r322464)
@@ -18,6 +18,14 @@ 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
More information about the svn-ports-head
mailing list