aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-coveralls
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2017-12-28 07:49:18 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-12-28 07:49:34 +0000
commit28f70f47dccc346156e3025e36ea239743bb59bf (patch)
tree0dae2b345e08f1bd06cf8a05caecc73bb26957ae /testing/py-coveralls
parent31177453b771f023fb0a1dbb0edbea80eb142332 (diff)
downloadaports-28f70f47dccc346156e3025e36ea239743bb59bf.tar.bz2
aports-28f70f47dccc346156e3025e36ea239743bb59bf.tar.xz
testing/py-coveralls: install versioned binary, doesn't need setuptools
Diffstat (limited to 'testing/py-coveralls')
-rw-r--r--testing/py-coveralls/APKBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/testing/py-coveralls/APKBUILD b/testing/py-coveralls/APKBUILD
index 3a8df889b3..e4031b6c8d 100644
--- a/testing/py-coveralls/APKBUILD
+++ b/testing/py-coveralls/APKBUILD
@@ -2,13 +2,13 @@
# Maintainer:
pkgname=py-coveralls
pkgver=1.2.0
-pkgrel=0
+pkgrel=1
pkgdesc="Show coverage stats online via coveralls.io"
url="https://github.com/coveralls-clients/coveralls-python"
arch="noarch"
license="Apache2"
depends=""
-makedepends="python2-dev python3-dev py-setuptools"
+makedepends="python2-dev python3-dev"
subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3"
options="!check" #no testsuite
source="$pkgname-$pkgver.tar.gz::https://github.com/coveralls-clients/coveralls-python/archive/$pkgver.tar.gz"
@@ -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="56b6f7738558a16e227877735225890164d666e9033ed4629f043cf551dba5799fd916af69667224a5b2328ddb373e404c81a8d5e8265cf24e9e9ab82b9a147d py-coveralls-1.2.0.tar.gz"