author | Felix Yan
<felixonmars@archlinux.org> 2019-06-30 05:39:25 UTC |
committer | Felix Yan
<felixonmars@archlinux.org> 2019-06-30 05:39:25 UTC |
parent | 538cc530ed35a7cce60486dee70d06629b7b93ca |
PKGBUILD | +6 | -5 |
diff --git a/PKGBUILD b/PKGBUILD index 246997b..aa20459 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,7 @@ pkgbase=python-pytest pkgname=('python-pytest' 'python2-pytest') -pkgver=4.4.2 +pkgver=4.6.0 pkgrel=1 pkgdesc="Simple powerful testing with Python" arch=('any') @@ -12,15 +12,16 @@ url="http://pytest.org/" makedepends=('python-setuptools-scm' 'python2-setuptools-scm' 'python-py' 'python2-py' 'python-pluggy' 'python2-pluggy' 'python-attrs' 'python2-attrs' 'python-more-itertools' 'python2-more-itertools' 'python-atomicwrites' 'python2-atomicwrites' - 'python2-funcsigs' 'python2-pathlib2') + 'python2-funcsigs' 'python2-pathlib2' 'python-wcwidth' 'python2-wcwidth') 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=('cef0a89c54e0851be4434d8891971c88433555588f96eca4c1f833644b43a326435425f2b10a19b260591db35455ab9100a15cb5a128451fde9e60e4629c49f1') +sha512sums=('7439a6f27c349f668c9f6b507109782eb56199c565b7ca386f9a420edcb3183ae9b447be0b507247589c3cc74b6a376de39ea05f8b65be2fbb2c04315e2cafa0') prepare() { + sed -i 's/==0/>=0/' pytest-$pkgver/setup.py cp -a pytest-$pkgver{,-py2} export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver @@ -46,7 +47,7 @@ check() { package_python-pytest() { depends=('python-py' 'python-setuptools' 'python-pluggy' 'python-attrs' 'python-more-itertools' - 'python-atomicwrites') + 'python-atomicwrites' 'python-wcwidth') cd pytest-$pkgver python setup.py install --root="$pkgdir" --optimize=1 @@ -54,7 +55,7 @@ package_python-pytest() { } package_python2-pytest() { - depends=('python2-py' 'python2-setuptools' 'python2-pluggy' 'python2-attrs' + depends=('python2-py' 'python2-setuptools' 'python2-pluggy' 'python2-attrs' 'python2-wcwidth' 'python2-more-itertools' 'python2-atomicwrites' 'python2-funcsigs' 'python2-pathlib2') cd pytest-$pkgver-py2