[arch-commits] Commit in python-pbr/repos/community-any (PKGBUILD PKGBUILD)
Daniel Wallace
dwallace at archlinux.org
Sun Apr 5 13:36:08 UTC 2015
Date: Sunday, April 5, 2015 @ 15:36:07
Author: dwallace
Revision: 130713
archrelease: copy trunk to community-any
Added:
python-pbr/repos/community-any/PKGBUILD
(from rev 130712, python-pbr/trunk/PKGBUILD)
Deleted:
python-pbr/repos/community-any/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-04-05 13:35:47 UTC (rev 130712)
+++ PKGBUILD 2015-04-05 13:36:07 UTC (rev 130713)
@@ -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.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}
-}
Copied: python-pbr/repos/community-any/PKGBUILD (from rev 130712, python-pbr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-04-05 13:36:07 UTC (rev 130713)
@@ -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.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}
+}
More information about the arch-commits
mailing list