From 3a0db962a91fdf6ea16ea13b56401355ca9e41d9 Mon Sep 17 00:00:00 2001 From: Piraty Date: Wed, 26 Aug 2020 17:06:08 +0200 Subject: [PATCH] python-Mako: update to 1.1.3. --- srcpkgs/python-Mako/template | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/srcpkgs/python-Mako/template b/srcpkgs/python-Mako/template index f0184179b83..8cfa6722149 100644 --- a/srcpkgs/python-Mako/template +++ b/srcpkgs/python-Mako/template @@ -1,28 +1,31 @@ # Template file for 'python-Mako' pkgname=python-Mako -version=1.1.0 -revision=2 +version=1.1.3 +revision=1 archs=noarch wrksrc="Mako-${version}" build_style=python-module -pycompile_module="mako" hostmakedepends="python-setuptools python3-setuptools" depends="python-setuptools python-MarkupSafe" +checkdepends="tox" short_desc="Hyperfast and lightweight templating for Python2" maintainer="Alessio Sergi " license="MIT" homepage="https://www.makotemplates.org/" distfiles="${PYPI_SITE}/M/Mako/Mako-${version}.tar.gz" -checksum=a36919599a9b7dc5d86a7a8988f23a9a3a3d083070023bab23d64f7f1d1e0a4b +checksum=8195c8c1400ceb53496064314c6736719c6f25e7479cd24c77be3d9361cddc27 alternatives="mako:mako-render:/usr/bin/mako-render2" +do_check() { + tox -e py27,py${py3_ver/./} +} + post_install() { vlicense LICENSE } python3-Mako_package() { archs=noarch - pycompile_module="mako" depends="python3-setuptools python3-MarkupSafe" short_desc="${short_desc/Python2/Python3}" alternatives="mako:mako-render:/usr/bin/mako-render3"