mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
36 lines
824 B
Text
36 lines
824 B
Text
# 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 --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
b399f6e1323d6ca341803ac6f1eb318bf24dc37182d0b49b89bb81b9466dd36271ad6dbb9f48ea6fa4760ee631f1482bb6f49c64f4d4520c40634089c1b64f9a flaky-3.7.0.tar.gz
|
|
"
|