SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "python-kid"

# SliTaz package receipt.

PACKAGE="python-kid"
VERSION="0.9.6"
CATEGORY="development"
SHORT_DESC="Pythonic, XML-based Templating."
MAINTAINER="pankso@slitaz.org"
LICENSE="MIT"
SOURCE="kid"
TARBALL="$SOURCE-$VERSION.tar.gz"
WEB_SITE="https://pypi.python.org/pypi/kid/"
WGET_URL="https://pypi.python.org/packages/source/k/kid/$TARBALL"
TAGS="python"
HOST_ARCH="i486 arm"

DEPENDS="python"
BUILD_DEPENDS="python python-dev python-setuptools"

# What is the latest version available today?
current_version()
{
    wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \
    sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q"
}

# Rules to configure and make the package.
compile_rules()
{
    python setup.py install --root=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/usr $fs
}

6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)