Commit 59a9f60b authored by Mike Sullivan's avatar Mike Sullivan Committed by Leo

main/speedtest-cli: fix build by adding py3-setuptools makedepends

and modify APKBUILD
parent ada1f76f
......@@ -8,22 +8,18 @@ url="https://github.com/sivel/speedtest-cli"
arch="noarch"
license="Apache-2.0"
depends="python3"
makedepends="python3-dev"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/sivel/speedtest-cli/archive/v$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
check() {
cd "$builddir"
python3 setup.py check
}
build() {
cd "$builddir"
python3 setup.py build
}
check() {
python3 setup.py check
}
package() {
cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
install -Dm755 speedtest.py "$pkgdir"/usr/bin/speedtest-cli
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment