SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "tinypy"

# SliTaz package receipt.

PACKAGE="tinypy"
VERSION="1.1"
CATEGORY="development"
SHORT_DESC="A minimalist implementation of Python."
MAINTAINER="pankso@slitaz.org"
LICENSE="MIT"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.tinypy.org/"
WGET_URL="https://github.com/philhassey/tinypy/archive/refs/tags/$VERSION.tar.gz"
TAGS="python"

DEPENDS="glibc-base"
BUILD_DEPENDS="python-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/philhassey/tinypy/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    python setup.py linux
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin
    cp -a $src/build/tinypy $fs/usr/bin
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)