[arch-commits] Commit in python-pbr/repos/community-any (PKGBUILD PKGBUILD)

Daniel Wallace dwallace at archlinux.org
Wed Feb 18 15:23:05 UTC 2015


    Date: Wednesday, February 18, 2015 @ 16:23:05
  Author: dwallace
Revision: 127941

archrelease: copy trunk to community-any

Added:
  python-pbr/repos/community-any/PKGBUILD
    (from rev 127940, python-pbr/trunk/PKGBUILD)
Deleted:
  python-pbr/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   83 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 42 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-18 15:22:44 UTC (rev 127940)
+++ PKGBUILD	2015-02-18 15:23:05 UTC (rev 127941)
@@ -1,41 +0,0 @@
-# $Id$
-# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
-# Contributor: Limao Luo <luolimao+AUR at gmail.com>
-
-pkgbase=python-pbr
-pkgname=(python-pbr python2-pbr)
-pkgver=0.10.0
-pkgrel=1
-pkgdesc="Python bindings to the OpenStack Identity API (Keystone)"
-arch=('any')
-url=https://pypi.python.org/pypi/pbr
-license=(Apache)
-makedepends=(python2-setuptools python-setuptools)
-source=(http://pypi.python.org/packages/source/p/${pkgname#*-}/${pkgname#*-}-$pkgver.tar.gz)
-sha256sums=('52a61a863566fafa45507a9aa40e6c88edc1e09d96cde5f5a6aa3b4d26c913ce')
-sha512sums=('0e83fb57c5104e782da49f6d509371c33904b38aa92c8de851a6f92fe8138b95904d51d269c3b63a4a76bac6439d037e1192ad2010cc535a3741e4a539220da6')
-
-prepare() {
-    cp -a ${pkgname#*-}-$pkgver python2-pbr-$pkgver
-    find python2-pbr-$pkgver -name \*.py -exec sed -i '1s/python$/&2/' {} +
-}
-
-build() {
-    cd ${pkgname#*-}-$pkgver/
-    python setup.py build
-    cd $srcdir/python2-pbr-$pkgver
-    python2 setup.py build
-}
-
-package_python-pbr() {
-    cd ${pkgname#*-}-$pkgver/
-    depends=(python)
-    python setup.py install --prefix=/usr --root="$pkgdir"
-    install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-package_python2-pbr() {
-    cd $pkgname-$pkgver/
-    depends=(python2)
-    python2 setup.py install --prefix=/usr --root="$pkgdir"
-    install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-pbr/repos/community-any/PKGBUILD (from rev 127940, python-pbr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-02-18 15:23:05 UTC (rev 127941)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Limao Luo <luolimao+AUR at gmail.com>
+
+pkgbase=python-pbr
+pkgname=(python-pbr python2-pbr)
+pkgver=0.10.7
+pkgrel=1
+pkgdesc="Python bindings to the OpenStack Identity API (Keystone)"
+arch=('any')
+url=https://pypi.python.org/pypi/pbr
+license=(Apache)
+makedepends=(python2-setuptools python-setuptools)
+source=(http://pypi.python.org/packages/source/p/${pkgname#*-}/${pkgname#*-}-$pkgver.tar.gz)
+sha256sums=('3219912992192c68d21885409ff853ab97b19559c6b5f9f76fd84f06b00f7a27')
+sha512sums=('e726a2ccad93604dcfe4b5625e816f8a628197da928b934af9a9b928135d827e00678349b593a8acd6ef597e426672cc7bd6e0a248131ce0b687bab17e1dc1d2')
+
+prepare() {
+    cp -a ${pkgname#*-}-$pkgver python2-pbr-$pkgver
+    find python2-pbr-$pkgver -name \*.py -exec sed -i '1s/python$/&2/' {} +
+}
+
+build() {
+    cd ${pkgname#*-}-$pkgver/
+    python setup.py build
+    cd $srcdir/python2-pbr-$pkgver
+    python2 setup.py build
+}
+
+package_python-pbr() {
+    cd ${pkgname#*-}-$pkgver/
+    depends=(python)
+    python setup.py install --prefix=/usr --root="$pkgdir"
+    install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+package_python2-pbr() {
+    cd $pkgname-$pkgver/
+    depends=(python2)
+    python2 setup.py install --prefix=/usr --root="$pkgdir"
+    install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+    mv $pkgdir/usr/bin/pbr{,2}
+}



More information about the arch-commits mailing list