SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "python-decoratortools"

# SliTaz package receipt.

PACKAGE="python-decoratortools"
VERSION="1.8"
CATEGORY="development"
SHORT_DESC="Class, function, and metaclass decorators"
MAINTAINER="taziden@slitaz.org"
LICENSE="PSL"
SOURCE="DecoratorTools"
TARBALL="$SOURCE-$VERSION.zip"
WEB_SITE="https://pypi.python.org/pypi/DecoratorTools"
WGET_URL="https://pypi.python.org/packages/source/D/$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)