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 '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;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
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)