Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Apr 2014 11:14:12 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r349836 - head/devel/py-Jinja2
Message-ID:  <201404011114.s31BEC1r036139@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Tue Apr  1 11:14:12 2014
New Revision: 349836
URL: http://svnweb.freebsd.org/changeset/ports/349836
QAT: https://qat.redports.org/buildarchive/r349836/

Log:
  devel/py-Jinja2: Make MarkupSafe an unconditional requirement
  
  MarkupSafe use to be an optional requirement to enable "speedups"
  (performance optimizations). It is now referenced in setup.py
  install_requires [1] and imported in util.py [2] making it effectively
  compulsory, which the author also confirms. [3]
  
  - Add MarkupSafe to RUN_DEPENDS
  - Deprecate SPEEDUPS option accordingly
  
  [1] https://github.com/mitsuhiko/jinja2/blob/2.7.2/setup.py#L83
  [2] https://github.com/mitsuhiko/jinja2/blob/2.7.2/jinja2/utils.py#L520
  [3] https://twitter.com/mitsuhiko/status/450562002977824769
  
  Reported by:	olivierd
  Approved by:	maintainer (via email)

Modified:
  head/devel/py-Jinja2/Makefile

Modified: head/devel/py-Jinja2/Makefile
==============================================================================
--- head/devel/py-Jinja2/Makefile	Tue Apr  1 10:38:01 2014	(r349835)
+++ head/devel/py-Jinja2/Makefile	Tue Apr  1 11:14:12 2014	(r349836)
@@ -3,6 +3,7 @@
 
 PORTNAME=	Jinja2
 PORTVERSION=	2.7.2
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,6 +14,7 @@ COMMENT?=	Fast and easy to use stand-alo
 
 LICENSE=	BSD3CLAUSE
 
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}MarkupSafe>=0.18:${PORTSDIR}/textproc/py-MarkupSafe
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}MarkupSafe>=0.18:${PORTSDIR}/textproc/py-MarkupSafe
 
 USE_PYTHON=		yes
@@ -23,13 +25,11 @@ PYDISTUTILS_AUTOPLIST=	yes
 
 EXAMPLESDIR=	${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
 
-OPTIONS_DEFINE?=	BABEL EXAMPLES SPEEDUPS
-OPTIONS_DEFAULT?=	BABEL SPEEDUPS
-SPEEDUPS_DESC=	Enable speedups
+OPTIONS_DEFINE?=	BABEL EXAMPLES
+OPTIONS_DEFAULT?=	BABEL
 BABEL_DESC=	Enable Babel extension
 
 BABEL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Babel>=1.3:${PORTSDIR}/devel/py-babel
-SPEEDUPS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}MarkupSafe>=0.18:${PORTSDIR}/textproc/py-MarkupSafe
 
 PY2TO3_CMD=	${LOCALBASE}/bin/2to3-${PYTHON_VER}
 PY2TO3_ARGS=	--fix=all --no-diffs --nobackups --verbose --write



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404011114.s31BEC1r036139>