author | Felix Yan
<felixonmars@archlinux.org> 2020-07-29 08:39:12 UTC |
committer | Felix Yan
<felixonmars@archlinux.org> 2020-07-29 08:39:12 UTC |
parent | 127f06f79a97f60dfcfc503c298afb8bd7537e59 |
PKGBUILD | +9 | -11 |
diff --git a/PKGBUILD b/PKGBUILD index 409c0df..5a689a5 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,22 +2,22 @@ # Contributor: Felix Kaiser <felix.kaiser@fxkr.net> pkgname=python-pytest -pkgver=5.4.3 +pkgver=6.0.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-pygments') +depends=('python-attrs' 'python-iniconfig' 'python-more-itertools' 'python-packaging' 'python-pluggy' + 'python-py' 'python-toml') makedepends=('python-setuptools-scm') -checkdepends=('lsof' 'python-nose' 'python-mock' 'python-requests' 'python-hypothesis' - 'python-argcomplete' 'python-xmlschema' +checkdepends=('python-argcomplete' 'python-hypothesis' 'python-mock' 'python-nose' 'python-requests' + 'python-xmlschema' # Unlisted, but actually used. Check again after a while: - 'python-numpy' 'python-twisted' 'python-pytest-xdist' 'python-decorator' - 'python-jinja' 'python-pexpect') + 'python-decorator' 'python-docutils' 'python-jinja' 'python-numpy' 'python-pexpect' + 'python-twisted' 'python-pytest-xdist') source=("$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest/archive/$pkgver.tar.gz") -sha512sums=('285ae5ce2b503acd15c97ae015fb7bb2fda5507e17c7c8e5b0b52526f939c818e3c8b1788290c11388cabdbb550bef4328cf3a57b4a60b42341a0470c335078f') +sha512sums=('2c42c54a16a02b5d033527c3632e4e49d6fb82deee8a05ae1665fcd5f3978098c87599e8fb1bcd14a098d977c7d8588dc93b3b84398b5dc965d1b0c2740b446e') export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver @@ -27,11 +27,9 @@ build() { } check() { - # Skip test_collect_pyargs_with_testpaths because it mangles PYTHONPATH - cd pytest-$pkgver python setup.py egg_info - PYTHONPATH="$PWD"/build/lib python src/pytest/__main__.py -k 'not test_collect_pyargs_with_testpaths' + PYTHONPATH="$PWD"/build/lib python src/pytest/__main__.py } package() {