diff options
author | Matt Smith <mcs@darkregion.net> | 2010-11-08 21:08:35 -0600 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-11-11 12:11:18 +0000 |
commit | 1fc4b94065d7b829260ae176526b93d614cd7b48 (patch) | |
tree | 1644d0eab3590748a7b14cfaa0a2d2017042f1c2 /testing/speedometer | |
parent | c3322e6fb2fefb93fe560cb0409b9faa09d4b781 (diff) | |
download | aports-1fc4b94065d7b829260ae176526b93d614cd7b48.tar.bz2 aports-1fc4b94065d7b829260ae176526b93d614cd7b48.tar.xz |
testing/speedometer: new aport
Diffstat (limited to 'testing/speedometer')
-rw-r--r-- | testing/speedometer/APKBUILD | 34 | ||||
-rw-r--r-- | testing/speedometer/popen2-deprecated-speedometer-2.6.patch | 14 |
2 files changed, 48 insertions, 0 deletions
diff --git a/testing/speedometer/APKBUILD b/testing/speedometer/APKBUILD new file mode 100644 index 000000000..0292c1d57 --- /dev/null +++ b/testing/speedometer/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Matt Smith <mcs@darkregion.net> +# Maintainer: Matt Smith <mcs@darkregion.net> +pkgname=speedometer +pkgver=2.6 +pkgrel=0 +pkgdesc="Measure and display the rate of data across a network connection or data being stored in a file" +url="http://excess.org/speedometer/" +license="LGPL" +depends="python urwid" +makedepends="python-dev" +install= +subpackages= +source="http://excess.org/$pkgname/$pkgname-$pkgver.tar.gz + popen2-deprecated-speedometer-2.6.patch + " + +_builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + cd "$_builddir" + patch -p1 -i "$startdir"/popen2-deprecated-speedometer-2.6.patch +} + +build() { + return 0 +} + +package() { + cd "$_builddir" + install -m755 -D speedometer.py "$pkgdir"/usr/bin/speedometer +} + +md5sums="e30c46e8bce8dcf26532c7c06ecee50c speedometer-2.6.tar.gz +c60783e85e9ecf2560f5a79530687cb1 popen2-deprecated-speedometer-2.6.patch" diff --git a/testing/speedometer/popen2-deprecated-speedometer-2.6.patch b/testing/speedometer/popen2-deprecated-speedometer-2.6.patch new file mode 100644 index 000000000..4e3eba735 --- /dev/null +++ b/testing/speedometer/popen2-deprecated-speedometer-2.6.patch @@ -0,0 +1,14 @@ + +# Patch comes from upstream: +# https://excess.org/hg/speedometer/raw-rev/ccda212032d1 + +--- a/speedometer.py Wed Nov 03 17:17:27 2010 -0400 ++++ b/speedometer.py Wed Nov 03 17:21:04 2010 -0400 +@@ -18,7 +18,6 @@ + import time + import sys + import os +-import popen2 + import string + import math + import re |