blob: d156d9bff3afedfca043ba4067e02b2f28c9f186 (
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
|
# Contributor: DasIch <dasdasich@googlemail.com>
# Contributor: James Bulmer <nekinie@gmail.com>
# Maintainer : Parabola GNU / Linux-libre <aurelien@hackers.camp>
pkgname="python2-repoze.lru"
pkgver=0.6
pkgrel=2
pkgdesc="A tiny LRU cache implementation and decorator"
arch=("any")
url="https://pypi.python.org/pypi/repoze.lru"
license=("custom:BSD")
depends=("python2")
makedepends=("python2-setuptools")
source=("https://pypi.python.org/packages/source/r/repoze.lru/repoze.lru-${pkgver}.tar.gz")
build() {
cd "${srcdir}/repoze.lru-${pkgver}/"
python2 setup.py build
}
package() {
cd "${srcdir}/repoze.lru-${pkgver}/"
python2 setup.py install --root="${pkgdir}/" --optimize=1
}
|