wok-current view python-websocket-client/receipt @ rev 23702
Up tazlito (525)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 28 07:57:17 2020 +0000 (2020-04-28) |
parents | 814362194a8d |
children | 1df6fa555414 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-websocket-client"
4 VERSION="0.57.0"
5 CATEGORY="development"
6 SHORT_DESC="WebSocket client for Python. hybi13 is supported."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://pypi.org/project/websocket_client/"
11 SOURCE="websocket_client"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
15 DEPENDS="python"
16 BUILD_DEPENDS="python-setuptools"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 python setup.py install --prefix=/usr --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $install/usr/share/doc
29 cp $src/README* $install/usr/share/doc
30 cp -a $install/usr $fs/
31 }