diff options
author | Ćukasz Jendrysik <scadu@yandex.com> | 2017-05-15 23:05:30 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-05-16 18:23:44 +0200 |
commit | f6e1bd3c86d2ad22d0842f70e5c0360a569441af (patch) | |
tree | f83862aca0a50482088e98cbf42ce323c29959c9 /community/glances | |
parent | 6b711aaa81a9f16d46f61847e8d53f292c7b15a8 (diff) | |
download | aports-f6e1bd3c86d2ad22d0842f70e5c0360a569441af.tar.bz2 aports-f6e1bd3c86d2ad22d0842f70e5c0360a569441af.tar.xz |
community/glances: add depends on py-setuptools and modernize abuild
Currently glances does not even start due to missing pkg_resources
Diffstat (limited to 'community/glances')
-rw-r--r-- | community/glances/APKBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/community/glances/APKBUILD b/community/glances/APKBUILD index 8fa7ea6e5f..76bfd987d5 100644 --- a/community/glances/APKBUILD +++ b/community/glances/APKBUILD @@ -4,12 +4,12 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=glances pkgver=2.7.1 -pkgrel=0 +pkgrel=1 pkgdesc="A CLI curses based monitoring tool" url="http://nicolargo.github.com/glances/" arch="noarch" license="LGPL3+" -depends="py2-psutil py2-bottle py2-snmp py2-batinfo docker-py" +depends="py2-psutil py2-bottle py2-snmp py2-batinfo docker-py py-setuptools" makedepends="python2-dev py-setuptools" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/nicolargo/$pkgname/archive/v$pkgver.tar.gz" @@ -17,16 +17,16 @@ builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" - python2 setup.py build || return 1 + python2 setup.py build } package() { cd "$builddir" - python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 + python2 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 || return 1 + "$pkgdir"/usr/share/doc/$pkgname/images } md5sums="312a6488549abfa9ec870c95dc8b7f1b glances-2.7.1.tar.gz" |