void-packages/srcpkgs/python-jinja/template

29 lines
876 B
Text
Raw Normal View History

# Template file for 'python-jinja'
pkgname=python-jinja
2014-01-26 16:34:18 +00:00
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>"
2012-10-07 04:50:50 +00:00
homepage="http://jinja.pocoo.org/"
license="BSD"
distfiles="http://pypi.python.org/packages/source/J/Jinja2/Jinja2-${version}.tar.gz"
2014-01-26 16:34:18 +00:00
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
}
}