From ae5fddb4ae757f2fd670e7b40955b859acf60877 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= Date: Sat, 4 May 2019 21:44:51 +0200 Subject: [PATCH] python3-cheetah3: update to 3.2.2. --- srcpkgs/python3-cheetah3/template | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-cheetah3/template b/srcpkgs/python3-cheetah3/template index 83ebb44b3e..348e95a148 100644 --- a/srcpkgs/python3-cheetah3/template +++ b/srcpkgs/python3-cheetah3/template @@ -1,22 +1,27 @@ # Template file for 'python3-cheetah3' pkgname=python3-cheetah3 -version=3.2.1 +version=3.2.2 revision=1 wrksrc="Cheetah3-${version}" build_style=python3-module pycompile_module="Cheetah" hostmakedepends="python3-setuptools" makedepends="python3-devel" +checkdepends="tox" short_desc="Python-powered template engine and code generator" maintainer="Piotr Wójcik " license="MIT" homepage="http://www.cheetahtemplate.org/" distfiles="${PYPI_SITE}/C/Cheetah3/Cheetah3-${version}.tar.gz" -checksum=685f961d2761e140bfea67156a013313acda66a229edc6c8708b71d9080ece9c +checksum=d86c08848082f0e3426ff9c2712052955bd9b969613b12d6a87be75d75e06c53 alternatives="python-cheetah:cheetah:/usr/bin/cheetah3 python-cheetah:cheetah-analyze:/usr/bin/cheetah-analyze3 python-cheetah:cheetah-compile:/usr/bin/cheetah-compile3" +do_check() { + tox -e py${py3_ver/./} +} + post_install() { mv ${DESTDIR}/usr/bin/cheetah{,3} mv ${DESTDIR}/usr/bin/cheetah-analyze{,3}