author | Felix Yan
<felixonmars@archlinux.org> 2020-03-14 18:00:56 UTC |
committer | Felix Yan
<felixonmars@archlinux.org> 2020-03-14 18:00:56 UTC |
parent | c6646f2f9521a298be3ab2e69959be2ddc35d09d |
PKGBUILD | +3 | -8 |
diff --git a/PKGBUILD b/PKGBUILD index 70d6d64..bba5b17 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,14 +2,14 @@ # Contributor: Felix Kaiser <felix.kaiser@fxkr.net> pkgname=python-pytest -pkgver=5.3.5 +pkgver=5.4.0 pkgrel=1 pkgdesc="Simple powerful testing with Python" arch=('any') license=('MIT') url="https://pytest.org/" depends=('python-py' 'python-setuptools' 'python-pluggy' 'python-attrs' 'python-more-itertools' - 'python-atomicwrites' 'python-wcwidth' 'python-importlib-metadata') + 'python-atomicwrites' 'python-wcwidth' 'python-importlib-metadata' 'python-pygments') makedepends=('python-setuptools-scm') checkdepends=('lsof' 'python-nose' 'python-mock' 'python-requests' 'python-hypothesis' 'python-argcomplete' 'python-xmlschema' @@ -17,15 +17,10 @@ checkdepends=('lsof' 'python-nose' 'python-mock' 'python-requests' 'python-hypot 'python-numpy' 'python-twisted' 'python-pytest-xdist' 'python-decorator' 'python-jinja' 'python-pexpect') source=("$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest/archive/$pkgver.tar.gz") -sha512sums=('487bd492522d85184d89c834e606063fc2a1ee3fb374f4a11d851db0dbf6e9d4bea749ee96727600a78dac1dc24f83798d2214b3043bad8fa3da647026b43e04') +sha512sums=('1042f537e73752257ed982470f4abd09e1b7031c5c4b428a319684008dac136ac68a2fb8b663140b2e312dff737bf178438d3c122e800f07bd10233417f73a57') export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver -prepare() { - # Ignore warnings that break test - sed -e 's|2 passed in|2 passed|' -i pytest-$pkgver/testing/test_pdb.py -} - build() { cd pytest-$pkgver python setup.py build