SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "python-prompt-toolkit"

# SliTaz package receipt.

PACKAGE="python-prompt-toolkit"
VERSION="2.0.10"
CATEGORY="development"
SHORT_DESC="Library for building powerful interactive command lines in Python."
LICENSE="BSD"
MAINTAINER="paul@slitaz.org"
WEB_SITE="https://github.com/jonathanslenders/python-prompt-toolkit"

SOURCE="prompt_toolkit"
TARBALL="$SOURCE-$VERSION.tar.gz"
WGET_URL="https://files.pythonhosted.org/packages/source/p/$SOURCE/$TARBALL"

DEPENDS="python python-pygments python-six python-wcwidth"
BUILD_DEPENDS="python-dev python-pygments python-setuptools python-six python-wcwidth"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;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)