SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "python-pyprotocols"

# SliTaz package receipt.

PACKAGE="python-pyprotocols"
VERSION="0.9.3"
CATEGORY="development"
SHORT_DESC="PEP 246 and a whole lot more."
MAINTAINER="pankso@slitaz.org"
LICENSE="PSL"
SOURCE="PyProtocols"
TARBALL="$SOURCE-$VERSION.tar.gz"
WEB_SITE="https://www.turbogears.org/"
WGET_URL="http://peak.telecommunity.com/dist/$TARBALL"
TAGS="python"

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

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
    sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed 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 (Mon Jul 1 15:25:36 2024)