SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "python-extremes"

# SliTaz package receipt.

PACKAGE="python-extremes"
VERSION="1.1.1"
CATEGORY="development"
SHORT_DESC="Production-quality 'Min' and 'Max' objects (adapted from PEP 326)."
MAINTAINER="pankso@slitaz.org"
LICENSE="PSL"
SOURCE="Extremes"
TARBALL="$SOURCE-$VERSION.zip"
WEB_SITE="https://pypi.python.org/pypi/Extremes"
WGET_URL="https://pypi.python.org/packages/source/E/$SOURCE/$TARBALL"
TAGS="python"

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;/zip/!d;s|.*$SOURCE-||;s|.zip.*||;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)