author | Daniel M. Capella
<polyzen@archlinux.org> 2024-01-29 21:08:17 UTC |
committer | Daniel M. Capella
<polyzen@archlinux.org> 2024-01-29 21:08:17 UTC |
parent | 4eb4d17984f5ba3d763075f796d43dcad7277ae7 |
.SRCINFO | +3 | -18 |
PKGBUILD | +26 | -25 |
diff --git a/.SRCINFO b/.SRCINFO index a013654..3d61d4a 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,26 +1,11 @@ pkgbase = python-pytest pkgdesc = Simple powerful testing with Python - pkgver = 8.0.0 + pkgver = 7.4.4 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 @@ -30,7 +15,7 @@ pkgbase = python-pytest depends = python-iniconfig depends = python-packaging depends = python-pluggy - source = git+https://github.com/pytest-dev/pytest.git#tag=8.0.0 + source = git+https://github.com/pytest-dev/pytest.git#tag=7.4.4 b2sums = SKIP pkgname = python-pytest diff --git a/PKGBUILD b/PKGBUILD index bbc6fb2..393ae6d 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,8 +4,9 @@ pkgname=python-pytest _name=${pkgname#python-} -pkgver=8.0.0 +pkgver=7.4.4 pkgrel=1 +epoch=1 pkgdesc="Simple powerful testing with Python" arch=('any') license=('MIT') @@ -19,25 +20,25 @@ 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=('SKIP') @@ -46,11 +47,11 @@ build() { 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"