pkgname=python-psutil pkgver=6.1.1 pkgrel=1 pkgdesc="A cross-platform process and system utilities module for Python" arch=('x86_64') url="https://github.com/giampaolo/psutil" license=('BSD-3-Clause') depends=('glibc' 'python' ) makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel' ) source=(https://github.com/giampaolo/psutil/archive/refs/tags/release-${pkgver}/${pkgname#*-}-release-${pkgver}.tar.gz) sha256sums=(8a3fad3310797351aafe6bc5872cb4795f0879ba88fc92680658293c4712befd) build() { cd ${pkgname#*-}-release-${pkgver} python3 -m build --wheel --no-isolation } package() { cd ${pkgname#*-}-release-${pkgver} python3 -m installer -d ${pkgdir} dist/*.whl }