blob: f9fcfdec5b28c2c0e280e45840454eeacbbc4e95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-psutil-gns3
_pkgname=psutil
pkgver=5.6.6
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"
depends="!py3-psutil"
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="098c1172639a4d75e568fe5a0fe011cb385794497c4d30797da6a0af200f4e36f6b686e206b8b7f6427bcde21512724af6c6c32ac47737a717fe9ee023b93207 psutil-5.6.6.tar.gz"
|