blob: 35f0dec94b6f942be45ab7ac19a31c6a9dd21bf2 (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=py3-psutil
_pkgname=${pkgname#py3-}
pkgver=5.6.5
pkgrel=0
pkgdesc="Process and system utilities"
url="https://pypi.org/project/psutil/"
arch="all"
options="!check" # Requires itself to be installed first
license="BSD-3-Clause"
depends="python3"
makedepends="python3-dev utmps-dev"
subpackages=""
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
utmpx.patch
"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
LIBS="-lutmps -lskarnet" python3 setup.py build
}
package() {
mkdir -p "$pkgdir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="037b1501b686b7101be4180c8698b09d20d4260962a88f0c437ff558d91c405f56eae186c9d55c1893c612c4534093ab26e6943f0ed56db69e343c5c0317be1b psutil-5.6.5.tar.gz
5b0eea07856afeb0eff3268dc78bd3daf3491022e8a08c422db3eaad1b5e0da71429fe9e2e4b23f3eabf9669e7e4fb5a187c96aedbfe994692bb3e5a98fe2fc2 utmpx.patch"
|