Date: Sunday, April 23, 2023 @ 06:30:35
  Author: polyzen
Revision: 1448359

upgpkg: python-pytest-benchmark 4.0.0-3: Do not treat warnings as errors

Modified:
  python-pytest-benchmark/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-23 05:30:41 UTC (rev 1448358)
+++ PKGBUILD    2023-04-23 06:30:35 UTC (rev 1448359)
@@ -2,7 +2,7 @@
 
 pkgname=python-pytest-benchmark
 pkgver=4.0.0
-pkgrel=2
+pkgrel=3
 pkgdesc='A py.test fixture for benchmarking code'
 arch=('any')
 license=('BSD')
@@ -14,6 +14,11 @@
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/ionelmc/pytest-benchmark/archive/v$pkgver.tar.gz";)
 
sha512sums=('88636e44c184f5072ad081a89f08e8838a11397e6b88298d7f235b531f894792001b858fc5c810b1399d41ec55de5db9057552fb7544fb405a04c3ba5ffbe329')
 
+prepare() {
+  cd pytest-benchmark-$pkgver
+  sed -i '/ error/d' pytest.ini
+}
+
 build() {
   cd pytest-benchmark-$pkgver
   python setup.py build

Reply via email to