void-packages/srcpkgs/python-flaky/template
2019-12-23 18:05:00 +01:00

26 lines
757 B
Bash

# Template file for 'python-flaky'
pkgname=python-flaky
version=3.6.1
revision=2
archs=noarch
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="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://github.com/box/flaky"
distfiles="${PYPI_SITE}/f/flaky/flaky-${version}.tar.gz"
checksum=8cd5455bb00c677f787da424eaf8c4a58a922d0e97126d3085db5b279a98b698
python3-flaky_package() {
archs=noarch
depends="python3"
pycompile_module="flaky"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}