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

Felix Yan felixonmars at archlinux.org
Sat May 25 04:36:38 UTC 2019


    Date: Saturday, May 25, 2019 @ 04:36:38
  Author: felixonmars
Revision: 469706

upgpkg: python-pytest-randomly 2.1.1-2

disable python2 tests

Modified:
  python-pytest-randomly/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-25 04:33:19 UTC (rev 469705)
+++ PKGBUILD	2019-05-25 04:36:38 UTC (rev 469706)
@@ -2,7 +2,7 @@
 
 pkgbase=python-pytest-randomly
 pkgname=('python-pytest-randomly' 'python2-pytest-randomly')
-pkgver=1.2.3
+pkgver=2.1.1
 pkgrel=2
 pkgdesc='Pytest plugin to randomly order tests and control random.seed'
 arch=('any')
@@ -9,10 +9,9 @@
 license=('BSD')
 url='https://github.com/pytest-dev/pytest-randomly'
 makedepends=('python-pytest' 'python2-pytest')
-checkdepends=('python-faker' 'python2-faker' 'python-numpy' 'python2-numpy' 'python-factory-boy'
-              'python2-factory-boy')
+checkdepends=('python-faker' 'python-numpy' 'python-factory-boy')
 source=("$pkgbase-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-randomly/archive/$pkgver.tar.gz")
-sha512sums=('de4bba7d19c8e0d449174de186f0358a43a1e64a47f47de0ace1b00c6bffbc5d99328ba01f5286263e2c828008bd7f9f794d9628b6cc4e4a17c20e3fdbd85363')
+sha512sums=('4b5eb3d7f0032827a7a923fc587bafdcafab4faad399e5ac8f212359dd3d25ee4d6824ec5bd85cb232f3bab75c0bdb2eeaeca9e3d98716fbdcebab82c703fe34')
 
 prepare() {
   cp -a pytest-randomly-$pkgver{,-py2}
@@ -29,13 +28,9 @@
 check() {
   # Hack entry points by installing it
 
-  cd "$srcdir"/pytest-randomly-$pkgver
+  cd pytest-randomly-$pkgver
   python setup.py install --root="$PWD/tmp_install" --optimize=1
   PYTHONPATH="$PWD/tmp_install/usr/lib/python3.7/site-packages:$PYTHONPATH" py.test
-
-  cd "$srcdir"/pytest-randomly-$pkgver-py2
-  python2 setup.py install --root="$PWD/tmp_install" --optimize=1
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" py.test2
 }
 
 package_python-pytest-randomly() {



More information about the arch-commits mailing list