[arch-commits] Commit in python-repoze.lru/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan fyan at archlinux.org
Wed Jun 10 14:39:13 UTC 2015


    Date: Wednesday, June 10, 2015 @ 16:39:12
  Author: fyan
Revision: 135135

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-06-10 14:38:58 UTC (rev 135134)
+++ PKGBUILD	2015-06-10 14:39:12 UTC (rev 135135)
@@ -1,33 +0,0 @@
-# $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
-}

Copied: python-repoze.lru/repos/community-any/PKGBUILD (from rev 135134, python-repoze.lru/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-06-10 14:39:12 UTC (rev 135135)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: DasIch <dasdasich at googlemail.com>
+# Contributor: James Bulmer <nekinie at gmail.com>
+
+pkgbase=python-repoze.lru
+pkgname=(python-repoze.lru python2-repoze.lru)
+pkgver=0.6
+pkgrel=4
+pkgdesc="A tiny LRU cache implementation and decorator"
+arch=("any")
+url="https://pypi.python.org/pypi/repoze.lru"
+license=("custom:BSD")
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-nose' 'python2-nose')
+source=("https://pypi.python.org/packages/source/r/repoze.lru/repoze.lru-${pkgver}.tar.gz")
+md5sums=("2c3b64b17a8e18b405f55d46173e14dd")
+
+prepare() {
+  cp -a repoze.lru-${pkgver}{,-py2}
+}
+
+build() {
+  cd "${srcdir}/repoze.lru-${pkgver}/"
+  python setup.py build
+
+  cd "${srcdir}/repoze.lru-${pkgver}-py2/"
+  python2 setup.py build
+}
+
+check() {
+  cd "${srcdir}/repoze.lru-${pkgver}/"
+  python setup.py test
+
+  cd "${srcdir}/repoze.lru-${pkgver}-py2/"
+  python2 setup.py test
+}
+
+package_python-repoze.lru() {
+  depends=("python")
+
+  cd "${srcdir}/repoze.lru-${pkgver}/"
+  python setup.py install --root="${pkgdir}/" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-repoze.lru() {
+  depends=("python2")
+
+  cd "${srcdir}/repoze.lru-${pkgver}-py2/"
+  python2 setup.py install --root="${pkgdir}/" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list