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

Daniel Wallace dwallace at archlinux.org
Tue May 12 13:34:35 UTC 2015


    Date: Tuesday, May 12, 2015 @ 15:34:34
  Author: dwallace
Revision: 133320

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-05-12 13:34:08 UTC (rev 133319)
+++ PKGBUILD	2015-05-12 13:34:34 UTC (rev 133320)
@@ -1,42 +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.8
-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=('a741650c697abe9dd3da00039a57a45a15a6eed017a16f6b7e4c0161fae2b4b2')
-sha512sums=('d79455288657ca07e38a64393d54bda8f88b75242b929ea9f88ac809ba88fffa4793eba0459cae368d822164de5a89721c77fadd05ab624db5897f6cf447b1f4')
-
-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}
-}

Copied: python-pbr/repos/community-any/PKGBUILD (from rev 133319, python-pbr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-05-12 13:34:34 UTC (rev 133320)
@@ -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.11.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=('d7f0d69aef367a764d69a4728afd966025ce9394d6029a924ef838ecdf592f6d')
+sha512sums=('6ddcbc39b25e57d20108f72334934f5243d397e2b5316ad26bdbdf32ae6e5bed0ad6fcb47d8e92d6c73a9bd369c463a962cae9fce5800096dd819f2ce58a045b')
+
+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-pip)
+    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-pip)
+    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