wok-6.x view python-requests/receipt @ rev 25233

updated python-requests (2.23.0 -> 2.27.1)
author Hans-G?nter Theisgen
date Wed Jul 13 17:27:05 2022 +0100 (2022-07-13)
parents 076f424196b2
children
line source
1 # SliTaz package receipt.
3 PACKAGE="python-requests"
4 VERSION="2.27.1"
5 CATEGORY="network"
6 SHORT_DESC="Python HTTP Requests for Humans."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="Apache"
9 WEB_SITE="https://pypi.org/project/requests/"
10 REPOLOGY="python:requests"
12 SOURCE="requests"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$SOURCE-$VERSION.tar.gz"
16 DEPENDS="python"
17 BUILD_DEPENDS="python python-setuptools"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||"
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 python setup.py install --no-compile --root=$install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cook_copy_folders lib
35 }