summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraurelien <aurelien@xload.io>2014-05-31 23:22:20 +0200
committeraurelien <aurelien@xload.io>2014-05-31 23:22:20 +0200
commitf92acfcf6c0ea99d8fd04ad7297bf5511187377d (patch)
treed29f80a031350e2de5d74c16cf2b2acd23cd7ac0
parentefbdeced67ed61517772ff1423cb0c97b9473641 (diff)
downloadabslibre-f92acfcf6c0ea99d8fd04ad7297bf5511187377d.tar.gz
abslibre-f92acfcf6c0ea99d8fd04ad7297bf5511187377d.tar.bz2
abslibre-f92acfcf6c0ea99d8fd04ad7297bf5511187377d.zip
python2-repoze.lru
-rw-r--r--pcr/python2-repoze.lru/PKGBUILD24
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
+}