wok annotate python-requests/receipt @ rev 24288
fail2ban: add log4j-jndi.conf
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 13 18:29:05 2022 +0000 (2022-01-13) |
parents | 89d3440a509c |
children | 076f424196b2 |
rev | line source |
---|---|
al@16776 | 1 # SliTaz package receipt. |
al@16776 | 2 |
al@16776 | 3 PACKAGE="python-requests" |
Hans-Günter@23553 | 4 VERSION="2.23.0" |
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@23553 | 10 |
Hans-Günter@23553 | 11 SOURCE="requests" |
al@16776 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-Günter@23554 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$SOURCE-$VERSION.tar.gz" |
al@16776 | 14 |
al@16776 | 15 DEPENDS="python" |
Hans-Günter@23553 | 16 BUILD_DEPENDS="python python-setuptools" |
al@16776 | 17 |
pascal@24288 | 18 current_version() |
pascal@24288 | 19 { |
pascal@24288 | 20 wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' |
pascal@24288 | 21 } |
pascal@24288 | 22 |
pascal@24288 | 23 # Rules to configure and make the package. |
al@16776 | 24 # Rules to configure and make the package. |
al@16776 | 25 compile_rules() |
al@16776 | 26 { |
al@16776 | 27 python setup.py install --no-compile --root=$install |
al@16776 | 28 } |
al@16776 | 29 |
al@16776 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@16776 | 31 genpkg_rules() |
al@16776 | 32 { |
Hans-Günter@23553 | 33 cp -a $install/* $fs |
al@16776 | 34 } |