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

Felix Yan felixonmars at archlinux.org
Fri Jan 11 11:02:42 UTC 2019


    Date: Friday, January 11, 2019 @ 11:02:41
  Author: felixonmars
Revision: 422399

upgpkg: python-pytest-benchmark 3.2.1-1

Modified:
  python-pytest-benchmark/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-11 10:43:00 UTC (rev 422398)
+++ PKGBUILD	2019-01-11 11:02:41 UTC (rev 422399)
@@ -2,7 +2,7 @@
 
 pkgbase=python-pytest-benchmark
 pkgname=('python-pytest-benchmark' 'python2-pytest-benchmark')
-pkgver=3.2.0
+pkgver=3.2.1
 pkgrel=1
 pkgdesc='A py.test fixture for benchmarking code'
 arch=('any')
@@ -16,7 +16,7 @@
               'python-pytest-runner' 'python2-pytest-runner' 'python-elasticsearch'
               'python2-elasticsearch' 'python2-mock' 'git')
 source=("$pkgbase-$pkgver.tar.gz::https://github.com/ionelmc/pytest-benchmark/archive/v$pkgver.tar.gz")
-sha512sums=('feddaf7479535fb895114f207f3aa5d3f47cdc7addaad3bf599ae620aa8e1f7d66eb69766f13aab62d7f9492ea6430a11f9e22cb60eb444fbdf521a4d1cd92ff')
+sha512sums=('3869d1ef37063a058f917903e541b482de4cbc360ebabc11f4b0e9db6f0d618fd3258efdd27b2fb0e20564f7d1bb4ad1818d82dba62661979c1a48b4d4ddcb76')
 
 prepare() {
   cp -a pytest-benchmark-$pkgver{,-py2}
@@ -32,15 +32,14 @@
 
 check() {
   # Hack entry points by installing it
-  # https://github.com/ionelmc/pytest-benchmark/issues/143
 
   cd "$srcdir"/pytest-benchmark-$pkgver
   python setup.py install --root="$PWD/tmp_install" --optimize=1
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.7/site-packages:$PYTHONPATH" PATH="$PWD/tmp_install/usr/bin:$PATH" python setup.py pytest --addopts="tests -k 'not test_commit_info_error'"
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.7/site-packages:$PYTHONPATH" PATH="$PWD/tmp_install/usr/bin:$PATH" python setup.py pytest --addopts="tests"
 
   cd "$srcdir"/pytest-benchmark-$pkgver-py2
   python2 setup.py install --root="$PWD/tmp_install" --optimize=1
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" PATH="$PWD/tmp_install/usr/bin:$PATH" python2 setup.py pytest --addopts="tests -k 'not test_commit_info_error'"
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" PATH="$PWD/tmp_install/usr/bin:$PATH" python2 setup.py pytest --addopts="tests"
 }
 
 package_python-pytest-benchmark() {


More information about the arch-commits mailing list