wok annotate python-requests/receipt @ rev 25638

Up tinyssh (20240101 CVE-2023-48795)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 05 10:31:44 2024 +0000 (5 months ago)
parents 076f424196b2
children
rev   line source
al@16776 1 # SliTaz package receipt.
al@16776 2
al@16776 3 PACKAGE="python-requests"
Hans-G?nter@25233 4 VERSION="2.27.1"
al@16776 5 CATEGORY="network"
Hans-G?nter@23553 6 SHORT_DESC="Python HTTP Requests for Humans."
al@16776 7 MAINTAINER="al.bobylev@gmail.com"
pascal@17345 8 LICENSE="Apache"
Hans-G?nter@23553 9 WEB_SITE="https://pypi.org/project/requests/"
Hans-G?nter@25233 10 REPOLOGY="python:requests"
Hans-G?nter@23553 11
Hans-G?nter@23553 12 SOURCE="requests"
al@16776 13 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@23554 14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$SOURCE-$VERSION.tar.gz"
al@16776 15
al@16776 16 DEPENDS="python"
Hans-G?nter@23553 17 BUILD_DEPENDS="python python-setuptools"
al@16776 18
pascal@24383 19 # What is the latest version available today?
pascal@24288 20 current_version()
pascal@24288 21 {
pascal@24383 22 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||"
pascal@24288 23 }
pascal@24288 24
pascal@24288 25 # Rules to configure and make the package.
al@16776 26 compile_rules()
al@16776 27 {
al@16776 28 python setup.py install --no-compile --root=$install
al@16776 29 }
al@16776 30
al@16776 31 # Rules to gen a SliTaz package suitable for Tazpkg.
al@16776 32 genpkg_rules()
al@16776 33 {
Hans-G?nter@25233 34 cook_copy_folders lib
al@16776 35 }