aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-12-23 07:37:24 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-12-23 07:37:24 +0000
commita0613c3f885ee85f28b10680ae3a989a3b9e77aa (patch)
tree98528a65f15743575a5561457a3aed4ec11fc141
parentd3c240e88111ffb1af05ca80a6f5712e594f23ae (diff)
downloadaports-a0613c3f885ee85f28b10680ae3a989a3b9e77aa.tar.bz2
aports-a0613c3f885ee85f28b10680ae3a989a3b9e77aa.tar.xz
main/speedtest-cli: upgrade to 1.0.1. Works with python3 now.
-rw-r--r--main/speedtest-cli/APKBUILD23
1 files changed, 11 insertions, 12 deletions
diff --git a/main/speedtest-cli/APKBUILD b/main/speedtest-cli/APKBUILD
index 81dea89fad..e71a73ddbb 100644
--- a/main/speedtest-cli/APKBUILD
+++ b/main/speedtest-cli/APKBUILD
@@ -1,31 +1,30 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=speedtest-cli
-pkgver=0.3.4
+pkgver=1.0.1
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="python2"
-depends_dev=""
-makedepends="$depends_dev python2-dev py-setuptools"
+depends="python3"
+makedepends="python3-dev"
install=""
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/sivel/speedtest-cli/archive/v$pkgver.tar.gz"
+builddir="$srcdir"/$pkgname-$pkgver
-_builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$_builddir"
- python2 setup.py build || return 1
+ cd "$builddir"
+ python3 setup.py build || return 1
}
package() {
- cd "$_builddir"
- python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
+ cd "$builddir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1
install -Dm755 speedtest_cli.py "$pkgdir"/usr/bin/speedtest-cli
}
-md5sums="45344501fab5e19492ae3ef1de4ed9ae speedtest-cli-0.3.4.tar.gz"
-sha256sums="e50646e245ea3c80c9653a532db0dbaef72f1c439330bcc22c381074c17b719d speedtest-cli-0.3.4.tar.gz"
-sha512sums="fb22ba9e17a30c172b8f751020d7117caf8b573dee112506917f24c5173e2901e0f0198b4946798daf3a27839519025f4a7f8f8942034bc19356b32d6a0f6851 speedtest-cli-0.3.4.tar.gz"
+md5sums="5ca433057ee5546716fad8a2313e9c99 speedtest-cli-1.0.1.tar.gz"
+sha256sums="3ec2e6444e309f03d5f56526e6a66e4d556bd95e470abab605ac9c71d8231bc8 speedtest-cli-1.0.1.tar.gz"
+sha512sums="f6e78945f47779dfdadc0328468f3fb20999a011da3c832cca58a4703c083f9d73ea3bd06bc85aba5cce5b63db70a6d3b496ef1037ca377e7699a6cd1e42ed24 speedtest-cli-1.0.1.tar.gz"