aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-websocket-client/APKBUILD
blob: b4720222598fa095bbe9822b8a5cfbbefbdc403c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# 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="http://pypi.python.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"