void-packages/srcpkgs/python-pystache/template

28 lines
686 B
Bash
Raw Normal View History

2017-12-09 11:32:38 +01:00
# Template file for 'python-pystache'
pkgname=python-pystache
version=0.5.4
revision=1
noarch=yes
wrksrc="pystache-${version}"
build_style=python-module
pycompile_module="pystache"
hostmakedepends="python-setuptools python3-setuptools"
short_desc="Mustache template engine written in python"
maintainer="John <johnz@posteo.net>"
license="MIT"
homepage="http://defunkt.io/pystache/"
distfiles="${PYPI_SITE}/p/pystache/pystache-${version}.tar.gz"
checksum=f7bbc265fb957b4d6c7c042b336563179444ab313fb93a719759111eabd3b85a
post_install() {
vlicense LICENSE
}
python3-pystache_package() {
pycompile_module="pystache"
pkg_install() {
vmove "usr/lib/python3*"
vmove "usr/bin/*3"
}
}