#!/bin/sh MAKEDEPS="python" DEPS="%deps%" PKG_VER=3.7.0 SOURCE=https://files.pythonhosted.org/packages/source/f/flaky/flaky-$PKG_VER.tar.gz DESC="Plugin for nose or pytest that automatically reruns flaky tests." build() { python setup.py build } package () { python setup.py install --root="$PKG_DEST" --optimize=1 }