wok-6.x view python-routes/receipt @ rev 25356
updated tig (2.5.1 -> 2.5.6)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 27 06:32:16 2022 +0100 (2022-07-27) |
parents | 076f424196b2 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-routes"
4 VERSION="2.5.1"
5 CATEGORY="development"
6 TAGS="python"
7 SHORT_DESC="Routing Recognition and Generation Tools."
8 MAINTAINER="taziden@slitaz.org"
9 LICENSE="BSD"
10 WEB_SITE="https://pypi.org/project/Routes"
11 REPOLOGY="python:routes"
13 SOURCE="Routes"
14 TARBALL="$SOURCE-$VERSION.tar.gz"
15 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
17 DEPENDS="python"
18 BUILD_DEPENDS="python python-dev python-setuptools"
20 HOST_ARCH="i486 arm"
22 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||;q"
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 python setup.py install --root=$DESTDIR
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cook_copy_folders lib
38 }