# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py-repoze-lru _pkgname=repoze.lru pkgver=0.7 pkgrel=0 pkgdesc="A tiny Python LRU cache implementation and decorator" options="!check" # Is python2 url="https://pypi.python.org/pypi/repoze.lru" arch="noarch" license="ZPL-2.1" depends="python2" makedepends="py2-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver build() { python2 setup.py build } package() { python2 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="c4d8b015931c4265fa8559f99c9d5016835574b368ebe0d49fe503afe908020b2bf29836606134e00c6c0aa436d52a00bb73d6ab80e98d0802f54bd2e4686476 repoze.lru-0.7.tar.gz"