diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2018-09-02 19:39:39 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-09-03 10:18:41 +0000 |
commit | 988a77b8b148ea7405b066dd6487028a99d19910 (patch) | |
tree | d3d2fb8cde1f68084c14e09960489c77470e348e /community/glances | |
parent | b95aa893a33a533846930768bcb2718d3990375e (diff) | |
download | aports-988a77b8b148ea7405b066dd6487028a99d19910.tar.bz2 aports-988a77b8b148ea7405b066dd6487028a99d19910.tar.xz |
community/glances: upgrade to 3.0
Diffstat (limited to 'community/glances')
-rw-r--r-- | community/glances/APKBUILD | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/community/glances/APKBUILD b/community/glances/APKBUILD index ae5a1d7ab9..b2c55fde67 100644 --- a/community/glances/APKBUILD +++ b/community/glances/APKBUILD @@ -3,14 +3,14 @@ # Contributor: Francesco Colista <fcolista@alpinelinux.org> # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=glances -pkgver=2.11.1 +pkgver=3.0 pkgrel=0 pkgdesc="A CLI curses based monitoring tool" url="http://nicolargo.github.com/glances/" arch="noarch" license="LGPL-3.0-or-later" -depends="py2-psutil py2-bottle py2-snmp py2-batinfo docker-py py-setuptools" -makedepends="python2-dev py-setuptools" +depends="py3-psutil py3-bottle py3-snmp py3-batinfo docker-py py3-setuptools" +makedepends="python3-dev py3-setuptools" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/nicolargo/$pkgname/archive/v$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" @@ -18,21 +18,21 @@ options="!check" # tests fail on builder infra due to env. limitations build() { cd "$builddir" - python2 setup.py build + python3 setup.py build } check() { cd "$builddir" - python2 unitest.py + python3 unitest.py } package() { cd "$builddir" - python2 setup.py install --prefix=/usr --root="$pkgdir" + python3 setup.py install --prefix=/usr --root="$pkgdir" # Remove images and HTML doc depending on those rm -rf "$pkgdir"/usr/share/doc/$pkgname/$pkgname-doc.html \ "$pkgdir"/usr/share/doc/$pkgname/images } -sha512sums="244e536faea8173c0c06a51d60ae6804021632336f7c37d61aebc8852ce76e27f9b8f52fac514b7d32a77cdceffb8a0cdaa64af4e46d8a641d2312ffbda2b2e2 glances-2.11.1.tar.gz" +sha512sums="3f63ee11a6ea2cad17256cdb6ed8c7e09b1c892e8b0bdac959a8a319efe36ddb625cd6fc45409d07d6d160fd26e2e5d5a73c4e84ab71399d5aa5ddc7c7897e4c glances-3.0.tar.gz" |