aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-codecov
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2017-12-30 12:42:31 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-12-30 12:42:31 +0000
commit19412e09fba02190eeaf83200deb30ae167edb56 (patch)
tree46a23eab2529908b74595687d54cb000c6fe1bd4 /testing/py-codecov
parentbefc6b35bb7daf6c1fc67c83245da91792e945b4 (diff)
downloadaports-19412e09fba02190eeaf83200deb30ae167edb56.tar.bz2
aports-19412e09fba02190eeaf83200deb30ae167edb56.tar.xz
testing/py-codecov: install versioned binary
Diffstat (limited to 'testing/py-codecov')
-rw-r--r--testing/py-codecov/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/testing/py-codecov/APKBUILD b/testing/py-codecov/APKBUILD
index 85454f8183..00dc052c39 100644
--- a/testing/py-codecov/APKBUILD
+++ b/testing/py-codecov/APKBUILD
@@ -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"