1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=python-cachetools
6 pkgdesc="Extensible memoizing collections and decorators"
7 url="https://github.com/tkem/cachetools"
11 makedepends=('python-setuptools')
12 checkdepends=('python-pytest-runner')
13 source=("$pkgname-$pkgver.tar.gz::https://github.com/tkem/cachetools/archive/v$pkgver.tar.gz")
14 sha512sums=('6b600f48f28b98c5480a1952317c2f27c132cf609c6651e66165351f23fba6c028cdbf1bba0f2159a622d8cd3db9bfa09dde7e08e15929336e82358f61e495bc')
17 cd "$srcdir"/cachetools-$pkgver
22 cd "$srcdir"/cachetools-$pkgver
23 python setup.py pytest
28 python setup.py install --root="$pkgdir" --optimize=1
29 install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE