void-packages/srcpkgs/python-Jinja2/template
2014-07-03 20:43:32 +02:00

31 lines
993 B
Bash

# Template file for 'python-Jinja2'
pkgname=python-Jinja2
version=2.7.3
revision=3
noarch=yes
wrksrc="${pkgname#*-}-${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 python3.4-MarkupSafe"
depends="python python-MarkupSafe"
replaces="python-jinja>=0"
short_desc="A full featured template engine for Python2"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="http://jinja.pocoo.org/"
license="BSD"
distfiles="http://pypi.python.org/packages/source/J/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
checksum=2e24ac5d004db5714976a04ac0e80c6df6e47e98c354cb2c0d82f8879d4f8fdb
python3.4-Jinja2_package() {
noarch=yes
depends="python3.4 python3.4-MarkupSafe"
replaces="python3.4-jinja>=0"
pycompile_version="3.4"
pycompile_module="jinja2"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}