--- PKGBUILD 2023-04-17 17:52:33.796303706 +0200 +++ PKGBUILD 2023-04-17 17:58:59.906963216 +0200 @@ -2,7 +2,7 @@ pkgname=python-engineio pkgver=4.4.0 -pkgrel=2 +pkgrel=3 pkgdesc='Python implementation of the Engine.IO realtime server' url='https://github.com/miguelgrinberg/python-engineio' arch=('any') @@ -25,12 +25,12 @@ build() { cd ${pkgname}-${pkgver} python -m build --wheel --no-isolation - make -C docs man text SPHINXBUILD=sphinx-build + PYTHONPATH="$PWD/src" make -C docs man text SPHINXBUILD=sphinx-build } check() { cd ${pkgname}-${pkgver} - PYTHONPATH=build/lib python setup.py test + PYTHONPATH=build/lib pytest -v } package() {