2012-06-28 10:24:55 +00:00
|
|
|
# Template file for 'python-tempita'
|
|
|
|
pkgname=python-tempita
|
2014-07-10 08:20:00 +00:00
|
|
|
version=0.5.2
|
|
|
|
revision=1
|
|
|
|
noarch=yes
|
2012-06-28 10:24:55 +00:00
|
|
|
wrksrc="Tempita-${version}"
|
|
|
|
build_style=python-module
|
2014-07-10 08:20:00 +00:00
|
|
|
python_versions="2.7 3.4"
|
|
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
|
|
makedepends="${hostmakedepends}"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="python"
|
2014-07-10 08:20:00 +00:00
|
|
|
pycompile_module="tempita"
|
|
|
|
short_desc="A small text templating language for text substitution (Python2)"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2012-06-28 10:24:55 +00:00
|
|
|
homepage="http://pythonpaste.org/tempita/"
|
|
|
|
license="MIT"
|
2014-07-10 08:20:00 +00:00
|
|
|
distfiles="http://pypi.python.org/packages/source/T/Tempita/Tempita-${version}.tar.gz"
|
|
|
|
checksum=cacecf0baa674d356641f1d406b8bff1d756d739c46b869a54de515d08e6fc9c
|
|
|
|
|
|
|
|
python3.4-tempita_package() {
|
|
|
|
noarch=yes
|
|
|
|
depends="python3.4"
|
|
|
|
pycompile_version="3.4"
|
|
|
|
pycompile_module="tempita"
|
|
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/python3.4
|
|
|
|
}
|
|
|
|
}
|