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

Felix Yan felixonmars at archlinux.org
Thu Feb 13 09:32:43 UTC 2020


    Date: Thursday, February 13, 2020 @ 09:32:42
  Author: felixonmars
Revision: 569944

upgpkg: python-keystoneauth1 3.18.0-3: disable tests for python2

Modified:
  python-keystoneauth1/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++------------
 1 file changed, 5 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-13 09:30:31 UTC (rev 569943)
+++ PKGBUILD	2020-02-13 09:32:42 UTC (rev 569944)
@@ -4,7 +4,7 @@
 pkgbase=python-keystoneauth1
 pkgname=(python-keystoneauth1 python2-keystoneauth1)
 pkgver=3.18.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Authentication Library for OpenStack Identity"
 arch=('any')
 url="https://docs.openstack.org/developer/keystoneauth"
@@ -12,13 +12,9 @@
 makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-iso8601'
              'python2-iso8601' 'python-os-service-types' 'python2-os-service-types' 'python-requests'
              'python2-requests' 'python-stevedore' 'python2-stevedore')
-checkdepends=('python-requests-mock' 'python2-requests-mock' 'python-testscenarios'
-              'python2-testscenarios' 'python-mock' 'python2-mock' 'python-lxml' 'python2-lxml'
-              'python-oslo-config' 'python2-oslo-config' 'python-betamax' 'python2-betamax'
-              'python-oslotest' 'python2-oslotest' 'python-oslo-utils' 'python2-oslo-utils'
-              'python-requests-kerberos' 'python2-requests-kerberos' 'python-oauthlib'
-              'python2-oauthlib' 'python-pycodestyle' 'python2-pycodestyle' 'python-stestr'
-              'python2-stestr')
+checkdepends=('python-requests-mock' 'python-testscenarios' 'python-mock' 'python-lxml'
+              'python-oslo-config' 'python-betamax' 'python-oslotest' 'python-oslo-utils'
+              'python-requests-kerberos' 'python-oauthlib' 'python-pycodestyle')
 source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/keystoneauth/archive/$pkgver.tar.gz")
 sha512sums=('cc245b52027df6d555671f27e29ca1c626189182217b2bfe3d3769f076152946d5b80fb21b95419a939f9d7836edca75f3ed85d344fb49c0366a62a53ab668a5')
 
@@ -41,11 +37,8 @@
 }
 
 check() {
-  cd "$srcdir"/keystoneauth-$pkgver
+  cd keystoneauth-$pkgver
   stestr run
-
-  cd "$srcdir"/keystoneauth-$pkgver-py2
-  PYTHON=python2 stestr2 run
 }
 
 package_python-keystoneauth1() {



More information about the arch-commits mailing list