[arch-commits] Commit in python-oslo-config/repos/community-any (PKGBUILD PKGBUILD)
Daniel Wallace
dwallace at archlinux.org
Tue Sep 8 17:31:55 UTC 2015
Date: Tuesday, September 8, 2015 @ 19:31:55
Author: dwallace
Revision: 139638
archrelease: copy trunk to community-any
Added:
python-oslo-config/repos/community-any/PKGBUILD
(from rev 139637, python-oslo-config/trunk/PKGBUILD)
Deleted:
python-oslo-config/repos/community-any/PKGBUILD
----------+
PKGBUILD | 82 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 41 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-09-08 17:30:12 UTC (rev 139637)
+++ PKGBUILD 2015-09-08 17:31:55 UTC (rev 139638)
@@ -1,41 +0,0 @@
-# $Id$
-# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
-pkgbase=python-oslo-config
-pkgname=(python-oslo-config python2-oslo-config)
-_pythonname=oslo.config
-pkgver=1.12.1
-pkgrel=1
-pkgdesc="parsing command line arguments and .ini style configuration files"
-arch=('any')
-url="https://pypi.python.org/pypi/oslo.config/$pkgver"
-license=('GPL')
-makedepends=('python2-setuptools' python-setuptools)
-options=(!emptydirs)
-source=("https://pypi.python.org/packages/source/o/$_pythonname/$_pythonname-$pkgver.tar.gz")
-md5sums=('b20e00b2a5ec129a3b58d84308f381ae')
-
-prepare(){
- cp -a $_pythonname-$pkgver{,-2}
- find $_pythonname-$pkgver-2 -name \*.py -exec sed -i '1s/python$/&2/' {} +
- sed -i '/argparse/d' "$_pythonname-$pkgver"{,-2}/requirements.txt
-}
-
-build(){
- cd "$srcdir/$_pythonname-$pkgver"
- python setup.py build
- cd "$srcdir/$_pythonname-$pkgver-2"
- python2 setup.py build
-}
-package_python-oslo-config() {
- cd "$srcdir/$_pythonname-$pkgver"
- depends=(python)
- python setup.py install --root="$pkgdir/" --optimize=1
-}
-package_python2-oslo-config() {
- cd "$srcdir/$_pythonname-$pkgver"
- depends=(python2)
- python2 setup.py install --root="$pkgdir/" --optimize=1
- mv $pkgdir/usr/bin/oslo-config-generator $pkgdir/usr/bin/oslo-config-generator2
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-oslo-config/repos/community-any/PKGBUILD (from rev 139637, python-oslo-config/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-09-08 17:31:55 UTC (rev 139638)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
+pkgbase=python-oslo-config
+pkgname=(python-oslo-config python2-oslo-config)
+_pythonname=oslo.config
+pkgver=2.4.0
+pkgrel=1
+pkgdesc="parsing command line arguments and .ini style configuration files"
+arch=('any')
+url="https://pypi.python.org/pypi/oslo.config/$pkgver"
+license=('GPL')
+makedepends=('python2-setuptools' python-setuptools)
+options=(!emptydirs)
+source=("https://pypi.python.org/packages/source/o/$_pythonname/$_pythonname-$pkgver.tar.gz")
+md5sums=('d46e98ba78d83c982c4beb55212a3048')
+
+prepare(){
+ cp -a $_pythonname-$pkgver{,-2}
+ find $_pythonname-$pkgver-2 -name \*.py -exec sed -i '1s/python$/&2/' {} +
+ sed -i '/argparse/d' "$_pythonname-$pkgver"{,-2}/requirements.txt
+}
+
+build(){
+ cd "$srcdir/$_pythonname-$pkgver"
+ python setup.py build
+ cd "$srcdir/$_pythonname-$pkgver-2"
+ python2 setup.py build
+}
+package_python-oslo-config() {
+ cd "$srcdir/$_pythonname-$pkgver"
+ depends=(python)
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
+package_python2-oslo-config() {
+ cd "$srcdir/$_pythonname-$pkgver"
+ depends=(python2)
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+ mv $pkgdir/usr/bin/oslo-config-generator $pkgdir/usr/bin/oslo-config-generator2
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list