wok-current view httpie/receipt @ rev 24319

Add xsuspend
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 25 17:24:16 2022 +0000 (2022-01-25)
parents 4484d051fe78
children 241fb98cab1c
line source
1 # SliTaz package receipt.
3 PACKAGE="httpie"
4 VERSION="2.0.0"
5 CATEGORY="network"
6 SHORT_DESC="A command line HTTP client, a user-friendly cURL replacement."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://httpie.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/jakubroztocil/$PACKAGE/archive/$VERSION.tar.gz"
14 DEPENDS="python-pygments python-requests"
15 BUILD_DEPENDS="python-setuptools"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 python setup.py install --no-compile --root=$install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/* $fs
33 }