1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/community/py3-websocket-client/APKBUILD
2021-08-06 16:33:22 +00:00

31 lines
892 B
Text

# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-websocket-client
_pkgname=websocket-client
pkgver=1.1.1
pkgrel=0
pkgdesc="WebSocket client library for Python"
url="https://github.com/liris/websocket-client"
arch="noarch"
license="BSD-3-Clause"
depends="python3 py3-six"
makedepends="py3-setuptools"
checkdepends="py3-pysocks"
source="$pkgname-$pkgver.tar.gz::https://github.com/websocket-client/websocket-client/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
7a17b0f2fab0af409d5d06471dabcf418d262e6671859a112d05a002321b9cdc9f5c9b92f66284d2542c9c94bd672f105de6a54856867580865f5e8243e489ce py3-websocket-client-1.1.1.tar.gz
"