wok-current annotate python-routes/receipt @ rev 24660
updated igmpproxy (0.2.1 -> 0.3)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 10:09:19 2022 +0100 (2022-03-11) |
parents | 1df6fa555414 |
children | 8a0e15bddf34 |
rev | line source |
---|---|
taziden@3777 | 1 # SliTaz package receipt. |
taziden@3777 | 2 |
taziden@3777 | 3 PACKAGE="python-routes" |
Hans-G?nter@23556 | 4 VERSION="2.4.1" |
taziden@3777 | 5 CATEGORY="development" |
Hans-G?nter@23556 | 6 TAGS="python" |
Hans-G?nter@23556 | 7 SHORT_DESC="Routing Recognition and Generation Tools." |
taziden@3777 | 8 MAINTAINER="taziden@slitaz.org" |
pascal@15376 | 9 LICENSE="BSD" |
Hans-G?nter@23556 | 10 WEB_SITE="https://pypi.org/project/Routes" |
Hans-G?nter@23556 | 11 |
taziden@3777 | 12 SOURCE="Routes" |
taziden@3777 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23556 | 14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
taziden@3777 | 15 |
pascal@15376 | 16 DEPENDS="python" |
pascal@21582 | 17 BUILD_DEPENDS="python python-dev python-setuptools" |
pascal@15376 | 18 |
Hans-G?nter@23556 | 19 HOST_ARCH="i486 arm" |
Hans-G?nter@23556 | 20 |
pascal@24383 | 21 # What is the latest version available today? |
pascal@24288 | 22 current_version() |
pascal@24288 | 23 { |
pascal@24383 | 24 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||;q" |
pascal@24288 | 25 } |
pascal@24288 | 26 |
pascal@24288 | 27 # Rules to configure and make the package. |
taziden@3777 | 28 compile_rules() |
taziden@3777 | 29 { |
pascal@15376 | 30 python setup.py install --root=$DESTDIR |
taziden@3777 | 31 } |
taziden@3777 | 32 |
taziden@3777 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
taziden@3777 | 34 genpkg_rules() |
taziden@3777 | 35 { |
Hans-G?nter@23556 | 36 cp -a $install/usr $fs |
taziden@3777 | 37 } |