wok-6.x annotate python-websocket-client/receipt @ rev 24731
updated libdvdread and libdvdread-dev (6.0.2 -> 6.1.2)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 15 17:30:53 2022 +0100 (2022-03-15) |
parents | 1df6fa555414 |
children | c0f79eae8eb7 |
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@24383 | 18 # What is the latest version available today? |
pascal@24288 | 19 current_version() |
pascal@24288 | 20 { |
pascal@24383 | 21 wget -O - $WEB_SITE 2>/dev/null | sed "/${SOURCE/_/-} [0-9]/!d;s|.*${SOURCE/_/-} ||;s|<.*||;q" |
pascal@24288 | 22 } |
pascal@24288 | 23 |
pascal@20457 | 24 # Rules to configure and make the package. |
pascal@20457 | 25 compile_rules() |
pascal@20457 | 26 { |
pascal@20457 | 27 python setup.py install --prefix=/usr --root=$DESTDIR |
pascal@20457 | 28 } |
pascal@20457 | 29 |
pascal@20457 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20457 | 31 genpkg_rules() |
pascal@20457 | 32 { |
pascal@20457 | 33 mkdir -p $install/usr/share/doc |
Hans-G?nter@23581 | 34 |
Hans-G?nter@23581 | 35 cp $src/README* $install/usr/share/doc |
Hans-G?nter@23581 | 36 cp -a $install/usr $fs/ |
pascal@20457 | 37 } |