upgpkg: ocaml-ctypes 0.20.2-1
[arch-packages.git] / python-mako / trunk / PKGBUILD
blob3867cbfd173274187101d9078070e797b43f8ead
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=python-mako
4 pkgver=1.2.4
5 pkgrel=3
6 pkgdesc="A super-fast templating language that borrows the best ideas from the existing templating languages"
7 arch=('any')
8 url="https://www.makotemplates.org/"
9 license=('MIT')
10 depends=('python-markupsafe')
11 makedepends=('python-setuptools')
12 # python-lingua isn't packaged
13 checkdepends=('python-pytest' 'python-babel' 'python-beaker' 'python-dogpile.cache'
14               'python-pygments')
15 source=("https://pypi.io/packages/source/M/Mako/Mako-$pkgver.tar.gz"{,.asc})
16 sha512sums=('9a90d245f2c8b5e5efa283d91f762a2fffa40b7f71e7a4b66de7f66f894ad5ba2fa5c04080200b6633bb61d4308db5b5e763b26ae7d93d18efe4aebb2178006a'
17             'SKIP')
18 validpgpkeys=('83AF7ACE251C13E6BB7DEFBD330239C1C4DAFEE1'   # Michael Bayer
19               '2CA9B722133AF20453401FD1A33AC2044BFDF51E')  # Mako Maintainer
21 build() {
22   cd Mako-$pkgver
23   python setup.py build
26 check() {
27   cd Mako-$pkgver
28   python -m pytest
31 package() {
32   cd Mako-$pkgver
33   python setup.py install --root="$pkgdir" --optimize=1
34   install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/