# Template file for 'python-empy'
pkgname=python-empy
version=3.3.4
revision=2
archs=noarch
wrksrc="empy-${version}"
build_style=python-module
pycompile_module="EmPy"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Powerful and robust templating system for Python"
maintainer="Young Jin Park <youngjinpark20@gmail.com>"
license="LGPL-3.0-or-later"
homepage="http://www.alcyone.com/software/empy/"
distfiles="http://www.alcyone.com/software/empy/empy-${version}.tar.gz"
checksum=9126211471fc7ff83fdd40beca93eb6de5681758fbe68b4cf8af6326259df1b1

do_check() {
	./test.sh
}

python3-empy_package() {
	archs=noarch
	pycompile_module="EmPy"
	depends="python3"
	short_desc="${short_desc/Python2/Python3}"
	pkg_install() {
		vmove usr/lib/python3*
	}
}
