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

Felix Yan felixonmars at archlinux.org
Tue Nov 28 05:30:55 UTC 2017


    Date: Tuesday, November 28, 2017 @ 05:30:54
  Author: felixonmars
Revision: 270434

upgpkg: python-pytest 3.3.0-1

Modified:
  python-pytest/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-28 05:27:43 UTC (rev 270433)
+++ PKGBUILD	2017-11-28 05:30:54 UTC (rev 270434)
@@ -4,7 +4,7 @@
 
 pkgbase=python-pytest
 pkgname=('python-pytest' 'python2-pytest')
-pkgver=3.2.5
+pkgver=3.3.0
 pkgrel=1
 pkgdesc="Simple powerful testing with Python"
 arch=('any')
@@ -11,22 +11,15 @@
 license=('MIT')
 url="http://pytest.org/"
 makedepends=('python-setuptools' 'python2-setuptools' 'python-py' 'python2-py' 'python-pluggy'
-             'python2-pluggy')
+             'python2-pluggy' 'python-attrs' 'python2-attrs' 'python2-funcsigs')
 checkdepends=('lsof' 'python-nose' 'python2-nose' 'python-mock' 'python2-mock' 'python-tox'
               'python2-tox' 'python-yaml' 'python2-yaml' 'python-pytest-xdist'
               '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=('312043d7e14eeaf5dcd86890f43b8a198482246c5fa4034b116db17e494e82c9a2f29662b7e290a4c0db2128aeb69953c5c77b07969f9e76700a4d788dffa1b2')
+sha512sums=('ad309fbca6721eb17bafd08bb65d003e3f8941ddd9243d76fa6053d3e3c143c75590ec23eb94368140c4110b54eadede1dc08ed20b009c3bf770a190cd88ecba')
 
 prepare() {
-  rm -r pytest-$pkgver/_pytest/vendored_packages
-  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
@@ -49,7 +42,7 @@
 }
 
 package_python-pytest() {
-  depends=('python-py' 'python-setuptools' 'python-pluggy')
+  depends=('python-py' 'python-setuptools' 'python-pluggy' 'python-attrs')
 
   cd pytest-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1
@@ -57,7 +50,7 @@
 }
 
 package_python2-pytest() {
-  depends=('python2-py' 'python2-setuptools' 'python2-pluggy')
+  depends=('python2-py' 'python2-setuptools' 'python2-pluggy' 'python2-attrs' 'python2-funcsigs')
 
   cd pytest-$pkgver-py2
   python2 setup.py install --root="$pkgdir" --optimize=1



More information about the arch-commits mailing list