void-packages/srcpkgs/python-flaky/template

27 lines
756 B
Bash

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