author | Daniel M. Capella
<polyzen@archlinux.org> 2024-03-19 23:11:11 UTC |
committer | Daniel M. Capella
<polyzen@archlinux.org> 2024-03-19 23:11:11 UTC |
parent | 3d99aa83f66a41adc36bb18f50f3af01004d72d7 |
.SRCINFO | +19 | -3 |
PKGBUILD | +26 | -26 |
diff --git a/.SRCINFO b/.SRCINFO index 9e39635..68f46ef 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,11 +1,27 @@ pkgbase = python-pytest pkgdesc = Simple powerful testing with Python - pkgver = 7.4.4 + pkgver = 8.1.1 pkgrel = 1 epoch = 1 url = https://pytest.org/ arch = any license = MIT + checkdepends = python-argcomplete + checkdepends = python-attrs + checkdepends = python-hypothesis + checkdepends = python-nose + checkdepends = python-pygments + checkdepends = python-requests + checkdepends = python-xmlschema + checkdepends = lsof + checkdepends = python-decorator + checkdepends = python-docutils + checkdepends = python-exceptiongroup + checkdepends = python-jinja + checkdepends = python-numpy + checkdepends = python-pexpect + checkdepends = python-pytest-xdist + checkdepends = python-twisted makedepends = git makedepends = python-build makedepends = python-installer @@ -15,7 +31,7 @@ pkgbase = python-pytest depends = python-iniconfig depends = python-packaging depends = python-pluggy - source = git+https://github.com/pytest-dev/pytest.git#tag=7.4.4 - b2sums = 1af884d4b31a00565675e103befa16d5f4218abcd693893f5ceeb46eb9498d108a4bb8100244dca57fccc7fe03a5d75d8c6436a02e66265ac53ef0004949b5b9 + source = git+https://github.com/pytest-dev/pytest.git#tag=8.1.1 + b2sums = 4a06c96558620aa15681052ce67a06921f65aa5cd6e064545b0472f1264d4cbd1e73ed39f38d293053816d9c7d1e175de542b2d5e7f748d8be7e6ddb92f4ec88 pkgname = python-pytest diff --git a/PKGBUILD b/PKGBUILD index 6141392..b278fe7 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,7 @@ pkgname=python-pytest _name=${pkgname#python-} -pkgver=7.4.4 +pkgver=8.1.1 pkgrel=1 epoch=1 pkgdesc="Simple powerful testing with Python" @@ -20,38 +20,38 @@ makedepends=( 'python-setuptools-scm' 'python-wheel' ) -#checkdepends=( -# 'python-argcomplete' -# 'python-attrs' -# 'python-hypothesis' -# 'python-nose' -# 'python-pygments' -# 'python-requests' -# 'python-xmlschema' -# # Unlisted, but actually used. Check again after a while: -# 'lsof' -# 'python-decorator' -# 'python-docutils' -# 'python-exceptiongroup' -# 'python-jinja' -# 'python-numpy' -# 'python-pexpect' -# 'python-pytest-xdist' -# 'python-twisted' -#) +checkdepends=( + 'python-argcomplete' + 'python-attrs' + 'python-hypothesis' + 'python-nose' + 'python-pygments' + 'python-requests' + 'python-xmlschema' + # Unlisted, but actually used. Check again after a while: + 'lsof' + 'python-decorator' + 'python-docutils' + 'python-exceptiongroup' + 'python-jinja' + 'python-numpy' + 'python-pexpect' + 'python-pytest-xdist' + 'python-twisted' +) source=("git+https://github.com/$_name-dev/$_name.git#tag=$pkgver") -b2sums=('1af884d4b31a00565675e103befa16d5f4218abcd693893f5ceeb46eb9498d108a4bb8100244dca57fccc7fe03a5d75d8c6436a02e66265ac53ef0004949b5b9') +b2sums=('4a06c96558620aa15681052ce67a06921f65aa5cd6e064545b0472f1264d4cbd1e73ed39f38d293053816d9c7d1e175de542b2d5e7f748d8be7e6ddb92f4ec88') build() { cd "$_name" python -m build --wheel --skip-dependency-check --no-isolation } -#check() { -# cd "$_name" -# # https://github.com/pytest-dev/pytest/issues/10042 -# PYTHONPATH="$PWD/src:$PYTHONPATH" pytest -o xfail_strict=False -#} +check() { + cd "$_name" + # https://github.com/pytest-dev/pytest/issues/10042 + PYTHONPATH="$PWD/src:$PYTHONPATH" pytest -o xfail_strict=False +} package() { cd "$_name"