SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "python-cffi"

# SliTaz package receipt.

PACKAGE="python-cffi"
VERSION="1.15.1"
CATEGORY="development"
SHORT_DESC="C Foreign Function Interface for Python."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="MIT"
WEB_SITE="https://pypi.org/project/cffi/"
REPOLOGY="python:cffi"

SOURCE="cffi"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$SOURCE-$VERSION.tar.gz"

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

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed '/html#v/!d;s|.*>v||;s|<.*||;q'
}

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

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    lib
}
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)