Commit 19412e09 authored by Leonardo Arena's avatar Leonardo Arena

testing/py-codecov: install versioned binary

parent befc6b35
......@@ -2,7 +2,7 @@
# Maintainer:
pkgname=py-codecov
pkgver=1.1.0
pkgrel=0
pkgrel=1
pkgdesc="Report uploader for Codecov"
url="https://github.com/codecov/codecov-python"
arch="noarch"
......@@ -44,6 +44,9 @@ _py() {
cd "$builddir"
$python setup.py --quiet install --prefix=/usr --root="$subpkgdir"
local file; for file in "$subpkgdir"/usr/bin/*; do
mv $file $file-$pyver
done
}
sha512sums="d113a64f668f5faaaa4b0871e532eb89632c2bebf5c443aa9519b6f58bebb5643ce77cff608ed75e0fa91e90ace182b46c32094ac424395caeaaf092d09fbe65 py-codecov-1.1.0.tar.gz"
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