From owner-svn-ports-all@freebsd.org Thu Nov 19 23:56:38 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B0C6AA32FE9; Thu, 19 Nov 2015 23:56:38 +0000 (UTC) (envelope-from bofh@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 719AB14DA; Thu, 19 Nov 2015 23:56:38 +0000 (UTC) (envelope-from bofh@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tAJNubqP040069; Thu, 19 Nov 2015 23:56:37 GMT (envelope-from bofh@FreeBSD.org) Received: (from bofh@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tAJNuaIf040065; Thu, 19 Nov 2015 23:56:36 GMT (envelope-from bofh@FreeBSD.org) Message-Id: <201511192356.tAJNuaIf040065@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bofh set sender to bofh@FreeBSD.org using -f From: Muhammad Moinur Rahman Date: Thu, 19 Nov 2015 23:56:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r401979 - in head/devel: . py3-Jinja2 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Nov 2015 23:56:38 -0000 Author: bofh Date: Thu Nov 19 23:56:36 2015 New Revision: 401979 URL: https://svnweb.freebsd.org/changeset/ports/401979 Log: [NEW] devel/py3-Jinja2: Fast and easy to use stand-alone template engine - Python3 version of devel/py-Jinja2 Jinja is a sandboxed template engine written in pure Python licensed under the BSD license. It provides a Django-like non-XML syntax and compiles templates into executable python code. It's basically a combination of Django templates and python code. WWW: http://jinja.pocoo.org/ Added: head/devel/py3-Jinja2/ head/devel/py3-Jinja2/Makefile (contents, props changed) head/devel/py3-Jinja2/distinfo (contents, props changed) head/devel/py3-Jinja2/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Thu Nov 19 23:47:28 2015 (r401978) +++ head/devel/Makefile Thu Nov 19 23:56:36 2015 (r401979) @@ -4472,6 +4472,7 @@ SUBDIR += py-zope.testing SUBDIR += py-zope.traversing SUBDIR += py-zope.viewlet + SUBDIR += py3-Jinja2 SUBDIR += py3-babel SUBDIR += py3-dbus SUBDIR += py3-gobject3 Added: head/devel/py3-Jinja2/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py3-Jinja2/Makefile Thu Nov 19 23:56:36 2015 (r401979) @@ -0,0 +1,49 @@ +# Created by: Muhammad Moinur Rahman +# $FreeBSD$ + +PORTNAME= Jinja2 +PORTVERSION= 2.8 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PKGNAMESUFFIX?= + +MAINTAINER= bofh@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/py3-MarkupSafe +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}MarkupSafe>=0.18:${PORTSDIR}/textproc/py3-MarkupSafe + +NO_ARCH= yes +USES= python:3 +USE_PYTHON= autoplist distutils + +EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME} + +OPTIONS_DEFINE= BABEL EXAMPLES +OPTIONS_DEFAULT= BABEL +BABEL_DESC= Enable Babel extension + +BABEL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=1.3:${PORTSDIR}/devel/py3-babel + +PY2TO3_CMD= ${LOCALBASE}/bin/2to3-${PYTHON_VER} +PY2TO3_ARGS= --fix=all --no-diffs --nobackups --verbose --write + +PORTEXAMPLES= * + +post-build-EXAMPLES-on: + ${PY2TO3_CMD} ${PY2TO3_ARGS} ${WRKSRC}/examples + ${PYTHON_CMD} -m compileall ${WRKSRC}/examples ; \ + ${PYTHON_CMD} -O -m compileall ${WRKSRC}/examples + +do-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) + +check regression-test test: build + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test + +.include Added: head/devel/py3-Jinja2/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py3-Jinja2/distinfo Thu Nov 19 23:56:36 2015 (r401979) @@ -0,0 +1,2 @@ +SHA256 (Jinja2-2.8.tar.gz) = bc1ff2ff88dbfacefde4ddde471d1417d3b304e8df103a7a9437d47269201bf4 +SIZE (Jinja2-2.8.tar.gz) = 357055 Added: head/devel/py3-Jinja2/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py3-Jinja2/pkg-descr Thu Nov 19 23:56:36 2015 (r401979) @@ -0,0 +1,6 @@ +Jinja is a sandboxed template engine written in pure Python licensed +under the BSD license. It provides a Django-like non-XML syntax and +compiles templates into executable python code. It's basically a +combination of Django templates and python code. + +WWW: http://jinja.pocoo.org/