[arch-commits] Commit in python-oslo-config/repos/community-any (PKGBUILD PKGBUILD)
Daniel Wallace
dwallace at archlinux.org
Sun Apr 5 13:34:05 UTC 2015
Date: Sunday, April 5, 2015 @ 15:34:05
Author: dwallace
Revision: 130711
archrelease: copy trunk to community-any
Added:
python-oslo-config/repos/community-any/PKGBUILD
(from rev 130710, 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-04-05 13:33:16 UTC (rev 130710)
+++ PKGBUILD 2015-04-05 13:34:05 UTC (rev 130711)
@@ -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.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:
Copied: python-oslo-config/repos/community-any/PKGBUILD (from rev 130710, python-oslo-config/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-04-05 13:34:05 UTC (rev 130711)
@@ -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.9.3
+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=('109da1307ea8c65440accccbc59cf9a5')
+
+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