aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2015-10-07 02:32:59 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2015-10-07 02:32:59 +0200
commit1a22e8e6faeae22734a828fd1bd374963e3be1ef (patch)
tree5be43a51b46dc0ae697543e6d4d33cfc4a6bc41d /testing
parent90678d9ab803b9eeb095c97fdc5c00d6aa1617bc (diff)
downloadaports-1a22e8e6faeae22734a828fd1bd374963e3be1ef.tar.bz2
aports-1a22e8e6faeae22734a828fd1bd374963e3be1ef.tar.xz
testing/glances: upgrade to 2.5
Diffstat (limited to 'testing')
-rw-r--r--testing/glances/APKBUILD19
1 files changed, 12 insertions, 7 deletions
diff --git a/testing/glances/APKBUILD b/testing/glances/APKBUILD
index a8f529c585..cd36045d66 100644
--- a/testing/glances/APKBUILD
+++ b/testing/glances/APKBUILD
@@ -1,17 +1,18 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=glances
-pkgver=2.0
+pkgver=2.5
pkgrel=0
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="python-dev py-setuptools"
-makedepends="$depends_dev"
+depends_dev=""
+makedepends="python-dev py-setuptools"
install=""
-subpackages="$pkgname-doc $pkgname-lang"
+subpackages="$pkgname-doc"
source="glances-$pkgver.tar.gz::https://github.com/nicolargo/glances/archive/v$pkgver.tar.gz"
_builddir="$srcdir"/glances-$pkgver
@@ -23,8 +24,12 @@ build() {
package() {
cd "$_builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+
+ # 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
}
-md5sums="8ecb4de894aadae70513d3dac6bc5da0 glances-2.0.tar.gz"
-sha256sums="e2332eb9b52cead8ef6c0f993547f5a59fe02446e56d6e4ce81a11f9e41adf22 glances-2.0.tar.gz"
-sha512sums="9b9620b161312269921db96ef9f76ab5ac57f07318fa137feaeabd735c7a38a46edacff0f36752e65cec004e358d36b03ba75b6a3d4af8b57dcf7020506315a1 glances-2.0.tar.gz"
+md5sums="fa2d68b408f37c5d650ea653962eef5a glances-2.5.tar.gz"
+sha256sums="352d863d115870f0823203ffe29119f3ebfa12236b76af525e920356f822cad0 glances-2.5.tar.gz"
+sha512sums="c991498d78e90c71afe7e5cd7ae9ed6c75a6cb30edb84c2246a2b61f359d5b4b1feb3e9b095c20a14632c5030e1f30d452a19ad85998661bafbdc0caddf804a8 glances-2.5.tar.gz"