SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "pyvim"

# SliTaz package receipt.

PACKAGE="pyvim"
VERSION="3.0.2"
CATEGORY="development"
SHORT_DESC="Pure Python Vi Implementation."
MAINTAINER="paul@slitaz.org"
LICENSE="BSD"
WEB_SITE="https://pypi.org/project/pyvim/"

SOURCE="pyvim"
TARBALL="$SOURCE-$VERSION.tar.gz"
WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"

DEPENDS="ptpython python python-docopt python-prompt-toolkit python-pyflakes"
BUILD_DEPENDS="ptpython python python-dev python-docopt python-prompt-toolkit
    python-pyflakes python-setuptools"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/prompt-toolkit/pyvim/tags 2>/dev/null | \
    sed '/tag\//!d;s|.*tag/[A-Za-z_-]*||;s|".*||;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()
{
    cook_copy_folders    bin
    cook_copy_folders    lib
}
6011 packages and 861676 files in cooking database (Sun Jun 15 00:48:28 2025)