blob: 1851f3d50b1634082046fdb3524a0c4b1d2de075 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
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"
|