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

Felix Yan felixonmars at archlinux.org
Thu Feb 13 09:34:29 UTC 2020


    Date: Thursday, February 13, 2020 @ 09:34:29
  Author: felixonmars
Revision: 569947

upgpkg: python-mox3 1.0.0-2: disable python2 tests

Modified:
  python-mox3/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-13 09:34:18 UTC (rev 569946)
+++ PKGBUILD	2020-02-13 09:34:29 UTC (rev 569947)
@@ -3,7 +3,7 @@
 pkgbase=python-mox3
 pkgname=('python-mox3' 'python2-mox3')
 pkgver=1.0.0
-pkgrel=1
+pkgrel=2
 arch=('any')
 pkgdesc='Mock object framework for Python'
 url='https://docs.openstack.org/developer/mox3'
@@ -10,7 +10,7 @@
 license=('Apache')
 makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr'
              'python-fixtures' 'python2-fixtures')
-checkdepends=('python-oslotest' 'python2-oslotest')
+checkdepends=('python-oslotest')
 source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/mox3/archive/$pkgver.tar.gz")
 sha512sums=('18e4fe6514993cfae07b0b9d0a7759285803cd09035865bf8355ef3d5eb24a07294cfcdb20fdd222c6774a6fa09a8838186ce7bbfe19e0430a060041c0ca0320')
 
@@ -32,11 +32,8 @@
 }
 
 check() {
-  cd "$srcdir"/mox3-$pkgver
+  cd mox3-$pkgver
   stestr run
-
-  cd "$srcdir"/mox3-$pkgver-py2
-  PYTHON=python2 stestr2 run
 }
 
 package_python-mox3() {



More information about the arch-commits mailing list