wok view python-kid/receipt @ rev 25686
Use System category for pm-suspend entry
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Apr 06 12:03:22 2024 +0200 (7 months ago) |
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 }