mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 12:15:32 +03:00
31 lines
973 B
Text
31 lines
973 B
Text
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=py3-websocket-client
|
|
_pkgname=websocket_client
|
|
pkgver=0.56.0
|
|
pkgrel=3
|
|
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"
|
|
source="https://files.pythonhosted.org/packages/source/w/websocket-client/$_pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir"/$_pkgname-$pkgver
|
|
|
|
replaces="py-websocket-client" # Backwards compatibility
|
|
provides="py-websocket-client=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
check() {
|
|
python3 setup.py check
|
|
}
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="f61497b5fa6deea11d0e81c1c0d3092d1efba9bcdb3427a45f51b81059444a486a9aa6a4d046fc2aa805e855d2c8e68a4ba46669c05a45eb928251c50e2e3a50 websocket_client-0.56.0.tar.gz"
|