Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Aug 2015 11:34:46 +0000 (UTC)
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r394296 - in head/devel/py-Jinja2: . files
Message-ID:  <201508151134.t7FBYkKW028934@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Sat Aug 15 11:34:45 2015
New Revision: 394296
URL: https://svnweb.freebsd.org/changeset/ports/394296

Log:
  devel/py-Jinja2: update to 2.8
  
  - update to 2.8
  - add LICENSE_FILE, add NO_ARCH
  - running 2to3 tool is not needed anymore, except the examples
  - remove patch that's not applicable anymore
  
  Changelog:
  http://jinja.pocoo.org/docs/dev/changelog/#version-2-8
  
  Approved by:	nivit (maintainer, by email)

Deleted:
  head/devel/py-Jinja2/files/
Modified:
  head/devel/py-Jinja2/Makefile
  head/devel/py-Jinja2/distinfo

Modified: head/devel/py-Jinja2/Makefile
==============================================================================
--- head/devel/py-Jinja2/Makefile	Sat Aug 15 11:12:44 2015	(r394295)
+++ head/devel/py-Jinja2/Makefile	Sat Aug 15 11:34:45 2015	(r394296)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	Jinja2
-PORTVERSION=	2.7.3
-PORTREVISION=	0
+PORTVERSION=	2.8
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,20 +12,22 @@ MAINTAINER=	nivit@FreeBSD.org
 COMMENT?=	Fast and easy to use stand-alone template engine
 
 LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}MarkupSafe>=0.18:${PORTSDIR}/textproc/py-MarkupSafe
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}MarkupSafe>=0.18:${PORTSDIR}/textproc/py-MarkupSafe
 
+NO_ARCH=	yes
 USES=		python
 .if empty(PKGNAMESUFFIX)
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	autoplist distutils
 .endif
 
 EXAMPLESDIR=	${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
 
 OPTIONS_DEFINE?=	BABEL EXAMPLES
 OPTIONS_DEFAULT?=	BABEL
-BABEL_DESC=	Enable Babel extension
+BABEL_DESC=		Enable Babel extension
 
 BABEL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Babel>=1.3:${PORTSDIR}/devel/py-babel
 
@@ -44,17 +45,8 @@ PORTDOCS=	*
 PORT_OPTIONS:=	${PORT_OPTIONS:NEXAMPLES}
 .endif
 
-# no problem with Python > 3.2
-.if ${PYTHON_REL} >= 3200
-pre-build:
-	${PY2TO3_CMD} ${PY2TO3_ARGS} ${WRKSRC}/jinja2
-.endif
-
 .if ${PKGNAMESUFFIX} == "-doc"
 do-build:
-.	if ${PYTHON_REL} >= 3000
-	@${PY2TO3_CMD} ${PY2TO3_ARGS} ${WRKSRC}/docs
-.	endif
 	(cd ${WRKSRC}/docs && ${MAKE} html)
 
 do-install:

Modified: head/devel/py-Jinja2/distinfo
==============================================================================
--- head/devel/py-Jinja2/distinfo	Sat Aug 15 11:12:44 2015	(r394295)
+++ head/devel/py-Jinja2/distinfo	Sat Aug 15 11:34:45 2015	(r394296)
@@ -1,2 +1,2 @@
-SHA256 (Jinja2-2.7.3.tar.gz) = 2e24ac5d004db5714976a04ac0e80c6df6e47e98c354cb2c0d82f8879d4f8fdb
-SIZE (Jinja2-2.7.3.tar.gz) = 378470
+SHA256 (Jinja2-2.8.tar.gz) = bc1ff2ff88dbfacefde4ddde471d1417d3b304e8df103a7a9437d47269201bf4
+SIZE (Jinja2-2.8.tar.gz) = 357055



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