wok-6.x annotate python-pybluez/receipt @ rev 24951
nagios-plugins: removed patch
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 23 10:41:57 2022 +0100 (2022-04-23) |
parents | 1df6fa555414 |
children |
rev | line source |
---|---|
pankso@5669 | 1 # SliTaz package receipt. |
pankso@5669 | 2 |
pankso@5669 | 3 PACKAGE="python-pybluez" |
Hans-G?nter@23536 | 4 VERSION="0.23" |
pankso@5669 | 5 CATEGORY="development" |
pankso@5669 | 6 SHORT_DESC="Python wrappers around system Bluetooth." |
pankso@5669 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15378 | 8 LICENSE="GPL" |
Hans-G?nter@23536 | 9 WEB_SITE="https://pypi.org/project/PyBluez/" |
Hans-G?nter@23536 | 10 |
Hans-G?nter@23536 | 11 SOURCE="PyBluez" |
pankso@5669 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23536 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/P/$SOURCE/$TARBALL" |
pankso@5669 | 14 |
Hans-G?nter@23536 | 15 DEPENDS="bluez python" |
Hans-G?nter@23536 | 16 BUILD_DEPENDS="$DEPENDS bluez-dev python-dev python-setuptools" |
pascal@15378 | 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|<.*||" |
pascal@24288 | 22 } |
pascal@24288 | 23 |
pankso@5669 | 24 # Rules to configure and make the package. |
pankso@5669 | 25 compile_rules() |
pankso@5669 | 26 { |
pankso@5669 | 27 python setup.py build && |
pascal@15378 | 28 python setup.py install --root=$DESTDIR |
pankso@5669 | 29 } |
pankso@5669 | 30 |
pankso@5669 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@5669 | 32 genpkg_rules() |
pankso@5669 | 33 { |
Hans-G?nter@23536 | 34 cp -a $install/usr $fs |
pankso@5669 | 35 } |