blob: 1fea8e3ac7a328e82a773b3ad69775a2bd551718 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-flaky
pkgver=3.7.0
pkgrel=3
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
"
|