author | Daniel M. Capella
<polyzen@archlinux.org> 2022-02-07 06:52:50 UTC |
committer | Daniel M. Capella
<polyzen@archlinux.org> 2022-02-07 06:52:50 UTC |
parent | 8ce4afe5ca0a8e4852768260c6860643ef6f40a4 |
PKGBUILD | +7 | -8 |
diff --git a/PKGBUILD b/PKGBUILD index 85d4d3d..7b1431d 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,14 +3,14 @@ # Contributor: Felix Kaiser <felix.kaiser@fxkr.net> pkgname=python-pytest -pkgver=6.2.5 -pkgrel=3 +pkgver=7.0.0 +pkgrel=1 pkgdesc="Simple powerful testing with Python" arch=('any') license=('MIT') url="https://pytest.org/" depends=('python-attrs' 'python-iniconfig' 'python-packaging' 'python-pluggy' - 'python-py' 'python-toml') + 'python-py' 'python-tomli') makedepends=('python-setuptools') checkdepends=('python-argcomplete' 'python-hypothesis' 'python-mock' 'python-nose' 'python-requests' 'python-xmlschema' @@ -19,17 +19,16 @@ checkdepends=('python-argcomplete' 'python-hypothesis' 'python-mock' 'python-jinja' 'python-numpy' 'python-pexpect' 'python-pygments' 'python-pytest-xdist' 'python-twisted') source=("https://files.pythonhosted.org/packages/source/p/pytest/pytest-$pkgver.tar.gz") -sha256sums=('131b36680866a76e6781d13f101efb86cf674ebb9762eb70d3082b6f29889e89') -b2sums=('9dfc87279617be58353566009325f929e6fa53d54fd4c665a75f3b359ab5415972d745a680eb85ab21ca9eaec84450bc1decd50566b0ccdf90d7551f3d03ee70') +sha256sums=('dad48ffda394e5ad9aa3b7d7ddf339ed502e5e365b1350e0af65f4a602344b11') +b2sums=('3af132da903252323086b21eb052d35973f1e81189972d7f1880a22c5dd8a2b779bf2450f394ef9b1e156b780bcf6f677a0b043db204bcb6038a9a85c7f393e6') -# Remove dep on setuptools_scm and workaround test failures +# Remove dep on setuptools_scm prepare() { cd pytest-$pkgver sed -i "/^\[metadata\]/a version = $pkgver /setuptools-scm/d" setup.cfg sed -i '/setuptools-scm\|wheel/d - /\[tool.setuptools_scm\]/,/^$/d - /_pytest.warning_types.PytestUnknownMarkWarning/a \ "ignore:Creating a LegacyVersion has been deprecated and will be removed in the next major release:DeprecationWarning",' pyproject.toml + /\[tool.setuptools_scm\]/,/^$/d' pyproject.toml } build() {