# Contributor: Matt Dainty # Maintainer: TBK pkgname=py3-cheetah pkgver=3.3.2 pkgrel=0 pkgdesc="Cheetah is a template engine and code generation tool" url="http://www.cheetahtemplate.org/" arch="all" license="MIT" depends="python3" makedepends=" python3-dev py3-gpep517 py3-setuptools py3-wheel " subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/C/CT3/CT3-$pkgver.tar.gz" builddir="$srcdir"/CT3-$pkgver replaces="py-cheetah" # Backwards compatibility provides="py-cheetah=$pkgver-r$pkgrel" # Backwards compatibility build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { python3 -m venv --clear --without-pip --system-site-packages .testenv .testenv/bin/python3 -m installer .dist/*.whl .testenv/bin/python3 setup.py check } package() { python3 -m installer -d "$pkgdir" .dist/*.whl } sha512sums=" e2ce7a598737fce0e8c598c29145ba71e38f9c8fe90b996a3b9a42dde63ea9232464117ab8946cb05bfc04c32b211668734442c6226fa5c02376787919a9ccc0 CT3-3.3.2.tar.gz "