ayaports/user/py3-slack-sdk/APKBUILD

29 lines
910 B
Text
Raw Normal View History

2023-01-10 19:12:28 +00:00
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
2021-11-30 21:44:44 +00:00
2023-01-11 13:23:51 +00:00
pkgname=py3-slack-sdk
_pyname="slack_sdk"
2023-04-01 13:18:02 +00:00
pkgver=3.20.2
2021-11-30 21:44:44 +00:00
pkgrel=0
2023-05-07 22:41:06 +00:00
arch="!armv7 noarch"
2023-01-11 13:23:51 +00:00
pkgdesc="The Slack API Platform SDK for Python"
2021-11-30 21:44:44 +00:00
url="https://pypi.python.org/project/$_pyname"
license="MIT"
2023-01-11 13:23:51 +00:00
depends='python3 py3-aiohttp py3-aiodns'
2021-11-30 21:44:44 +00:00
makedepends='py3-setuptools'
2023-01-11 13:23:51 +00:00
checkdepends="py3-flask py3-flask-sockets py3-moto"
options="!check" # No testsuite
2023-01-10 19:12:28 +00:00
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
2021-11-30 21:44:44 +00:00
builddir="$srcdir"/$_pyname-$pkgver
build() {
2023-01-10 19:12:28 +00:00
python3 setup.py build
2021-11-30 21:44:44 +00:00
}
package() {
2023-01-10 19:12:28 +00:00
python3 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build
2021-11-30 21:44:44 +00:00
}
sha512sums="
2023-04-01 13:18:02 +00:00
5eae6ecb8f04ebe8cb6ebda0111376e666a7c1b476c91b51b6a7daa3b7f38384c20350f65016fcdfc316f4a3ee97fd6ad26520a889fa89f9f6be27fe7f632418 py3-slack-sdk-3.20.2.tar.gz
2021-11-30 21:44:44 +00:00
"