void-packages/srcpkgs/python-flaky/template

24 lines
671 B
Bash

# Template file for 'python-flaky'
pkgname=python-flaky
version=3.4.0
revision=1
wrksrc="${pkgname/python-//}-${version}"
build_style=python-module
pycompile_modules="flaky"
hostmakedepends="python-setuptools python3-setuptools"
short_desc="Plugin for nose or py.test that automatically reruns flaky tests"
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
noarch=yes
python3-flaky_package() {
noarch=yes
pycompile_modules="flaky"
pkg_install() {
vmove usr/lib/python3*
}
}