void-packages/srcpkgs/python-flaky/template

27 lines
757 B
Bash

# Template file for 'python-flaky'
pkgname=python-flaky
version=3.5.3
revision=1
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=12bd5e41f372b2190e8d754b6e5829c2f11dbc764e10b30f57e59f829c9ca1da
python3-flaky_package() {
archs=noarch
depends="python3"
pycompile_module="flaky"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}