SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "python-distribute"

# SliTaz package receipt.

PACKAGE="python-distribute"
VERSION="0.7.3"
CATEGORY="development"
SHORT_DESC="Easily build and distribute Python packages"
MAINTAINER="slaxemulator@gmail.com"
LICENSE="PSL"
WEB_SITE="https://pypi.python.org/pypi/distribute"
SOURCE="distribute"
TARBALL="$SOURCE-$VERSION.zip"
WGET_URL="https://pypi.python.org/packages/source/d/distribute/$TARBALL"
HOST_ARCH="i486 arm"

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

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

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

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/* $fs
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)