From 19412e09fba02190eeaf83200deb30ae167edb56 Mon Sep 17 00:00:00 2001
From: Leonardo Arena <rnalrd@alpinelinux.org>
Date: Sat, 30 Dec 2017 12:42:31 +0000
Subject: [PATCH] testing/py-codecov: install versioned binary

---
 testing/py-codecov/APKBUILD | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/testing/py-codecov/APKBUILD b/testing/py-codecov/APKBUILD
index 85454f818307..00dc052c390a 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"
-- 
GitLab