ayaports/user/py3-slack-sdk/APKBUILD

29 lines
903 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"
pkgver=3.19.5
2021-11-30 21:44:44 +00:00
pkgrel=0
2023-01-10 19:12:28 +00:00
arch="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-01-11 13:23:51 +00:00
ae763f4ff3438f14fcad388d3328ee83a30063c58d9e536d873edb2a949cc133fa364faeb3d9195782aff9975e11043b7aa4e43ff0cd0f85df1d2970a996fbbf py3-slack-sdk-3.19.5.tar.gz
2021-11-30 21:44:44 +00:00
"