wok annotate python-websocket-client/receipt @ rev 22332
updated ziproxy (3.2.1 -> 3.3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Nov 15 14:49:02 2019 +0100 (2019-11-15) |
parents | c344508ff4eb |
children | 50e99d67d87c |
rev | line source |
---|---|
pascal@20457 | 1 # SliTaz package receipt. |
pascal@20457 | 2 |
pascal@20457 | 3 PACKAGE="python-websocket-client" |
pascal@20457 | 4 SOURCE="websocket_client" |
pascal@20457 | 5 VERSION="0.53.0" |
pascal@20457 | 6 CATEGORY="development" |
pascal@20457 | 7 SHORT_DESC="WebSocket client for Python. hybi13 is supported." |
pascal@20457 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20457 | 9 LICENSE="LGPL2.1" |
pascal@20457 | 10 WEB_SITE="https://github.com/websocket-client/websocket-client.git" |
pascal@20457 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20457 | 12 WGET_URL="https://files.pythonhosted.org/packages/fb/1f/9acd71b77e66fafb19cfb023e50cbb7ed2c3be3c72db999162bd36c518c4/$TARBALL" |
pascal@20457 | 13 |
pascal@20457 | 14 DEPENDS="python" |
pascal@21582 | 15 BUILD_DEPENDS="python-setuptools" |
pascal@20457 | 16 |
pascal@20457 | 17 # Rules to configure and make the package. |
pascal@20457 | 18 compile_rules() |
pascal@20457 | 19 { |
pascal@20457 | 20 python setup.py install --prefix=/usr --root=$DESTDIR |
pascal@20457 | 21 } |
pascal@20457 | 22 |
pascal@20457 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20457 | 24 genpkg_rules() |
pascal@20457 | 25 { |
pascal@20457 | 26 mkdir -p $install/usr/share/doc |
pascal@20457 | 27 cp $src/README* $install/usr/share/doc |
pascal@20457 | 28 cp -a $install/usr $fs/ |
pascal@20457 | 29 } |