diff --git a/srcpkgs/python-flaky/template b/srcpkgs/python-flaky/template new file mode 100644 index 00000000000..c934434cc89 --- /dev/null +++ b/srcpkgs/python-flaky/template @@ -0,0 +1,23 @@ +# 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 " +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* + } +} diff --git a/srcpkgs/python3-flaky b/srcpkgs/python3-flaky new file mode 120000 index 00000000000..f6467cfa1d3 --- /dev/null +++ b/srcpkgs/python3-flaky @@ -0,0 +1 @@ +python-flaky \ No newline at end of file