wok annotate httpie/receipt @ rev 24091

get-pcem-roms: version less
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 17 19:56:00 2021 +0000 (2021-07-17)
parents 4484d051fe78
children 241fb98cab1c
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@24055 19 wget -O - ${WGET_URL%/arch*}/releases 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 }