SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "python-restclient"

# SliTaz package receipt.

PACKAGE="python-restclient"
SOURCE="py-restclient"
VERSION="1.3.2"
CATEGORY="development"
SHORT_DESC="A simple REST client for python"
MAINTAINER="claudinei@slitaz.org"
DEPENDS="python python-httplib2"
BUILD_DEPENDS="python python-dev setuptools"
TARBALL="$VERSION.gz"
WEB_SITE="http://bitbucket.org/benoitc/$SOURCE"
WGET_URL="$WEB_SITE/get/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    python setup.py install --root=$PWD/_pkg
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
    mkdir -p $fs/usr
    rm -f $_pkg/usr/lib/$PYTHON_LIB/site-packages/tests/*
    rmdir $_pkg/usr/lib/$PYTHON_LIB/site-packages/tests
    cp -a $_pkg/usr $fs
}

3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)