main/py3-mako: enable check()

This commit is contained in:
Keith Maxwell 2020-04-13 09:56:31 +01:00 committed by Leo
parent 9ae5e19195
commit ddac63e2da

View File

@ -3,12 +3,13 @@
pkgname=py3-mako
_pkgname=Mako
pkgver=1.1.2
pkgrel=1
pkgrel=2
pkgdesc="Python3 fast templating language"
url="https://www.makotemplates.org/"
arch="noarch"
license="MIT"
depends="python3 py3-markupsafe py3-setuptools"
checkdepends="py3-pytest"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
@ -23,4 +24,8 @@ package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
check() {
python3 -m pytest
}
sha512sums="73b7a32ceb6e39dc2491734546c83a752bf0c8bc7546bb236801c02a5bccc5b59f2440333a328ff747eee936612dd12279f08d27d76f065fd589081d232692a8 Mako-1.1.2.tar.gz"