[arch-commits] Commit in python-oslo-config/trunk (PKGBUILD)
Felix Yan
fyan at archlinux.org
Fri Feb 26 10:14:33 UTC 2016
Date: Friday, February 26, 2016 @ 11:14:32
Author: fyan
Revision: 163500
upgpkg: python-oslo-config 3.9.0-1
Modified:
python-oslo-config/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-02-26 10:10:51 UTC (rev 163499)
+++ PKGBUILD 2016-02-26 10:14:32 UTC (rev 163500)
@@ -4,7 +4,7 @@
pkgbase=python-oslo-config
pkgname=(python-oslo-config python2-oslo-config)
-pkgver=3.8.0
+pkgver=3.9.0
pkgrel=1
pkgdesc="parsing command line arguments and .ini style configuration files"
arch=('any')
@@ -12,15 +12,16 @@
license=('GPL')
makedepends=('git' 'python-setuptools' 'python2-setuptools' 'python-netaddr' 'python2-netaddr'
'python-stevedore' 'python2-stevedore' 'python-debtcollector' 'python2-debtcollector')
-checkdepends=('python-mock' 'python2-mock' 'python-fixtures' 'python2-fixtures')
+checkdepends=('python-oslotest' 'python2-oslotest' 'python-sphinx' 'python2-sphinx')
options=('!emptydirs')
source=("git+https://git.openstack.org/openstack/oslo.config#tag=$pkgver")
md5sums=('SKIP')
prepare() {
+ sed -i '/argparse/d' oslo.config/requirements.txt
+
cp -a oslo.config{,-py2}
find oslo.config-py2 -name \*.py -exec sed -i '1s/python$/&2/' {} +
- sed -i '/argparse/d' "oslo.config"{,-py2}/requirements.txt
}
build() {
@@ -32,13 +33,11 @@
}
check() {
- # Disabled for now, as it brings in too many dependencies
-
cd "$srcdir"/oslo.config
- # py.test
+ python setup.py testr
cd "$srcdir"/oslo.config-py2
- # py.test2
+ PYTHON=python2 python2 setup.py testr
}
package_python-oslo-config() {
More information about the arch-commits
mailing list