void-packages/srcpkgs/python-jinja/template
2014-07-01 13:20:34 +02:00

28 lines
873 B
Text

# Template file for 'python-jinja'
pkgname=python-jinja
version=2.7.3
revision=2
noarch=yes
wrksrc="Jinja2-${version}"
build_style=python-module
python_versions="2.7 3.4"
pycompile_module="jinja2"
hostmakedepends="python-setuptools python3.4-setuptools"
makedepends="python-devel python3.4-devel python-MarkupSafe"
depends="python-MarkupSafe"
short_desc="Modern and designer friendly templating language for Python2"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://jinja.pocoo.org/"
license="BSD"
distfiles="http://pypi.python.org/packages/source/J/Jinja2/Jinja2-${version}.tar.gz"
checksum=2e24ac5d004db5714976a04ac0e80c6df6e47e98c354cb2c0d82f8879d4f8fdb
python3.4-jinja_package() {
depends="python3.4-MarkupSafe"
pycompile_version="3.4"
pycompile_module="jinja2"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}