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

Felix Yan felixonmars at archlinux.org
Thu Feb 13 09:28:42 UTC 2020


    Date: Thursday, February 13, 2020 @ 09:28:41
  Author: felixonmars
Revision: 569940

upgpkg: python-debtcollector 2.0.0-2: disable tests for python2

Modified:
  python-debtcollector/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-13 09:25:02 UTC (rev 569939)
+++ PKGBUILD	2020-02-13 09:28:41 UTC (rev 569940)
@@ -3,7 +3,7 @@
 pkgbase=python-debtcollector
 pkgname=('python-debtcollector' 'python2-debtcollector')
 pkgver=2.0.0
-pkgrel=1
+pkgrel=2
 arch=('any')
 pkgdesc='A collection of Python deprecation patterns and strategies that help you collect your technical debt in a non-destructive manner.'
 url='https://docs.openstack.org/developer/debtcollector'
@@ -10,7 +10,7 @@
 license=('Apache')
 makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-babel'
              'python2-babel' 'python-wrapt' 'python2-wrapt' 'python2-funcsigs')
-checkdepends=('python-oslotest' 'python2-oslotest')
+checkdepends=('python-oslotest')
 source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/debtcollector/archive/$pkgver.tar.gz")
 sha512sums=('cdacf720cd783e1d795089451f9d2cf91ba79ef6085b18760d13f0b98fdbecb0c21960a771f3a03a867b5a301f0cc66f09407dfb8ae5713132d5b3fd027bc439')
 
@@ -29,11 +29,8 @@
 }
 
 check() {
-  cd "$srcdir"/debtcollector-$pkgver
+  cd debtcollector-$pkgver
   stestr run
-
-  cd "$srcdir"/debtcollector-$pkgver-py2
-  PYTHON=python2 stestr2 run
 }
 
 package_python-debtcollector() {



More information about the arch-commits mailing list