1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=python-flask-caching
6 pkgdesc="Adds caching support to your Flask application"
7 url="https://github.com/sh4nks/flask-caching"
10 depends=('python-flask' 'python-cachelib')
11 makedepends=('python-setuptools')
12 checkdepends=('python-pytest-runner' 'python-pytest-cov' 'python-pytest-xprocess'
13 'python-pylibmc' 'python-redis' 'memcached' 'python-asgiref')
14 source=("$pkgname-$pkgver.tar.gz::https://github.com/sh4nks/flask-caching/archive/v$pkgver.tar.gz")
15 sha512sums=('b019c3e74ebb65bb34eb08cdc886a70694ea218116c84ff3e57e3167da23bef1d50baa94c747557784e440eee5166084a4cdaa9082afe3b914ed012ff143a4c4')
18 cd flask-caching-$pkgver
19 sed -i 's/, < 0.10.0//' setup.py
23 cd flask-caching-$pkgver
28 cd flask-caching-$pkgver
29 python setup.py pytest
33 cd flask-caching-$pkgver
34 python setup.py install --root="$pkgdir" --optimize=1
35 install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE