mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
50 lines
1.1 KiB
Plaintext
50 lines
1.1 KiB
Plaintext
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
_pyname="slack_sdk"
|
|
pkgname=py3-$_pyname
|
|
pkgver=3.31.0
|
|
pkgrel=0
|
|
arch="noarch"
|
|
pkgdesc="The Slack API Platform SDK for Python"
|
|
url="https://pypi.python.org/project/slack_sdk"
|
|
license="MIT"
|
|
depends="
|
|
py3-aiohttp
|
|
py3-aiodns
|
|
"
|
|
makedepends="
|
|
py3-setuptools
|
|
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/s/slack_sdk/slack_sdk-$pkgver.tar.gz"
|
|
builddir="$srcdir"/$_pyname-$pkgver
|
|
subpackages="$pkgname-pyc"
|
|
replaces=py3-slack-sdk # Backwards compatibility
|
|
provides=py3-slack-sdk=$pkgver-r$pkgrel # Backwards compatibility
|
|
|
|
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="
|
|
d93231c4bab65ad80b146819356fab049197a2db5652a1a9a305945249f407bbbad4800a03aed7503583dcd6843813003942681efb910fe1754c9ec71510426c py3-slack_sdk-3.31.0.tar.gz
|
|
"
|