wok annotate python-websocket-client/receipt @ rev 23696

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