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

Felix Yan felixonmars at archlinux.org
Wed Nov 15 08:33:02 UTC 2017


    Date: Wednesday, November 15, 2017 @ 08:33:01
  Author: felixonmars
Revision: 266835

upgpkg: python-pytest 3.2.4-1

Modified:
  python-pytest/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-15 08:25:49 UTC (rev 266834)
+++ PKGBUILD	2017-11-15 08:33:01 UTC (rev 266835)
@@ -4,7 +4,7 @@
 
 pkgbase=python-pytest
 pkgname=('python-pytest' 'python2-pytest')
-pkgver=3.2.3
+pkgver=3.2.4
 pkgrel=1
 pkgdesc="Simple powerful testing with Python"
 arch=('any')
@@ -17,7 +17,7 @@
               'python2-pytest-xdist' 'python-twisted' 'python2-twisted' 'python-requests'
               'python2-requests' 'python-hypothesis' 'python2-hypothesis')
 source=("$pkgbase-$pkgver.tar.gz::https://github.com/pytest-dev/pytest/archive/$pkgver.tar.gz")
-sha512sums=('02bd3b091718b983580640157feda10b8fd5a6872fc9a0e0ee4c21f22152477d0d8375853186ad4a7da4ddefb43ebcff3b58226d14f8383fe26c01d88511177f')
+sha512sums=('a1be7e06eb90d29a3dab1d734491fe42c021e1317a2a34799cf92139cae26343b1b852f27f7ddbb7133e3d6ea285d8266e26867737ee144ce24ba2c82f571996')
 
 prepare() {
   rm -r pytest-$pkgver/_pytest/vendored_packages
@@ -24,6 +24,9 @@
   sed -i "s/'_pytest.vendored_packages'//" pytest-$pkgver/setup.py
   sed -i 's/assert numentries == 0/assert numentries == 26/' pytest-$pkgver/testing/python/collect.py
 
+  sed -i '/DeprecationWarning/a \    ignore:.*Support for __multicall__.*:DeprecationWarning' pytest-$pkgver/tox.ini
+  sed -i '/DeprecationWarning/a \    ignore:.*get_result.*which forces correct exception handling.*:DeprecationWarning' pytest-$pkgver/tox.ini
+
   cp -a pytest-$pkgver{,-py2}
 
   export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver



More information about the arch-commits mailing list