wok-6.x view python-kid/receipt @ rev 25150

updated proftpd-tls (1.3.6d -> 1.3.7d)
author Hans-G?nter Theisgen
date Wed Jun 29 17:07:59 2022 +0100 (2022-06-29)
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 }