pkgname=python-pytest pkgver=8.3.4 pkgrel=1 pkgdesc="Simple powerful testing with Python" arch=('x86_64') url="https://docs.pytest.org" license=('MIT') depends=('python-iniconfig' 'python-packaging' 'python-pluggy') makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-setuptools-scm' 'python-wheel') source=(https://files.pythonhosted.org/packages/source/p/pytest/${pkgname#*-}-${pkgver}.tar.gz) sha256sums=(965370d062bce11e73868e0335abac31b4d3de0e82f4007408d242b4f8610761) build() { cd ${pkgname#*-}-${pkgver} python3 -m build --wheel --skip-dependency-check --no-isolation } package() { cd ${pkgname#*-}-${pkgver} python3 -m installer -d ${pkgdir} dist/*.whl }