SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "twisted"

# SliTaz package receipt.

PACKAGE="twisted"
VERSION="20.3.0"
CATEGORY="network"
SHORT_DESC="Event-driven networking for internet applications."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://github.com/twisted/twisted"

SOURCE="Twisted"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WGET_URL="https://pypi.python.org/packages/source/T/Twisted/$TARBALL"

DEPENDS="python-attrs python-constantly python-incremental zopeinterface"
BUILD_DEPENDS="python python-dev python-incremental python-pip 
    python-setuptools zopeinterface"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/twisted/twisted/releases 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 build &&
    python setup.py install --root=$DESTDIR
}

# 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)