# Maintainer: Willow Barraco <contact@willowbarraco.fr>
pkgname=py3-aiohttp-oauthlib
pkgver=0.1.0
pkgrel=0
pkgdesc="oauthlib for aiohttp clients"
url="https://git.sr.ht/~whynothugo/aiohttp-oauthlib"
options="!check" # No tests
arch="noarch"
license="ISC"
depends="py3-aiohttp py3-oauthlib"
makedepends="
	py3-gpep517
	py3-setuptools
	py3-wheel
	"
subpackages="$pkgname-pyc"
source="https://pypi.python.org/packages/source/a/aiohttp-oauthlib/aiohttp-oauthlib-$pkgver.tar.gz"
builddir="$srcdir"/aiohttp-oauthlib-$pkgver

build() {
	gpep517 build-wheel \
		--wheel-dir .dist \
		--output-fd 3 3>&1 >&2
}

package() {
	python3 -m installer -d "$pkgdir" \
		.dist/*.whl
}

sha512sums="
7cb9c05ea14b65a7ab371742d92c9e8bb12dc802e37263ec5d74bf69d273c2e431f1510768fd83a1057f64c0e3421628907ce247b34c31f6a449b88c8a27a715  aiohttp-oauthlib-0.1.0.tar.gz
"
