author | Daniel M. Capella
<polyzen@archlinux.org> 2024-01-01 02:09:26 UTC |
committer | Daniel M. Capella
<polyzen@archlinux.org> 2024-01-01 02:09:26 UTC |
parent | 9f9253d3ebdded2cfdd8933e27ca8206fb23d560 |
.SRCINFO | +2 | -2 |
PKGBUILD | +3 | -5 |
diff --git a/.SRCINFO b/.SRCINFO index bdfe012..ffab03c 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = python-pytest pkgdesc = Simple powerful testing with Python - pkgver = 7.4.3 + pkgver = 7.4.4 pkgrel = 1 url = https://pytest.org/ arch = any @@ -30,7 +30,7 @@ pkgbase = python-pytest depends = python-iniconfig depends = python-packaging depends = python-pluggy - source = git+https://github.com/pytest-dev/pytest.git#tag=v7.4.3 + 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 9cd5dcf..a0614fd 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,7 @@ pkgname=python-pytest _name=${pkgname#python-} -pkgver=7.4.3 +pkgver=7.4.4 pkgrel=1 pkgdesc="Simple powerful testing with Python" arch=('any') @@ -38,7 +38,7 @@ checkdepends=( 'python-pytest-xdist' 'python-twisted' ) -source=("git+https://github.com/$_name-dev/$_name.git#tag=v$pkgver") +source=("git+https://github.com/$_name-dev/$_name.git#tag=$pkgver") b2sums=('SKIP') build() { @@ -48,10 +48,8 @@ build() { check() { cd "$_name" - python -m venv --system-site-packages test-env - test-env/bin/python -m installer dist/*.whl # https://github.com/pytest-dev/pytest/issues/10042 - test-env/bin/python -m pytest -o xfail_strict=False + PYTHONPATH="$PWD/src:$PYTHONPATH" pytest -o xfail_strict=False } package() {