diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-09-05 12:34:36 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-09-05 12:34:40 +0000 |
commit | 73d9f0a05a43a896c139ab7c22b648897dd34709 (patch) | |
tree | cc18044da1b0f4280701a8dcf96ffae6eeed1587 | |
parent | b663c88755fd0fe12e64e9562ffecc7d5fd119bb (diff) | |
download | aports-73d9f0a05a43a896c139ab7c22b648897dd34709.tar.bz2 aports-73d9f0a05a43a896c139ab7c22b648897dd34709.tar.xz |
community/glances: moved from testing, added docker support
-rw-r--r-- | community/glances/APKBUILD (renamed from testing/glances/APKBUILD) | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/testing/glances/APKBUILD b/community/glances/APKBUILD index f191a589ae..8bb6514877 100644 --- a/testing/glances/APKBUILD +++ b/community/glances/APKBUILD @@ -4,26 +4,24 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=glances pkgver=2.6.2 -pkgrel=0 +pkgrel=1 pkgdesc="A CLI curses based monitoring tool" url="http://nicolargo.github.com/glances/" arch="noarch" license="LGPL3+" -depends="py-setuptools py-psutil py-bottle py-snmp py-batinfo" -depends_dev="" +depends="py-psutil py-bottle py-snmp py-batinfo docker-py" makedepends="python-dev py-setuptools" -install="" subpackages="$pkgname-doc" source="glances-$pkgver.tar.gz::https://github.com/nicolargo/glances/archive/v$pkgver.tar.gz" -_builddir="$srcdir"/glances-$pkgver +builddir="$srcdir"/glances-$pkgver build() { - cd "$_builddir" + cd "$builddir" python setup.py build || return 1 } package() { - cd "$_builddir" + cd "$builddir" python setup.py install --prefix=/usr --root="$pkgdir" || return 1 # Remove images and HTML doc depending on those |