2010-11-27 22:58:05 +00:00
|
|
|
# Template file for 'python-jinja'
|
|
|
|
pkgname=python-jinja
|
2014-01-26 16:34:18 +00:00
|
|
|
version=2.7.2
|
2014-06-18 13:46:48 +00:00
|
|
|
revision=2
|
|
|
|
noarch="yes"
|
2010-11-27 22:58:05 +00:00
|
|
|
wrksrc="Jinja2-${version}"
|
|
|
|
build_style=python-module
|
2014-06-18 13:46:48 +00:00
|
|
|
python_versions="2.7 3.4"
|
2014-01-01 15:10:11 +00:00
|
|
|
pycompile_module="jinja2"
|
2014-06-18 13:46:48 +00:00
|
|
|
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"
|
2010-11-27 22:58:05 +00:00
|
|
|
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
|
2014-06-18 13:46:48 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|