SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "python-cherrypy"

# SliTaz package receipt.

PACKAGE="python-cherrypy"
VERSION="3.1.2" # Fix to this version for turbogears.
CATEGORY="development"
SHORT_DESC="CherryPy is a pythonic, object-oriented HTTP framework."
MAINTAINER="pankso@slitaz.org"
LICENSE="BSD"
SOURCE="CherryPy"
TARBALL="$SOURCE-$VERSION.tar.gz"
WEB_SITE="https://www.cherrypy.org/"
WGET_URL="https://files.pythonhosted.org/packages/source/C/CherryPy/$TARBALL"
TAGS="python"

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

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/cherrypy/cherrypy/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v*\(.*\).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 205261 files in current database (Tue Jun 11 00:01:12 2024)