SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg

Receipt for package "python-requests"

# SliTaz package receipt.

PACKAGE="python-requests"
VERSION="2.27.1"
CATEGORY="network"
SHORT_DESC="Python HTTP Requests for Humans."
MAINTAINER="al.bobylev@gmail.com"
LICENSE="Apache"
WEB_SITE="https://pypi.org/project/requests/"
REPOLOGY="python:requests"

SOURCE="requests"
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 python-setuptools"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||"
}

# Rules to configure and make the package.
compile_rules()
{
    python setup.py install --no-compile --root=$install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    lib
}
6011 packages and 861680 files in cooking database (Sun Jul 27 00:47:25 2025)