wok-current view python-kid/receipt @ rev 24539

updated fbgrab (1.3 -> 1.5)
author Hans-G?nter Theisgen
date Wed Feb 23 15:32:13 2022 +0100 (2022-02-23)
parents 814362194a8d
children
line source
1 # SliTaz package receipt.
3 PACKAGE="python-kid"
4 VERSION="0.9.6"
5 CATEGORY="development"
6 SHORT_DESC="Pythonic, XML-based Templating."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 SOURCE="kid"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://pypi.python.org/pypi/kid/"
12 WGET_URL="https://pypi.python.org/packages/source/k/kid/$TARBALL"
13 TAGS="python"
14 HOST_ARCH="i486 arm"
16 DEPENDS="python"
17 BUILD_DEPENDS="python python-dev python-setuptools"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \
23 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q"
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 python setup.py install --root=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/usr $fs
36 }