ayaports/user/py3-slack-sdk/APKBUILD
build@apk-groulx a48eceecc6 3.17 cleanup
2023-01-11 13:23:51 +00:00

28 lines
903 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.19.5
pkgrel=0
arch="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="
ae763f4ff3438f14fcad388d3328ee83a30063c58d9e536d873edb2a949cc133fa364faeb3d9195782aff9975e11043b7aa4e43ff0cd0f85df1d2970a996fbbf py3-slack-sdk-3.19.5.tar.gz
"