wok annotate python-routes/receipt @ rev 25438

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 01 11:12:31 2022 +0000 (21 months ago)
parents 076f424196b2
children
rev   line source
taziden@3777 1 # SliTaz package receipt.
taziden@3777 2
taziden@3777 3 PACKAGE="python-routes"
Hans-G?nter@25234 4 VERSION="2.5.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@25234 11 REPOLOGY="python:routes"
Hans-G?nter@23556 12
taziden@3777 13 SOURCE="Routes"
taziden@3777 14 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23556 15 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
taziden@3777 16
pascal@15376 17 DEPENDS="python"
pascal@21582 18 BUILD_DEPENDS="python python-dev python-setuptools"
pascal@15376 19
Hans-G?nter@23556 20 HOST_ARCH="i486 arm"
Hans-G?nter@23556 21
pascal@24383 22 # What is the latest version available today?
pascal@24288 23 current_version()
pascal@24288 24 {
pascal@24383 25 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||;q"
pascal@24288 26 }
pascal@24288 27
pascal@24288 28 # Rules to configure and make the package.
taziden@3777 29 compile_rules()
taziden@3777 30 {
pascal@15376 31 python setup.py install --root=$DESTDIR
taziden@3777 32 }
taziden@3777 33
taziden@3777 34 # Rules to gen a SliTaz package suitable for Tazpkg.
taziden@3777 35 genpkg_rules()
taziden@3777 36 {
Hans-G?nter@25234 37 cook_copy_folders lib
taziden@3777 38 }