wok-next diff httpie/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents a3c581bf52b8
children
line diff
     1.1 --- a/httpie/receipt	Fri Aug 10 12:53:17 2018 +0300
     1.2 +++ b/httpie/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -1,26 +1,23 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="httpie"
     1.8  VERSION="0.8.0"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="HTTPie is a command line HTTP client, a user-friendly cURL replacement"
    1.11 +SHORT_DESC="Command line HTTP client, a user-friendly cURL replacement"
    1.12  MAINTAINER="al.bobylev@gmail.com"
    1.13  LICENSE="BSD"
    1.14  WEB_SITE="https://httpie.org/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17  WGET_URL="https://github.com/jakubroztocil/$PACKAGE/archive/$VERSION.tar.gz"
    1.18  
    1.19 -DEPENDS="python-requests python-pygments"
    1.20  BUILD_DEPENDS="python"
    1.21  
    1.22 -# Rules to configure and make the package.
    1.23 -compile_rules()
    1.24 -{
    1.25 -	python setup.py install --no-compile --root=$install
    1.26 +compile_rules() {
    1.27 +	python -B setup.py install --root=$install
    1.28  }
    1.29  
    1.30 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 -genpkg_rules()
    1.32 -{
    1.33 +genpkg_rules() {
    1.34  	cp -a $install/* $fs
    1.35 +	DEPENDS="python-requests python-pygments"
    1.36  }