# Maintainer: PktSurf <smlinux@pktsurf.in>
app=python-cheetah
version=3.2.6
build=1sml
homepage="https://pypi.org/project/Cheetah/"
desc="Python-Powered Template Engine"
requires="python3"

prepbuilddir() {
  mkandenterbuilddir
  rm -rf Cheetah3-$version.post2

  tar xf $srcdir/Cheetah3-$version.post2.tar.?z*
  cd Cheetah3-$version.post2
  fixbuilddirpermissions
}

build() {
  python3 setup.py install --prefix="" --root=$pkg
  cp LICENSE $pkgdocs/

  mkfinalpkg
}

sha512sums="
94b45c4e48e507b9eca254d097fff7175b2d75597cfda05a7a8f373917d333a5bc2e48ff7eebe5f8f711b0ed2531adbe2bfee3c271c093026c3ece2627734e1b  Cheetah3-3.2.6.post2.tar.gz
"
