diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-04-12 12:47:06 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-04-12 12:47:11 +0000 |
commit | 99c2221f8105374775dc9c3c76aa8cd0e1f141c3 (patch) | |
tree | 6895f6aa0dc291adf8bdde071bdcbd6179ededc7 /community/py-psutil | |
parent | 895fce1fe10e22042ff039c4be35e81cccd1cae6 (diff) | |
download | aports-99c2221f8105374775dc9c3c76aa8cd0e1f141c3.tar.bz2 aports-99c2221f8105374775dc9c3c76aa8cd0e1f141c3.tar.xz |
community/py-psutil: ugprade to 5.2.2, modernize APKBUILD
Diffstat (limited to 'community/py-psutil')
-rw-r--r-- | community/py-psutil/APKBUILD | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/community/py-psutil/APKBUILD b/community/py-psutil/APKBUILD index 18a927b1a2..66f54e44be 100644 --- a/community/py-psutil/APKBUILD +++ b/community/py-psutil/APKBUILD @@ -2,22 +2,27 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=py-psutil _pkgname=psutil -pkgver=5.2.1 +pkgver=5.2.2 pkgrel=0 pkgdesc="A cross-platform process and system utilities module for Python" url="https://github.com/giampaolo/psutil" arch="all" license="BSD" -depends="" makedepends="$depends_dev linux-headers python2-dev python3-dev" 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" +check() { + cd "$builddir" + python2 setup.py check + python3 setup.py check +} + build() { cd "$builddir" - python2 setup.py build || return 1 - python3 setup.py build || return 1 + python2 setup.py build + python3 setup.py build } package() { @@ -42,4 +47,4 @@ _py3() { _py python3 } -sha512sums="7fda5646e82cc9b13f279e318507024c68daa74b806fdc411763ae34935f2e8b44e3f3217639d85c6d43a6b862113de3694ec911773170235e21ad580ca0807a psutil-5.2.1.tar.gz" +sha512sums="df4878d03a6ff98beb611969edd5a4d704ac269d38dc286d84def3ca271936e03367241470f2a192e0d71d0f64fe1f252223b0d67e964918146334a807d1a997 psutil-5.2.2.tar.gz" |