[arch-commits] Commit in python-repoze.lru/repos (2 files)

Felix Yan fyan at archlinux.org
Mon Jul 21 10:23:01 UTC 2014


    Date: Monday, July 21, 2014 @ 12:23:01
  Author: fyan
Revision: 116058

archrelease: copy trunk to community-any

Added:
  python-repoze.lru/repos/community-any/
  python-repoze.lru/repos/community-any/PKGBUILD
    (from rev 116057, python-repoze.lru/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: python-repoze.lru/repos/community-any/PKGBUILD (from rev 116057, python-repoze.lru/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2014-07-21 10:23:01 UTC (rev 116058)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: DasIch <dasdasich at googlemail.com>
+# Contributor: James Bulmer <nekinie at gmail.com>
+
+pkgbase=python-repoze.lru
+pkgname=python2-repoze.lru
+pkgver=0.6
+pkgrel=3
+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')
+checkdepends=('python2-nose')
+source=("https://pypi.python.org/packages/source/r/repoze.lru/repoze.lru-${pkgver}.tar.gz")
+md5sums=("2c3b64b17a8e18b405f55d46173e14dd")
+
+build() {
+  cd "${srcdir}/repoze.lru-${pkgver}/"
+  python2 setup.py build
+}
+
+build() {
+  cd "${srcdir}/repoze.lru-${pkgver}/"
+  python2 setup.py test
+}
+
+package_python2-repoze.lru() {
+  cd "${srcdir}/repoze.lru-${pkgver}/"
+  python2 setup.py install --root="${pkgdir}/" --optimize=1
+}




More information about the arch-commits mailing list