27 lines
876 B
Bash
27 lines
876 B
Bash
# Template file for 'httpie'
|
|
pkgname=httpie
|
|
version=2.1.0
|
|
revision=1
|
|
archs=noarch
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-setuptools python3-requests python3-Pygments"
|
|
short_desc="Human-friendly command line HTTP client"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://httpie.org/"
|
|
changelog="https://raw.githubusercontent.com/jakubroztocil/httpie/master/CHANGELOG.rst"
|
|
distfiles="https://github.com/jakubroztocil/httpie/archive/${version}.tar.gz"
|
|
checksum=aea482da09341a3d205761d828c7125884c9d0eb77a53cd4d2e6042e4670182b
|
|
|
|
post_install() {
|
|
vinstall extras/httpie-completion.bash 644 usr/share/bash-completion/completions http
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-httpie_package() {
|
|
archs=noarch
|
|
build_style=meta
|
|
short_desc+=" (transitional dummy package)"
|
|
depends="httpie>=${version}_${revision}"
|
|
}
|