[arch-commits] Commit in python-pytest-asyncio/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Fri Nov 8 22:20:56 UTC 2019
Date: Friday, November 8, 2019 @ 22:20:56
Author: foutrelis
Revision: 524700
Fix tests treating warnings as errors
Modified:
python-pytest-asyncio/trunk/PKGBUILD
----------+
PKGBUILD | 6 ++++++
1 file changed, 6 insertions(+)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-08 22:11:07 UTC (rev 524699)
+++ PKGBUILD 2019-11-08 22:20:56 UTC (rev 524700)
@@ -12,6 +12,12 @@
source=("$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-asyncio/archive/v$pkgver.tar.gz")
sha512sums=('78160d1918c5d3d2172f74fa07bf4bf6d0bc416666011dd5b83b3a7f385ec30fc65d49c01bba5dd0e16ad9dcd9d72d8ab062526f3268d60cd2e24a35b5a8f883')
+prepare() {
+ cd pytest-asyncio-$pkgver
+ # Don't treat DeprecationWarnings as errors
+ sed -i '/filterwarnings = error/d' setup.cfg
+}
+
build() {
cd pytest-asyncio-$pkgver
python setup.py build
More information about the arch-commits
mailing list