# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname="py3-aiofiles" _pkgname=aiofiles pkgver=0.4.0 pkgrel=0 pkgdesc="File support for asyncio" url="https://pypi.org/project/aiofiles" arch="noarch" license="Apache-2.0" depends="python3" makedepends="python3-dev py3-setuptools" source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" build() { python3 setup.py build } check() { python3 setup.py check } package() { python3 setup.py install --root="$pkgdir" --optimize=1 } sha512sums="ad41aed2151fc2adf01ddbaec7fcc772c2ee8e33609dff881d00e255412c2142b0594e70eca32e73accd120d13e1f112b20a627fae2fa343b96d18f59371c9da py3-aiofiles-0.4.0.tar.gz"