ayaports/testing/py3-slack-sdk/APKBUILD

50 lines
1 KiB
Text
Raw Normal View History

2023-08-30 17:55:45 +00:00
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=py3-slack-sdk
_pyname="slack_sdk"
pkgver=3.26.0
2023-08-30 17:55:45 +00:00
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
2023-08-30 17:55:45 +00:00
"