SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "python-pyte"

# SliTaz package receipt.

PACKAGE="python-pyte"
SOURCE="pyte"
VERSION="0.5.1"
CATEGORY="development"
SHORT_DESC="Simple VTXXX-compatible terminal emulator."
MAINTAINER="paul@slitaz.org"
LICENSE="LGPL3"
TARBALL="$SOURCE-$VERSION.tar.gz"
WEB_SITE="http://pyte.readthedocs.org/en/latest/"
WGET_URL="https://pypi.python.org/packages/source/p/$SOURCE/$TARBALL"

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

# What is the latest version available today?
current_version()
{
    wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \
    sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;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 (Wed Jun 26 15:35:30 2024)