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

Felix Yan felixonmars at archlinux.org
Tue Feb 25 10:17:46 UTC 2020


    Date: Tuesday, February 25, 2020 @ 10:17:45
  Author: felixonmars
Revision: 580968

upgpkg: python-fixtures 3.0.0-7: disable python2 tests

Modified:
  python-fixtures/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-25 10:15:51 UTC (rev 580967)
+++ PKGBUILD	2020-02-25 10:17:45 UTC (rev 580968)
@@ -3,7 +3,7 @@
 pkgbase=python-fixtures
 pkgname=('python-fixtures' 'python2-fixtures')
 pkgver=3.0.0
-pkgrel=6
+pkgrel=7
 pkgdesc="Fixtures, reusable state for writing clean tests and more"
 arch=('any')
 license=('Apache')
@@ -10,7 +10,7 @@
 url="https://launchpad.net/python-fixtures"
 makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr'
              'python-six' 'python2-six' 'python-testtools' 'python2-testtools')
-checkdepends=('python-subunit' 'python2-subunit' 'python-mock' 'python2-mock')
+checkdepends=('python-subunit' 'python-mock')
 source=("https://pypi.io/packages/source/f/fixtures/fixtures-$pkgver.tar.gz")
 sha512sums=('e52ba864c42d15a8baa60583761006b2dd78e3cd5f3f043f5702346aef428b933d62e8fa5889b7cb4196e4072acc5df3b7ffa39702a1b782887bdc109299b695')
 
@@ -27,11 +27,8 @@
 }
 
 check() {
-  cd "$srcdir"/fixtures-$pkgver
+  cd fixtures-$pkgver
   python -m testtools.run fixtures.test_suite
-
-  cd "$srcdir"/fixtures-$pkgver-py2
-  python2 -m testtools.run fixtures.test_suite
 }
 
 package_python-fixtures() {



More information about the arch-commits mailing list