[arch-commits] Commit in python-cliff/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue May 9 05:07:00 UTC 2017


    Date: Tuesday, May 9, 2017 @ 05:06:59
  Author: felixonmars
Revision: 227392

upgpkg: python-cliff 2.7.0-1

Modified:
  python-cliff/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-05-09 05:04:33 UTC (rev 227391)
+++ PKGBUILD	2017-05-09 05:06:59 UTC (rev 227392)
@@ -4,7 +4,7 @@
 
 pkgbase=python-cliff
 pkgname=(python-cliff python2-cliff)
-pkgver=2.6.0
+pkgver=2.7.0
 pkgrel=1
 pkgdesc="Command Line Interface Formulation Framework"
 arch=('any')
@@ -13,13 +13,13 @@
 makedepends=('git' 'python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr'
              'python-cmd2' 'python2-cmd2' 'python-prettytable' 'python2-prettytable'
              'python-pyparsing' 'python2-pyparsing' 'python-stevedore'
-             'python2-stevedore' 'python-unicodecsv' 'python2-unicodecsv' 'python-yaml'
-             'python2-yaml')
-checkdepends=('python-nose' 'python2-nose' 'python-mock' 'python2-mock' 'python-docutils'
-              'python2-docutils')
+             'python2-stevedore' 'python2-unicodecsv' 'python-yaml' 'python2-yaml')
+checkdepends=('python-testrepository' 'python2-testrepository' 'python-mock' 'python2-mock'
+              'python-sphinx' 'python2-sphinx' 'python-oslosphinx' 'python2-oslosphinx'
+              'python-testscenarios' 'python2-testscenarios')
 options=('!emptydirs')
 source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/cliff/archive/$pkgver.tar.gz")
-sha512sums=('0925fbc0b7e80c6da72994d04d1d3ab545db17a235e2bd3d78b761503cbd291e74c3649073d3bb8158aa60e96cede4a36fba88fff862056c3eb3dbb08cfb1a54')
+sha512sums=('6dbd0d94aac75fbec69eb62783ac01332aa1b0c35cb3b619dc93df13bdc801d539efd3f8025f7d9e1c1c9ae9664a769aff4a088589bd888817147adc5c912de2')
 
 prepare() {
   cp -a cliff-$pkgver{,-py2}
@@ -37,15 +37,15 @@
 
 check() {
   cd "$srcdir"/cliff-$pkgver
-  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" nosetests3 -d
+  python setup.py testr
 
   cd "$srcdir"/cliff-$pkgver-py2
-  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" nosetests2 -d
+  PYTHON=python2 python2 setup.py testr
 }
 
 package_python-cliff() {
   depends=('python-six' 'python-pbr' 'python-cmd2' 'python-prettytable' 'python-pyparsing'
-           'python-stevedore' 'python-unicodecsv' 'python-yaml')
+           'python-stevedore' 'python-yaml')
 
   cd "$srcdir"/cliff-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1



More information about the arch-commits mailing list