SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "python-pyrex"

# SliTaz package receipt.

PACKAGE="python-pyrex"
VERSION="0.9.9"
CATEGORY="development"
SHORT_DESC="Language for Writing Python Extension Modules."
MAINTAINER="pankso@slitaz.org"
LICENSE="Apache"
SOURCE="Pyrex"
TARBALL="$SOURCE-$VERSION.tar.gz"
WEB_SITE="https://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/"
WGET_URL="$WEB_SITE$TARBALL"
TAGS="python"

DEPENDS="python"
BUILD_DEPENDS="python python-dev"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*} 2>/dev/null | \
    sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    python setup.py install --root="$DESTDIR" --prefix=/usr
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/usr $fs
}
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)