# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=py3-psutil _pkgname=psutil pkgver=5.6.4 pkgrel=0 pkgdesc="A cross-platform process and system utilities module for Python" url="https://github.com/giampaolo/psutil" arch="all" license="BSD-3-Clause" makedepends="linux-headers python3-dev" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" replaces="py-psutil" # Backwards compatibility provides="py-psutil=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { python3 setup.py check } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="fbb2a0f4707bf9d0d9bae7ef925ea0b71fdc0c451863b24ab44b852884aa35f6cb40a880b969e2814e0e9266506ae619524291057fbc275bba2f2a402ae6e11e psutil-5.6.4.tar.gz"