wok view httpie/receipt @ rev 24263
updated perl-time-hires (1.9760 -> 1.9764)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 10:20:35 2022 +0100 (2022-01-02) |
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 }