diff options
-rw-r--r-- | community/py-psutil/APKBUILD | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/community/py-psutil/APKBUILD b/community/py-psutil/APKBUILD index faa08591a5..dc47325f7e 100644 --- a/community/py-psutil/APKBUILD +++ b/community/py-psutil/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=py-psutil _pkgname=psutil -pkgver=5.4.0 +pkgver=5.4.1 pkgrel=0 pkgdesc="A cross-platform process and system utilities module for Python" url="https://github.com/giampaolo/psutil" @@ -13,17 +13,18 @@ subpackages="py3-$_pkgname:_py3 py2-$_pkgname:_py2" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" +build() { + cd "$builddir" + python2 setup.py build + python3 setup.py build +} + check() { cd "$builddir" python2 setup.py check python3 setup.py check } -build() { - cd "$builddir" - python2 setup.py build - python3 setup.py build -} package() { mkdir -p "$pkgdir" @@ -47,4 +48,4 @@ _py3() { _py python3 } -sha512sums="2a971518a7507c20885981707b6bfa608c1105503965750f7e4d9316f91cf079c5a33208bbc6134f4fcb1d581422cc72a5b119a329682441f52caca27aa65b30 psutil-5.4.0.tar.gz" +sha512sums="84d9f61cc6c51798d98ac2f727a50d85de32171645d01abf85d4f8c58bdb3b40997ab717f859de3ea21cf5b24867e1a416ee3036d6167d3fe735eca4607a110f psutil-5.4.1.tar.gz" |