void-packages/srcpkgs/python-Mako/template
2016-05-01 01:21:26 +02:00

37 lines
1 KiB
Bash

# Template file for 'python-Mako'
pkgname=python-Mako
version=1.0.4
revision=2
noarch=yes
wrksrc="Mako-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
depends="python-setuptools python-MarkupSafe"
pycompile_module="mako"
short_desc="Hyperfast and lightweight templating for Python2"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="http://www.makotemplates.org/"
license="MIT"
distfiles="${PYPI_SITE}/M/Mako/Mako-${version}.tar.gz"
checksum=fed99dbe4d0ddb27a33ee4910d8708aca9ef1fe854e668387a9ab9a90cbf9059
alternatives="mako:mako-render:/usr/bin/mako-render2.7"
post_install() {
vlicense LICENSE
}
python3.4-Mako_package() {
noarch=yes
depends="python3.4-setuptools python3.4-MarkupSafe"
pycompile_version="3.4"
pycompile_module="mako"
short_desc="${short_desc/Python2/Python3.4}"
alternatives="mako:mako-render:/usr/bin/mako-render3.4"
pkg_install() {
vmove usr/bin/mako-render3.4
vmove usr/lib/python3.4
vlicense LICENSE
}
}