diff options
Diffstat (limited to 'pcr/python2-repoze.lru/PKGBUILD')
-rw-r--r-- | pcr/python2-repoze.lru/PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pcr/python2-repoze.lru/PKGBUILD b/pcr/python2-repoze.lru/PKGBUILD new file mode 100644 index 000000000..d156d9bff --- /dev/null +++ b/pcr/python2-repoze.lru/PKGBUILD @@ -0,0 +1,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 +} |