void-packages/srcpkgs/python-jinja/template

29 lines
876 B
Plaintext

# Template file for 'python-jinja'
pkgname=python-jinja
version=2.7.2
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=310a35fbccac3af13ebf927297f871ac656b9da1d248b1fe6765affa71b53235
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
}
}