aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-flaky/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-flaky/APKBUILD')
-rw-r--r--community/py3-flaky/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/py3-flaky/APKBUILD b/community/py3-flaky/APKBUILD
new file mode 100644
index 0000000000..1b34575ab2
--- /dev/null
+++ b/community/py3-flaky/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=py3-flaky
+pkgver=3.7.0
+pkgrel=1
+pkgdesc="Plugin for nose or pytest that automatically reruns flaky tests"
+url="https://github.com/box/flaky"
+arch="noarch"
+license="Apache-2.0"
+depends="python3"
+makedepends="py3-setuptools"
+checkdepends="
+ py3-genty
+ py3-mock
+ py3-nose
+ py3-pytest
+ "
+source="https://pypi.python.org/packages/source/f/flaky/flaky-$pkgver.tar.gz"
+options="!check" # Broken
+builddir="$srcdir/flaky-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ pytest
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="b399f6e1323d6ca341803ac6f1eb318bf24dc37182d0b49b89bb81b9466dd36271ad6dbb9f48ea6fa4760ee631f1482bb6f49c64f4d4520c40634089c1b64f9a flaky-3.7.0.tar.gz"