# Description: lib for process and system monitoring in Python # URL: https://github.com/giampaolo/psutil # Maintainer: Chris Farrell, timcowchip at gmail dot com # Depends on: python3 python3-setuptools name=python3-psutil version=5.6.1 release=1 source=('https://github.com/giampaolo/psutil/archive/release-5.6.1.tar.gz' 'fix_test_disk_io_counters_sysfs.patch') build() { cd psutil-release-$version patch -p1 -i $SRC/fix_test_disk_io_counters_sysfs.patch python3 setup.py build --build-lib=build/python \ install --root="$PKG" --optimize=1 install -D -m 644 LICENSE "$PKG/"usr/share/licenses/$pkgname/LICENSE }