aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-coveralls
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-coveralls')
-rw-r--r--community/py3-coveralls/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/py3-coveralls/APKBUILD b/community/py3-coveralls/APKBUILD
new file mode 100644
index 0000000000..1db6ce9c69
--- /dev/null
+++ b/community/py3-coveralls/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer:
+pkgname=py3-coveralls
+pkgver=1.8.2
+pkgrel=0
+pkgdesc="Show coverage stats online via coveralls.io"
+url="https://github.com/coveralls-clients/coveralls-python"
+arch="noarch"
+license="MIT"
+depends="py3-coverage py3-docopt py3-requests"
+makedepends="py3-setuptools"
+options="!check" #no testsuite
+source="$pkgname-$pkgver.tar.gz::https://github.com/coveralls-clients/coveralls-python/archive/$pkgver.tar.gz"
+builddir="$srcdir"/coveralls-python-$pkgver
+
+replaces=py-coveralls # Backwards compatibility
+provides=py-coveralls=$pkgver-r$pkgrel # Backwards compatibility
+
+build() {
+ python3 setup.py build
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="7fbfd215a07a8a0087a824f5728c6a1ec51769441633fe0f92418ca59d065384c64a611082836fc20b0236cacf7451ed63bcfd2ed2738d2e758d48dd4d5ba48d py3-coveralls-1.8.2.tar.gz"