# Maintainer: robertfoster _name=timeout-decorator pkgname=python-${_name} pkgver=0.5.0 pkgrel=3 pkgdesc="Timeout decorator for Python" arch=('i686' 'x86_64' 'armv6') depends=('python') makedepends=('python-setuptools') url="https://github.com/pnpnpn/timeout-decorator" license=('MIT') options=(!emptydirs) source=("https://files.pythonhosted.org/packages/source/t/${_name}/${_name}-$pkgver.tar.gz") build() { cd "$srcdir/${pkgname#python-}-$pkgver" python setup.py build } package() { cd "$srcdir/${pkgname#python-}-$pkgver" python setup.py install \ --root="$pkgdir" \ --optimize=1 } md5sums=('8545649e70b3ca43bcff11f08a996c3e')