# Template file for 'python-flaky'
pkgname=python-flaky
version=3.4.0
revision=3
noarch=yes
wrksrc="${pkgname/python-//}-${version}"
build_style=python-module
pycompile_module="flaky"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Plugin for nose/py.test that automatically reruns flaky tests (Python2)"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/box/flaky"
distfiles="${PYPI_SITE}/f/flaky/flaky-${version}.tar.gz"
checksum=4ad7880aef8c35a34ddb394d4fa33047765bca1e3d67d182bf6eba9c8eabf3a2

python3-flaky_package() {
	noarch=yes
	depends="python3"
	pycompile_module="flaky"
	short_desc="${short_desc/Python2/Python3}"
	pkg_install() {
		vmove usr/lib/python3*
	}
}
