From f92acfcf6c0ea99d8fd04ad7297bf5511187377d Mon Sep 17 00:00:00 2001 From: aurelien Date: Sat, 31 May 2014 23:22:20 +0200 Subject: python2-repoze.lru --- pcr/python2-repoze.lru/PKGBUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pcr/python2-repoze.lru/PKGBUILD (limited to 'pcr/python2-repoze.lru/PKGBUILD') 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 +# Contributor: James Bulmer +# Maintainer : Parabola GNU / Linux-libre + +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 +} -- cgit v1.2.3-54-g00ecf