mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
31 lines
892 B
Text
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
|
|
"
|