wok annotate httpie/receipt @ rev 24513
updated elfkickers (3.1 -> 3.2)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Feb 21 10:48:33 2022 +0100 (2022-02-21) |
parents | 5ea0ce1cecc0 |
children |
rev | line source |
---|---|
al@16776 | 1 # SliTaz package receipt. |
al@16776 | 2 |
al@16776 | 3 PACKAGE="httpie" |
Hans-G?nter@22934 | 4 VERSION="2.0.0" |
al@16776 | 5 CATEGORY="network" |
Hans-G?nter@22934 | 6 SHORT_DESC="A command line HTTP client, a user-friendly cURL replacement." |
al@16776 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@16776 | 8 LICENSE="BSD" |
pascal@20669 | 9 WEB_SITE="https://httpie.org/" |
Hans-G?nter@21037 | 10 |
al@16776 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@16776 | 12 WGET_URL="https://github.com/jakubroztocil/$PACKAGE/archive/$VERSION.tar.gz" |
al@16776 | 13 |
Hans-G?nter@22934 | 14 DEPENDS="python-pygments python-requests" |
pascal@21580 | 15 BUILD_DEPENDS="python-setuptools" |
al@16776 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24453 | 19 wget -O - https://github.com/httpie/httpie/tags 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
al@16776 | 23 # Rules to configure and make the package. |
al@16776 | 24 compile_rules() |
al@16776 | 25 { |
al@16776 | 26 python setup.py install --no-compile --root=$install |
al@16776 | 27 } |
al@16776 | 28 |
al@16776 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@16776 | 30 genpkg_rules() |
al@16776 | 31 { |
Hans-G?nter@22934 | 32 cp -a $install/* $fs |
al@16776 | 33 } |