wok-6.x annotate httpie/receipt @ rev 21580
Use python-setuptools as bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 19 19:07:20 2019 +0200 (2019-05-19) |
parents | 766666b48ea1 |
children | 4484d051fe78 |
rev | line source |
---|---|
al@16776 | 1 # SliTaz package receipt. |
al@16776 | 2 |
al@16776 | 3 PACKAGE="httpie" |
Hans-G?nter@21037 | 4 VERSION="1.0.2" |
al@16776 | 5 CATEGORY="network" |
Hans-G?nter@21037 | 6 SHORT_DESC="HTTPie is 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 |
pascal@21580 | 14 DEPENDS="python-requests python-pygments" |
pascal@21580 | 15 BUILD_DEPENDS="python-setuptools" |
al@16776 | 16 |
al@16776 | 17 # Rules to configure and make the package. |
al@16776 | 18 compile_rules() |
al@16776 | 19 { |
al@16776 | 20 python setup.py install --no-compile --root=$install |
al@16776 | 21 } |
al@16776 | 22 |
al@16776 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@16776 | 24 genpkg_rules() |
al@16776 | 25 { |
al@16776 | 26 cp -a $install/* $fs |
al@16776 | 27 } |