SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "python-peak-rules"

# SliTaz package receipt.

PACKAGE="python-peak-rules"
VERSION="0.5a1.dev-r2713"
CATEGORY="misc"
SHORT_DESC="Generic functions and business rules support systems"
MAINTAINER="al.bobylev@gmail.com"
LICENSE="ZPL2.1"
WEB_SITE="https://pypi.python.org/pypi/PEAK-Rules"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="http://peak.telecommunity.com/snapshots/PEAK-Rules-$VERSION.tar.gz"

DEPENDS="python"
BUILD_DEPENDS="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 build &&
    python setup.py install --root=$install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/* $fs
}
6047 packages and 209931 files in current database (Mon Jul 1 15:25:36 2024)