[arch-commits] Commit in python-oslo-config/repos/community-any (PKGBUILD PKGBUILD)
Daniel Wallace
dwallace at archlinux.org
Wed Feb 18 15:21:22 UTC 2015
Date: Wednesday, February 18, 2015 @ 16:21:21
Author: dwallace
Revision: 127939
archrelease: copy trunk to community-any
Added:
python-oslo-config/repos/community-any/PKGBUILD
(from rev 127938, 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-02-18 15:21:01 UTC (rev 127938)
+++ PKGBUILD 2015-02-18 15:21:21 UTC (rev 127939)
@@ -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.5.0
-pkgrel=1
-pkgdesc="parsing command line arguments and .ini style configuration files"
-arch=('any')
-url="https://pypi.python.org/pypi/oslo.config/1.1.0"
-license=('GPL')
-makedepends=('python2-setuptools' python-setuptools)
-options=(!emptydirs)
-source=("https://pypi.python.org/packages/source/o/$_pythonname/$_pythonname-$pkgver.tar.gz")
-md5sums=('b6bc11bbe14975ed5434108e8ad6708e')
-
-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 127938, python-oslo-config/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-02-18 15:21:21 UTC (rev 127939)
@@ -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=1.6.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=('d51fd561300f46945dd24977c429280c')
+
+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