python-jinja: added 3.4 subpkg with pycompile support.

This commit is contained in:
Juan RP 2014-06-18 15:46:48 +02:00
parent c68a6d3f5f
commit 9474c71c9a
2 changed files with 18 additions and 6 deletions

View File

@ -1,17 +1,28 @@
# Template file for 'python-jinja'
pkgname=python-jinja
version=2.7.2
revision=1
revision=2
noarch="yes"
wrksrc="Jinja2-${version}"
build_style=python-module
hostmakedepends="python python-setuptools"
makedepends="python-setuptools python-MarkupSafe"
depends="${makedepends}"
noarch="yes"
python_versions="2.7 3.4"
pycompile_module="jinja2"
short_desc="Modern and designer friendly templating language for Python"
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
}
}

1
srcpkgs/python3.4-jinja Symbolic link
View File

@ -0,0 +1 @@
python-jinja