wok-current annotate python-twodict/receipt @ rev 25451

Add bluez-gatttool
author Stanislas Leduc <shann@slitaz.org>
date Thu Sep 15 07:47:22 2022 +0000 (2022-09-15)
parents 1df6fa555414
children
rev   line source
Hans-G?nter@23570 1 # SliTaz package receipt.
Hans-G?nter@23570 2
Hans-G?nter@23570 3 PACKAGE="python-twodict"
Hans-G?nter@23570 4 VERSION="1.2"
Hans-G?nter@23570 5 CATEGORY="development"
Hans-G?nter@23570 6 TAGS="python"
Hans-G?nter@23570 7 SHORT_DESC="Simple two way ordered dictionary for Python."
Hans-G?nter@23570 8 MAINTAINER="maintainer@slitaz.org"
Hans-G?nter@23570 9 LICENSE="Public Domain"
Hans-G?nter@23570 10 WEB_SITE="https://pypi.org/project/twodict"
Hans-G?nter@23570 11
Hans-G?nter@23570 12 SOURCE="twodict"
Hans-G?nter@23570 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23570 14 WGET_URL="https://files.pythonhosted.org/packages/source/t/$SOURCE/$TARBALL"
Hans-G?nter@23570 15
Hans-G?nter@23570 16 DEPENDS="python"
Hans-G?nter@23570 17 BUILD_DEPENDS="python"
Hans-G?nter@23570 18
pascal@24383 19 # What is the latest version available today?
pascal@24288 20 current_version()
pascal@24288 21 {
pascal@24383 22 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||"
pascal@24288 23 }
pascal@24288 24
Hans-G?nter@23570 25 # Rules to configure and make the package.
Hans-G?nter@23570 26 compile_rules()
Hans-G?nter@23570 27 {
Hans-G?nter@23570 28 python setup.py install --root=$DESTDIR
Hans-G?nter@23570 29 }
Hans-G?nter@23570 30
Hans-G?nter@23570 31 # Rules to gen a SliTaz package suitable for Tazpkg.
Hans-G?nter@23570 32 genpkg_rules()
Hans-G?nter@23570 33 {
Hans-G?nter@23570 34 cp -a $install/usr $fs
Hans-G?nter@23570 35 }