ayaports/user/py3-slack-sdk/APKBUILD

28 lines
910 B
Text

# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=py3-slack-sdk
_pyname="slack_sdk"
pkgver=3.20.2
pkgrel=0
arch="!armv7 noarch"
pkgdesc="The Slack API Platform SDK for Python"
url="https://pypi.python.org/project/$_pyname"
license="MIT"
depends='python3 py3-aiohttp py3-aiodns'
makedepends='py3-setuptools'
checkdepends="py3-flask py3-flask-sockets py3-moto"
options="!check" # No testsuite
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir"/$_pyname-$pkgver
build() {
python3 setup.py build
}
package() {
python3 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build
}
sha512sums="
5eae6ecb8f04ebe8cb6ebda0111376e666a7c1b476c91b51b6a7daa3b7f38384c20350f65016fcdfc316f4a3ee97fd6ad26520a889fa89f9f6be27fe7f632418 py3-slack-sdk-3.20.2.tar.gz
"