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

Evangelos Foutras foutrelis at archlinux.org
Wed Nov 18 17:59:09 UTC 2020


    Date: Wednesday, November 18, 2020 @ 17:59:09
  Author: foutrelis
Revision: 757143

Fix cli tests with recent pytest

Modified:
  python-pytest-benchmark/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-18 17:46:24 UTC (rev 757142)
+++ PKGBUILD	2020-11-18 17:59:09 UTC (rev 757143)
@@ -14,6 +14,11 @@
 source=("$pkgname-$pkgver.tar.gz::https://github.com/ionelmc/pytest-benchmark/archive/v$pkgver.tar.gz")
 sha512sums=('952dbe2a9af1ae5de966543eae3b4523a5418c8441785714cbb7a5d17697046f060befb4a40cf216526e2a9a63d91c598d65e65618bd78fc2d889c92cecbbe53')
 
+prepare() {
+  cd pytest-benchmark-$pkgver
+  sed -i 's/\[glob_or_file ...]]/...]/' tests/test_cli.py
+}
+
 build() {
   cd pytest-benchmark-$pkgver
   python setup.py build



More information about the arch-commits mailing list