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

Felix Yan felixonmars at archlinux.org
Thu Feb 13 09:30:17 UTC 2020


    Date: Thursday, February 13, 2020 @ 09:30:16
  Author: felixonmars
Revision: 569942

upgpkg: python-hacking 2.0.0-1: disable tests for python2

Modified:
  python-hacking/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-13 09:28:59 UTC (rev 569941)
+++ PKGBUILD	2020-02-13 09:30:16 UTC (rev 569942)
@@ -10,7 +10,7 @@
 license=('Apache')
 makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr'
              'flake8' 'python2-flake8')
-checkdepends=('python-oslotest' 'python2-oslotest')
+checkdepends=('python-oslotest')
 source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack-dev/hacking/archive/$pkgver.tar.gz")
 sha512sums=('33cb147afe122fa55636122fc858704f052e469c9091fe8bc5763937f9e6150d7686c2c253fca6319ff3108dae1ae19eebfe9d425c722762599033696f9180c0')
 
@@ -29,11 +29,8 @@
 }
 
 check() {
-  cd "$srcdir"/hacking-$pkgver
+  cd hacking-$pkgver
   stestr run
-
-  cd "$srcdir"/hacking-$pkgver-py2
-  PYTHON=python2 stestr run
 }
 
 package_python-hacking() {



More information about the arch-commits mailing list