pytest: Update to 6.2.1

And add required toml/iniconfig packages
This commit is contained in:
Christoph Reiter
2020-12-19 22:51:05 +01:00
parent dbe8b61c68
commit ce35046594
3 changed files with 61 additions and 7 deletions

View File

@@ -2,7 +2,7 @@
pkgbase=python-pytest
pkgname=('python-pytest')
pkgver=6.1.1
pkgver=6.2.1
pkgrel=1
provides=("python3-pytest")
replaces=("python3-pytest")
@@ -18,15 +18,13 @@ depends=('python'
'python-pluggy'
'python-py'
'python-setuptools'
'python-packaging'
'python-iniconfig'
'python-toml'
'python-six')
makedepends=('python-setuptools-scm')
source=("pytest-${pkgver}.tar.gz::https://github.com/pytest-dev/pytest/archive/${pkgver}.tar.gz")
sha512sums=('642782eb3f07756c11c7552c908031e83d888d7dbdd11f5b7aa349b6406724349468c6beee5f1ef770a4522710301659db7f9d6100f8da4b43c72d79d077f2aa')
prepare() {
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
}
sha256sums=('efc60ff9d50f63a6cc1571f5f121155cd1775905a29dbc58b55612ac5a81f530')
build() {
export SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver}