wok-6.x view python-websocket-client/receipt @ rev 20457
Add python-websocket-client
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 09 18:50:30 2018 +0200 (2018-10-09) |
parents | |
children | 814362194a8d |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-websocket-client"
4 SOURCE="websocket_client"
5 VERSION="0.53.0"
6 CATEGORY="development"
7 SHORT_DESC="WebSocket client for Python. hybi13 is supported."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="LGPL2.1"
10 WEB_SITE="https://github.com/websocket-client/websocket-client.git"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="https://files.pythonhosted.org/packages/fb/1f/9acd71b77e66fafb19cfb023e50cbb7ed2c3be3c72db999162bd36c518c4/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="setuptools"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py install --prefix=/usr --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $install/usr/share/doc
27 cp $src/README* $install/usr/share/doc
28 cp -a $install/usr $fs/
29 }