SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "httpie"

# SliTaz package receipt.

PACKAGE="httpie"
VERSION="2.0.0"
CATEGORY="network"
SHORT_DESC="A command line HTTP client, a user-friendly cURL replacement."
MAINTAINER="al.bobylev@gmail.com"
LICENSE="BSD"
WEB_SITE="https://httpie.org/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/jakubroztocil/$PACKAGE/archive/$VERSION.tar.gz"

DEPENDS="python-pygments python-requests"
BUILD_DEPENDS="python-setuptools"

current_version()
{
    wget -O - https://github.com/httpie/httpie/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    python setup.py install --no-compile --root=$install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/*    $fs
}
5935 packages and 845883 files in cooking database (Sun Jun 30 00:45:24 2024)