# Maintainer: Antoine Martin (ayakael) # Contributor: Antoine Martin (ayakael) pkgname=py3-slack-sdk _pyname="slack_sdk" pkgver=3.26.0 pkgrel=0 arch="noarch" pkgdesc="The Slack API Platform SDK for Python" url="https://pypi.python.org/project/$_pyname" license="MIT" depends=" py3-aiohttp py3-aiodns " makedepends=" py3-setuptools py3-installer py3-wheel py3-gpep517 " checkdepends=" py3-flask py3-flask-sockets py3-moto " options="!check" # Missing checkdepend source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz" builddir="$srcdir"/$_pyname-$pkgver subpackages="$pkgname-pyc" build() { gpep517 build-wheel \ --wheel-dir dist \ --output-fd 3 3>&1 >&2 } check() { PYTHONPATH="$builddir" pytest -v } package() { python3 -m installer -d "$pkgdir" \ dist/*.whl } sha512sums=" 26cdd1a4531900970e9095354751ec563ac2fbd0b2e38b753e6ab9145265f7f0d89c51d15a1051283e622a2d3a07243bf2bad2411037b82b07e77b1b9e482fa0 py3-slack-sdk-3.26.0.tar.gz "