aboutsummaryrefslogtreecommitdiffstats
path: root/main/speedtest-cli
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2015-04-02 07:08:11 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2015-04-02 07:08:11 +0000
commitd32c5ee3a9033f70d05781dccc35bb22c03cff98 (patch)
tree5e21a8e6cb3e281a6f5cc92aed1b829ff47ded7a /main/speedtest-cli
parentadeffb78b10890af9ee0517ef8f4ac1cee6fe6a5 (diff)
downloadaports-d32c5ee3a9033f70d05781dccc35bb22c03cff98.tar.bz2
aports-d32c5ee3a9033f70d05781dccc35bb22c03cff98.tar.xz
main/speedtest-cli: moved from main
Diffstat (limited to 'main/speedtest-cli')
-rw-r--r--main/speedtest-cli/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/main/speedtest-cli/APKBUILD b/main/speedtest-cli/APKBUILD
new file mode 100644
index 0000000000..48fa1bedae
--- /dev/null
+++ b/main/speedtest-cli/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=speedtest-cli
+pkgver=0.3.2
+pkgrel=0
+pkgdesc="Command line interface for testing internet bandwidth using speedtest.net"
+url="https://github.com/sivel/speedtest-cli"
+arch="noarch"
+license="ASL 2.0"
+depends="python"
+depends_dev="python-dev py-setuptools"
+makedepends="$depends_dev"
+install=""
+subpackages=""
+source="https://github.com/sivel/$pkgname/archive/v$pkgver.zip"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+build() {
+ cd "$_builddir"
+ python setup.py build || return 1
+}
+
+package() {
+ cd "$_builddir"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+ install -Dm755 speedtest_cli.py "$pkgdir"/usr/bin/speedtest-cli
+}
+
+md5sums="6c01ebfaf12e246dea5cc38ae0fa2080 v0.3.2.zip"
+sha256sums="65ff8b792660f5c30734de5e7b04fd5abd2aa9223f25fdfdc39e039594448f12 v0.3.2.zip"
+sha512sums="1fe8d8c5a45abc5d3a631ae1c894cfcdadeeb60a4ce98d99763af452dc715b8d057a584eda8c326dab13b461625280a4d865f1c0556a065ecabdfbe114ba18c1 v0.3.2.zip"