28 lines
814 B
Bash
28 lines
814 B
Bash
# Template file for 'httpie'
|
|
pkgname=httpie
|
|
version=1.0.3
|
|
revision=1
|
|
archs=noarch
|
|
build_style=python3-module
|
|
pycompile_module="httpie"
|
|
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/"
|
|
distfiles="https://github.com/jakubroztocil/httpie/archive/${version}.tar.gz"
|
|
checksum=ecfb1ecdfd1468100bd9ffecebe1bea6d7d72c72149ea91f3d0112dc8ef03c7a
|
|
|
|
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}"
|
|
}
|