# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-async-timeout
_pkgname=async-timeout
pkgver=2.0.0
pkgrel=0
pkgdesc="Timeout context manager for asyncio programs"
url="https://pypi.python.org/pypi/async_timeout"
arch="noarch"
license="Apache-2.0"
depends="python3"
makedepends="python3-dev"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build
}

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir"
}

sha512sums="bc5a170662083abf018ac8ecde1f8c3182c543abcd6323e565f9493cd19c703f11ab0deb9f3385f85c31977959c84d393efb3219539a90ba7ff0ba69110e8bdc  py3-async-timeout-2.0.0.tar.gz"
