33 lines
1.1 KiB
Plaintext

# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py-websocket-client
_pkgname=websocket_client
pkgver=0.35.0
pkgrel=0
pkgdesc="WebSocket client library for Python"
url="https://github.com/liris/websocket-client"
arch="noarch"
license="LGPL"
depends="python"
depends_dev=""
makedepends="$depends_dev py-setuptools py-six"
install=""
subpackages="$pkgname-doc"
source="https://files.pythonhosted.org/packages/source/w/websocket-client/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
build() {
cd "$builddir"
python setup.py build || return 1
}
package() {
cd "$builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
md5sums="37015cccff457f841c6f21bae86fa2d0 websocket_client-0.35.0.tar.gz"
sha256sums="5ac3ead091be17b680a0dda926aef1a697a2b6cf1e9ac0fbe4bffb14914c2116 websocket_client-0.35.0.tar.gz"
sha512sums="d2bfb27f1908882621db21badc9f665ed7b0c0164f47c29014fc87ae7aa52b81160c11b26dd8abd97ced5a3429a917034b1a94dfd8ecfa91637dec9d2857475a websocket_client-0.35.0.tar.gz"